<?php require_once __DIR__ . '/../includes/auth.php'; requireLogin(['admin','staff']); ?>
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Expenses</title><link rel="stylesheet" href="../assets/style.css"></head><body>
<div class="layout"><aside class="sidebar"><div class="brand">SHAHANA VEGitables<small>Expenses</small></div><nav class="nav"><a href="dashboard.php">Dashboard</a><a href="items.php">Items</a><a href="billing.php">Billing</a><a class="active" href="expenses.php">Expenses</a><a href="users.php">Staff & Customers</a><a href="reports.php">Reports</a></nav></aside>
<main class="main"><div class="topbar"><h1>Expenses</h1></div><div class="grid grid-2"><div class="card"><h3>Add Expense</h3><form><label>Expense Title</label><input type="text" placeholder="Electricity bill"><label>Category</label><select><option>Electricity</option><option>Salary</option><option>Transport</option><option>Rent</option><option>Other</option></select><label>Amount</label><input type="number" step="0.01"><label>Date</label><input type="date"><button class="btn btn-primary" type="button">Save Expense</button></form></div><div class="card"><h3>Date Filter</h3><form><label>From</label><input type="date"><label>To</label><input type="date"><button class="btn btn-secondary" type="button">Filter</button></form></div></div></main></div></body></html>
