<?php include '../../includes/header.php'; ?>

<style>

    html, body {
        height: 100%;
    }


    .dashboard-container {
        min-height: calc(100vh - 100px);
        padding-bottom: 20px;
    }


    footer {
        background-color: #f8f9fa;
        text-align: center;
        padding: 10px 0;
        position: relative;
        bottom: 0;
        width: 100%;
    }


    .card-hover {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
</style>

<div class="container dashboard-container">
    <h2 class="mb-4 text-center">Sales Assistant Dashboard</h2>


    <div class="row">

        <div class="col-md-3 mb-4">
            <a href="../sales/create_sale.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-primary">
                            <i class="fas fa-cash-register fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Record Sales</h5>
                        <p class="card-text">Record sales transactions for the branch.</p>
                    </div>
                </div>
            </a>
        </div>


        <div class="col-md-3 mb-4">
            <a href="../inventory/branch_stock.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-success">
                            <i class="fas fa-building fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">View Branch Stock</h5>
                        <p class="card-text">View all items currently in the branch.</p>
                    </div>
                </div>
            </a>
        </div>

        <div class="col-md-3 mb-4">
            <a href="../admin/mra_eis_site_products.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-info">
                            <i class="fas fa-receipt fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">EIS Stock</h5>
                        <p class="card-text">View approved EIS products for your branch terminal.</p>
                    </div>
                </div>
            </a>
        </div>



































        <div class="col-md-3 mb-4">
            <a href="../sales/list_quotations.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-warning">
                            <i class="fas fa-file-invoice-dollar fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Quotations</h5>
                        <p class="card-text">Create and manage price quotations for customers.</p>
                    </div>
                </div>
            </a>
        </div>



        <div class="col-md-3 mb-4">
            <a href="../laybuy_&_loans/laybuy_and_loans.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-info">
                            <i class="fas fa-hand-holding-usd fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Lay-Buys</h5>
                        <p class="card-text">View and manage lay-buys for your branch.</p>
                    </div>
                </div>
            </a>
        </div>


        <div class="col-md-3 mb-4">
            <a href="../services/index.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-success">
                            <i class="fas fa-tools fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Services</h5>
                        <p class="card-text">Record repair, installation, diagnostics, and EIS service invoices.</p>
                    </div>
                </div>
            </a>
        </div>

        <div class="col-md-3 mb-4">
            <a href="../orders/list_orders.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-primary">
                            <i class="fas fa-shopping-cart fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Orders</h5>
                        <p class="card-text">View and manage customer orders with advance payments.</p>
                    </div>
                </div>
            </a>
        </div>


        <div class="col-md-3 mb-4">
            <a href="../inventory/sold_items_branch.php" class="text-decoration-none">
                <div class="card text-center card-hover h-100">
                    <div class="card-body">
                        <div class="icon-circle bg-gradient-secondary">
                            <i class="fas fa-box-open fa-2x text-white"></i>
                        </div>
                        <h5 class="card-title mt-3">Sold Items</h5>
                        <p class="card-text">View all sold items for your branch.</p>
                    </div>
                </div>
            </a>
        </div>
















<footer>
    <p>&copy; <?php echo date('Y'); ?> Inventory Management System. All rights reserved.</p>
</footer>

<?php include '../../includes/footer.php'; ?>
</body>
</html>
