This commit is contained in:
Flatlogic Bot 2025-10-16 12:24:26 +00:00
parent 82d9057d01
commit 0e7e15ad6d
5 changed files with 477 additions and 155 deletions

206
bunks.php Normal file
View File

@ -0,0 +1,206 @@
<?php
session_start();
require_once 'db/config.php';
$notification = null;
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['add_bunk'])) {
$name = trim($_POST['name']);
$owner = trim($_POST['owner']);
$contact = trim($_POST['contact']);
$location = trim($_POST['location']);
if (!empty($name)) {
try {
$db = db();
$stmt = $db->prepare("INSERT INTO bunks (name, owner, contact, location) VALUES (?, ?, ?, ?)");
$stmt->execute([$name, $owner, $contact, $location]);
$_SESSION['notification'] = ['text' => 'Bunk added successfully!', 'type' => 'success'];
} catch (PDOException $e) {
$_SESSION['notification'] = ['text' => 'Error adding bunk: ' . $e->getMessage(), 'type' => 'danger'];
}
} else {
$_SESSION['notification'] = ['text' => 'Bunk name is required.', 'type' => 'warning'];
}
header("Location: bunks.php");
exit;
}
if (isset($_SESSION['notification'])) {
$notification = $_SESSION['notification'];
unset($_SESSION['notification']);
}
try {
$db = db();
$stmt = $db->query("SELECT id, name, owner, contact, location, created_at FROM bunks ORDER BY created_at DESC");
$bunks = $stmt->fetchAll();
} catch (PDOException $e) {
$bunks = [];
$notification = ['text' => 'Error fetching bunks: ' . $e->getMessage(), 'type' => 'danger'];
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bunk Management</title>
<meta name="description" content="Manage your fuel bunks efficiently. Built with Flatlogic Generator.">
<meta name="keywords" content="fuel bunk management, petrol pump software, inventory, sales tracking, flatlogic">
<meta property="og:title" content="Bunk Management">
<meta property="og:description" content="Manage your fuel bunks efficiently. Built with Flatlogic Generator.">
<meta property="og:image" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
<style>
body {
background-color: #f8f9fa;
}
.navbar {
background: linear-gradient(to right, #0d6efd, #0dcaf0);
}
.toast-container {
z-index: 1080;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark shadow-sm">
<div class="container">
<a class="navbar-brand" href="index.php">Bunk Admin</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.php">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="bunks.php">Bunks</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container mt-4">
<div class="d-flex justify-content-between align-items-center mb-3">
<h1 class="h2">Bunk Management</h1>
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#addBunkModal">
<i class="bi bi-plus-circle me-1"></i> Add New Bunk
</button>
</div>
<div class="card shadow-sm">
<div class="card-body">
<div class="table-responsive">
<table class="table table-hover align-middle">
<thead class="table-light">
<tr>
<th>Name</th>
<th>Owner</th>
<th>Contact</th>
<th>Location</th>
<th>Created</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php if (empty($bunks)): ?>
<tr>
<td colspan="6" class="text-center text-muted">No bunks found. Add one to get started!</td>
</tr>
<?php else: ?>
<?php foreach ($bunks as $bunk): ?>
<tr>
<td><?= htmlspecialchars($bunk['name']) ?></td>
<td><?= htmlspecialchars($bunk['owner']) ?></td>
<td><?= htmlspecialchars($bunk['contact']) ?></td>
<td><?= htmlspecialchars($bunk['location']) ?></td>
<td><?= date('d M, Y', strtotime($bunk['created_at'])) ?></td>
<td>
<button class="btn btn-sm btn-outline-secondary"><i class="bi bi-pencil"></i></button>
<button class="btn btn-sm btn-outline-danger"><i class="bi bi-trash"></i></button>
</td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Add Bunk Modal -->
<div class="modal fade" id="addBunkModal" tabindex="-1" aria-labelledby="addBunkModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<form action="bunks.php" method="POST">
<div class="modal-header">
<h5 class="modal-title" id="addBunkModalLabel">Add New Bunk</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3">
<label for="name" class="form-label">Bunk Name*</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="mb-3">
<label for="owner" class="form-label">Owner</label>
<input type="text" class="form-control" id="owner" name="owner">
</div>
<div class="mb-3">
<label for="contact" class="form-label">Contact</label>
<input type="text" class="form-control" id="contact" name="contact">
</div>
<div class="mb-3">
<label for="location" class="form-label">Location</label>
<textarea class="form-control" id="location" name="location" rows="3"></textarea>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="submit" name="add_bunk" class="btn btn-primary">Save Bunk</button>
</div>
</form>
</div>
</div>
</div>
<!-- Toast Notification -->
<div class="position-fixed bottom-0 end-0 p-3 toast-container">
<div id="notificationToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<strong class="me-auto">Notification</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body">
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
<?php if ($notification): ?>
const toastEl = document.getElementById('notificationToast');
const toastBody = toastEl.querySelector('.toast-body');
toastEl.classList.remove('bg-success', 'bg-danger', 'bg-warning');
toastEl.classList.add('bg-<?= $notification['type'] ?>', 'text-white');
toastBody.textContent = '<?= addslashes(htmlspecialchars($notification['text'])) ?>';
const toast = new bootstrap.Toast(toastEl);
toast.show();
<?php endif; ?>
});
</script>
</body>
</html>

View File

@ -1,17 +1,31 @@
<?php
// Generated by setup_mariadb_project.sh — edit as needed.
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'app_30953');
define('DB_USER', 'app_30953');
define('DB_PASS', 'e45f2778-db1f-450c-99c6-29efb4601472');
define('PROJECT_ROOT', dirname(__DIR__));
function db() {
static $pdo;
if (!$pdo) {
$pdo = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8mb4', DB_USER, DB_PASS, [
if ($pdo) {
return $pdo;
}
$host = getenv('DB_HOST') ?: '127.0.0.1';
$port = getenv('DB_PORT') ?: '3306';
$dbname = getenv('DB_NAME') ?: 'app';
$user = getenv('DB_USER') ?: 'app';
$pass = getenv('DB_PASS') ?: 'app';
$dsn = "mysql:host={$host};port={$port};dbname={$dbname};charset=utf8mb4";
$options = [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
}
PDO::ATTR_EMULATE_PREPARES => false,
];
try {
$pdo = new PDO($dsn, $user, $pass, $options);
return $pdo;
} catch (PDOException $e) {
throw new PDOException($e->getMessage(), (int)$e->getCode());
}
}

