<?php
$_page_title = "Quotation List";
$_main_root = '../';
$print = false;
include($_main_root . 'content/shared/header.php');

if (!Permission(2)) {
    return;
}
?>

<style>
    .d-flex .input-group{
        width: auto;
    }
</style>

<!-- modal -->
<div id="modalDiv"></div>

<div class="container container-fluid">
    <div class="my-4 d-flex justify-content-between align-items-center">
        <h2 style="color:var(--s-text-color);">QUOTATION LIST</h2>
        <div class="d-flex">
            <div class="input-group">
                <button class="btn btn-sm btn-outline-success fw-bold" id="year-month-btn">YEAR MONTH GROUP</button>
                <button class="btn btn-sm btn-outline-success fw-bold" id="all-btn">ALL QUOTATION</button>
            </div>
            <div>
                <a href="cust_quotation.php" class="btn btn-sm btn-outline-info fw-bold ms-2" target="_blank">
                    <i class="bi bi-plus-circle me-2"></i> NEW QUOTATION
                </a>
            </div>
        </div>
    </div>

    <div class="row my-4">
        <div class="card bg-dark" style="border-color: var(--s-text-color);">
            <div class="card-body text-white">
                <div class="d-flex justify-content-between align-items-center">
                    <label id="reportTitle" for="" class="form-label fw-bold"
                        style="color:var(--s-text-color-1)">...</label>
                    <div>
                        <div class="input-group" id="right-btn-section">

                        </div>
                    </div>
                </div>

                <hr class="">

                <div id="reportBody"></div>
            </div>
        </div>
    </div>
</div>

<?php $s_scripts = ['cust_quotation_list']; ?>
<?php include($_main_root . 'content/shared/footer.php'); ?>