<!doctype html>
{% load static %}
<html lang="en"">
<head>
    <title>Accounting</title>
    <link href="{% static 'financial/css/material-dashboard.css' %}" rel="stylesheet" >
    <link rel="icon" type="image/xicon" href="{% static 'public/img/logo.png' %}">
<body class="g-sidenav-show bg-gray-200" >
    <div class="sidenav-header">
        <ul class="navbar-item">
            <li class="nav-item">
                Dashboard
            </li>
            <li class="nav-item">
                Settings
            </li>

        </ul>
    </div>
    <main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg">
        <nav class="navbar navbar-main navbar-expand-lg px-0 mx-4 shadow-none border-radius-xl" id="navbarBlur" data-scroll="true">
            <div class="container-fluid py-1 px-3">
                <nav aria-label="breadcrumb">
                    <h6>Dashboard</h6>
                </nav>
            </div>
        </nav>
        <div class="container-fluid py-4">
            <div class="row">
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                            <a href="{% url 'contracts' %}">
                                Contracts
                            </a>
                        </div>
                            
                        </div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% if is_worker %}
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                            <a href="{% url 'profile' %}">
                                Profile
                            </a>
                        </div>
                            
                        </div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% endif %}
                {% if is_worker %}
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                            <a href="{% url 'Timekeeping' %}">
                                Timekeeping
                            </a>
                        </div>
                            
                        </div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% endif %}
                {% if is_manager %}
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                            <a href="{% url 'Timeapproval' %}">
                                Time Approval
                            </a>
                        </div>
                        <div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% endif %}
                {% if is_procurment_officer %}
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                        </div>
                        <div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% endif %}
                {% if is_finance %}
                <div class="col-xl-3 col-sm-4 mb-xl-o mb-4">
                    <div class="card">
                        <div class="card-header p-3 pt-2">
                            <a href="{% url 'contracts' %}">
                                Contracts
                            </a>
                        </div>
                        <div class="card-body">
                            <p> put picture here</p>
                        </div>
                    </div>
                </div>
                {% endif %}
            </div>
        </div>
    </main>
    <h1>Accouting</h1>
</body>