<?php

include "../../classes/app.class.php";
$app = new app();
?>

<div class='container flex_container'>
    <h1 class='h1_size'>QUOTES</h1>
    <hr>
    <div class='container flex_container_content'>
        <?php if ($_SESSION['user_type'] == '2') { ?>
            <button class='block_buttons' onclick="window.location.href='stock_verified.php';">STOCK</button>

        <?php }
        if ($_SESSION['user_type'] == '1') { ?>
            <button class='block_buttons' onclick="window.location.href='add_quote.php';">NEW</button>
            <button class='block_buttons' onclick="window.location.href='search_quote.php';">SEARCH</button>
            <button class='block_buttons' onclick="window.location.href='admin_verified.php';">ADMIN</button>
            <button class='block_buttons' onclick="window.location.href='approvals.php';">APPR.</button>
        <?php } ?>
        <!-- <button class='block_buttons' onclick="window.location.href='quote.pdf.php';">PDF</button> -->
    </div>
</div>