View File

@ -0,0 +1,149 @@
-- Bunks
CREATE TABLE IF NOT EXISTS bunks (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
owner VARCHAR(255),
contact VARCHAR(50),
location TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- Users and Roles
CREATE TABLE IF NOT EXISTS users (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(100) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL,
role ENUM('Superadmin', 'Manager', 'Attendant', 'Accountant') NOT NULL,
bunk_id INT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE SET NULL
);
-- Fuel Types
CREATE TABLE IF NOT EXISTS fuel_types (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(50) NOT NULL UNIQUE,
unit VARCHAR(20) DEFAULT 'Litre'
);
-- Tanks
CREATE TABLE IF NOT EXISTS tanks (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
bunk_id INT NOT NULL,
fuel_type_id INT NOT NULL,
capacity DECIMAL(10,2) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE,
FOREIGN KEY (fuel_type_id) REFERENCES fuel_types(id)
);
-- Pumps
CREATE TABLE IF NOT EXISTS pumps (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
bunk_id INT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE
);
-- Nozzles (each nozzle belongs to a pump and draws from a tank)
CREATE TABLE IF NOT EXISTS nozzles (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
pump_id INT NOT NULL,
tank_id INT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (pump_id) REFERENCES pumps(id) ON DELETE CASCADE,
FOREIGN KEY (tank_id) REFERENCES tanks(id) ON DELETE CASCADE
);
-- Price History (fuel pricing)
CREATE TABLE IF NOT EXISTS price_history (
id INT AUTO_INCREMENT PRIMARY KEY,
fuel_type_id INT NOT NULL,
bunk_id INT NOT NULL,
price DECIMAL(10,2) NOT NULL,
date DATE NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY bunk_fuel_date (bunk_id, fuel_type_id, date),
FOREIGN KEY (fuel_type_id) REFERENCES fuel_types(id),
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE
);
-- Tank Readings (daily, per tank, unique per date)
CREATE TABLE IF NOT EXISTS tank_readings (
id INT AUTO_INCREMENT PRIMARY KEY,
tank_id INT NOT NULL,
date DATE NOT NULL,
opening DECIMAL(10,2) NOT NULL,
receipts DECIMAL(10,2) DEFAULT 0,
closing DECIMAL(10,2) DEFAULT 0,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY tank_date_unique (tank_id, date),
FOREIGN KEY (tank_id) REFERENCES tanks(id) ON DELETE CASCADE
);
-- Daily Sales (per nozzle)
CREATE TABLE IF NOT EXISTS day_sales (
id INT AUTO_INCREMENT PRIMARY KEY,
nozzle_id INT NOT NULL,
bunk_id INT NOT NULL,
date DATE NOT NULL,
opening_reading DECIMAL(10,2) NOT NULL,
closing_reading DECIMAL(10,2) NOT NULL,
testing DECIMAL(10,2) DEFAULT 0,
net_sale DECIMAL(10,2) GENERATED ALWAYS AS (closing_reading - opening_reading - testing) STORED,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
UNIQUE KEY nozzle_date_unique (nozzle_id, date),
FOREIGN KEY (nozzle_id) REFERENCES nozzles(id) ON DELETE CASCADE,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE
);
-- Fuel Purchases / Receipts
CREATE TABLE IF NOT EXISTS fuel_receipts (
id INT AUTO_INCREMENT PRIMARY KEY,
bunk_id INT NOT NULL,
supplier VARCHAR(255),
invoice_number VARCHAR(100),
fuel_type_id INT NOT NULL,
quantity DECIMAL(10,2) NOT NULL,
rate DECIMAL(10,2) NOT NULL,
amount DECIMAL(10,2) NOT NULL,
date DATE NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE,
FOREIGN KEY (fuel_type_id) REFERENCES fuel_types(id)
);
-- Credit Customers
CREATE TABLE IF NOT EXISTS credit_customers (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
contact VARCHAR(50),
bunk_id INT NOT NULL,
credit_limit DECIMAL(10,2) DEFAULT 0,
outstanding_balance DECIMAL(10,2) DEFAULT 0,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE
);
-- Credit Sales
CREATE TABLE IF NOT EXISTS credit_sales (
id INT AUTO_INCREMENT PRIMARY KEY,
bunk_id INT NOT NULL,
customer_id INT NOT NULL,
date DATE NOT NULL,
fuel_type_id INT NOT NULL,
quantity DECIMAL(10,2) NOT NULL,
rate DECIMAL(10,2) NOT NULL,
amount DECIMAL(10,2) NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE,
FOREIGN KEY (customer_id) REFERENCES credit_customers(id),
FOREIGN KEY (fuel_type_id) REFERENCES fuel_types(id)
);
-- Expenses
CREATE TABLE IF NOT EXISTS expenses (
id INT AUTO_INCREMENT PRIMARY KEY,
bunk_id INT NOT NULL,
category VARCHAR(100) NOT NULL,
amount DECIMAL(10,2) NOT NULL,
description TEXT,
payment_mode VARCHAR(50),
date DATE NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (bunk_id) REFERENCES bunks(id) ON DELETE CASCADE
);
-- Add a Superadmin User
INSERT IGNORE INTO users (name, email, password, role) VALUES
('Superadmin', 'admin@example.com', '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', 'Superadmin'); -- password = "password"

11
db/setup.php Normal file
View File

@ -0,0 +1,11 @@
<?php
require_once __DIR__ . '/config.php';
try {
$db = db();
$sql = file_get_contents(__DIR__ . '/migrations/001_initial_schema.sql');
$db->exec($sql);
echo "Database schema created successfully.";
} catch (PDOException $e) {
die("Database setup failed: " . $e->getMessage());
}

208
index.php
View File

@ -1,150 +1,92 @@
<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
require_once 'db/config.php';
?>
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>New Style</title>
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<?php if ($projectDescription): ?>
<!-- Meta description -->
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bunk Admin Dashboard</title>
<meta name="description" content="Admin dashboard for fuel bunk management. Built with Flatlogic Generator.">
<meta name="keywords" content="dashboard, fuel bunk, admin panel, flatlogic">
<meta property="og:title" content="Bunk Admin Dashboard">
<meta property="og:description" content="Admin dashboard for fuel bunk management. Built with Flatlogic Generator.">
<meta property="og:image" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" rel="stylesheet">
<style>
:root {
--bg-color-start: #6a11cb;
--bg-color-end: #2575fc;
--text-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.01);
--card-border-color: rgba(255, 255, 255, 0.1);
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
background-color: #f8f9fa;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
animation: bg-pan 20s linear infinite;
z-index: -1;
.navbar {
background: linear-gradient(to right, #0d6efd, #0dcaf0);
}
@keyframes bg-pan {
0% { background-position: 0% 0%; }
100% { background-position: 100% 100%; }
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.loader {
margin: 1.25rem auto 1.25rem;
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hint {
opacity: 0.9;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; border: 0;
}
h1 {
.card-icon {
font-size: 3rem;
font-weight: 700;
margin: 0 0 1rem;
letter-spacing: -1px;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
}
code {
background: rgba(0,0,0,0.2);
padding: 2px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
opacity: 0.7;
opacity: 0.6;
}
</style>
</head>
<body>
<main>
<div class="card">
<h1>Analyzing your requirements and generating your website…</h1>
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
<span class="sr-only">Loading…</span>
<nav class="navbar navbar-expand-lg navbar-dark shadow-sm">
<div class="container">
<a class="navbar-brand" href="index.php">Bunk Admin</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="index.php">Dashboard</a>
</li>
<li class="nav-item">
<a class="nav-link" href="bunks.php">Bunks</a>
</li>
</ul>
</div>
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
<p class="hint">This page will update automatically as the plan is implemented.</p>
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
</div>
</main>
<footer>
Page updated: <?= htmlspecialchars($now) ?> (UTC)
</footer>
</nav>
<div class="container mt-4">
<h1 class="h2 mb-3">Dashboard</h1>
<div class="row">
<div class="col-md-4">
<div class="card text-center shadow-sm h-100">
<div class="card-body">
<i class="bi bi-fuel-pump card-icon"></i>
<h5 class="card-title mt-3">Bunk Management</h5>
<p class="card-text">Add, edit, and manage your fuel bunks.</p>
<a href="bunks.php" class="btn btn-primary">Go to Bunks</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card text-center text-secondary bg-light shadow-sm h-100">
<div class="card-body">
<i class="bi bi-people card-icon"></i>
<h5 class="card-title mt-3">User Management</h5>
<p class="card-text">Manage users and roles (coming soon).</p>
<a href="#" class="btn btn-secondary disabled">Go to Users</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card text-center text-secondary bg-light shadow-sm h-100">
<div class="card-body">
<i class="bi bi-graph-up card-icon"></i>
<h5 class="card-title mt-3">Sales Reports</h5>
<p class="card-text">View daily and monthly sales data (coming soon).</p>
<a href="#" class="btn btn-secondary disabled">Go to Reports</a>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>