<?php
// *************************************************************************
// *                                                                       *
// * DEPRIXA BASIC -  Freight Forwarding & Shipping Software Solutions     *
// * Copyright (c) JAOMWEB. All Rights Reserved                            *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * Email: support@jaom.info                                              *
// * Website: https://deprixa.link/documentation/                          *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * This software is furnished under a license and may be used and copied *
// * only  in  accordance  with  the  terms  of such  license and with the *
// * inclusion of the above copyright notice.                              *
// * If you Purchased from Codecanyon, Please read the full License from   *
// * here- http://codecanyon.net/licenses/standard                         *
// *                                                                       *
// *************************************************************************



$userData = $user->cdp_getUserData();

?>
<!DOCTYPE html>
<html dir="ltr" lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title><?php echo $lang['report-general01'] ?> | <?php echo $core->site_name ?></title>
    <?php include 'views/inc/head_scripts.php'; ?>

</head>

<body>
    <!-- ============================================================== -->
    <!-- Preloader - style you can find in spinners.css -->
    <!-- ============================================================== -->


    <?php include 'views/inc/preloader.php'; ?>
    <!-- ============================================================== -->
    <!-- Main wrapper - style you can find in pages.scss -->
    <!-- ============================================================== -->
    <div id="main-wrapper">
        <!-- ============================================================== -->
        <!-- Topbar header - style you can find in pages.scss -->
        <!-- ============================================================== -->

        <!-- ============================================================== -->
        <!-- Preloader - style you can find in spinners.css -->
        <!-- ============================================================== -->

        <?php include 'views/inc/topbar.php'; ?>

        <!-- End Topbar header -->


        <!-- Left Sidebar - style you can find in sidebar.scss  -->

        <?php include 'views/inc/left_sidebar.php'; ?>


        <!-- End Left Sidebar - style you can find in sidebar.scss  -->

        <!-- Page wrapper  -->
        <!-- ============================================================== -->
        <div class="page-wrapper">

            <div class="page-breadcrumb">
                <div class="row">
                    <div class="col-5 align-self-center">
                        <h4 class="page-title"> <?php echo $lang['report-general01'] ?></h4>

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

            <!-- Action part -->
            <!-- Button group part -->
            <div class="bg-light p-15">
                <div class="row justify-content-center">
                    <div class="col-md-12">
                        <div class="row">
                            <div class="col-12">
                                <!-- <div id="loader" style="display:none"></div> -->
                                <div id="resultados_ajax"></div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- Action part -->


            <div class="container-fluid">

                <!-- ============================================================== -->
                <!-- REPORTS GENERALS 1 -->
                <!-- ============================================================== -->
                <div class="row">

                    <!-- SHIPMENT -->
                    <div class="col-sm-12 col-lg-6">
                        <div class="card">
                            <div class="card-body">
                                <!-- title -->
                                <div class="d-md-flex align-items-center">
                                    <div>
                                        <h4 class="card-title"><span class="display-7"><i class="mdi mdi-package-variant" style="color:#9B9B8C"></i></span> <?php echo $lang['report-general08'] ?></h4>
                                        <h5 class="card-subtitle"><span class=""><i class="ti ti-angle-double-right"></i></span> <?php echo $lang['report-general09'] ?></h5>
                                    </div>

                                </div>
                                <!-- title -->
                                <table class="tablesaw table-hover table no-border">
                                    <tbody>

                                        <tr>
                                            <td class="title"><a class="link" href="report_general.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#00D900"></i> <?php echo $lang['report-general010'] ?></a></td>
                                        </tr>

                                        <?php if ($user->userlevel == 9 || $user->userlevel == 2) { ?>

                                            <tr>
                                                <td class="title"><a class="link" href="report_customer.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#00D900"></i> <?php echo $lang['report-general011'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_employees.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#00D900"></i> <?php echo $lang['report-general012'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_agency.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#00D900"></i> <?php echo $lang['report-general013'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_driver_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#00D900"></i> <?php echo $lang['report-general014'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_shipment_cencel_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#FF4000"></i> <?php echo $lang['report-general037'] ?></a></td>
                                            </tr>
                                        <?php
                                        }

                                        ?>

                                    </tbody>
                                </table>

                            </div>
                        </div>
                    </div>
                    <!-- SHIPMENT -->

                    <!-- CONSOLIDATE -->
                    <div class="col-sm-12 col-lg-6">
                        <div class="card">
                            <div class="card-body">
                                <!-- title -->
                                <div class="d-md-flex align-items-center">
                                    <div>
                                        <h4 class="card-title"><span class="display-7"><i class="fas fas fa-boxes" style="color:#9B9B8C"></i></span> <?php echo $lang['report-general022'] ?></h4>
                                        <h5 class="card-subtitle"><span class=""><i class="ti ti-angle-double-right"></i></span> <?php echo $lang['report-general023'] ?></h5>
                                    </div>

                                </div>
                                <!-- title -->
                                <table class="tablesaw table-hover table no-border">
                                    <tbody>

                                        <tr>
                                            <td class="title"><a class="link" href="report_consolidate_general_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#3F61FB"></i> <?php echo $lang['report-general024'] ?></a></td>
                                        </tr>

                                        <?php if ($user->userlevel == 9 || $user->userlevel == 2) { ?>

                                            <tr>
                                                <td class="title"><a class="link" href="report_consolidate_customers_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#3F61FB"></i> <?php echo $lang['report-general025'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_consolidate_employees_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#3F61FB"></i> <?php echo $lang['report-general026'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_consolidate_agency_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#3F61FB"></i> <?php echo $lang['report-general027'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_consolidate_driver_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#3F61FB"></i> <?php echo $lang['report-general028'] ?></a></td>
                                            </tr>

                                        <?php
                                        }

                                        ?>

                                    </tbody>
                                </table>

                            </div>
                        </div>
                    </div>
                    <!-- CONSOLIDATE-->
                </div>
                <!-- ============================================================== -->
                <!-- REPORT GENERALS 1 -->
                <!-- ============================================================== -->



                <!-- ============================================================== -->
                <!-- REPORTS GENERALS 2 -->
                <!-- ============================================================== -->
                <?php if ($user->userlevel == 9 || $user->userlevel == 2) { ?>
                    <div class="row">
                        <!-- ACCOUNTS RECEIVABLE -->
                        <div class="col-sm-12 col-lg-6">
                            <div class="card">
                                <div class="card-body">
                                    <!-- title -->
                                    <div class="d-md-flex align-items-center">
                                        <div>
                                            <h4 class="card-title"><span class="display-7"><i class="mdi mdi-chart-line" style="color:#9B9B8C"></i></span> <?php echo $lang['report-general029'] ?></h4>
                                            <h5 class="card-subtitle"><span class=""><i class="ti ti-angle-double-right"></i></span> <?php echo $lang['report-general030'] ?></h5>
                                        </div>

                                    </div>
                                    <!-- title -->
                                    <table class="tablesaw table-hover table no-border">
                                        <tbody>

                                            <tr>
                                                <td class="title"><a class="link" href="report_customers_balance_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#8F5FEC"></i> <?php echo $lang['report-general031'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_summary_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#8F5FEC"></i> <?php echo $lang['report-general032'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_summary_consolidate_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#8F5FEC"></i> <?php echo $lang['report-general032con'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td class="title"><a class="link" href="report_payments_received_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#8F5FEC"></i> <?php echo $lang['report-general033'] ?></a></td>
                                            </tr>

                                        </tbody>
                                    </table>

                                </div>
                            </div>
                        </div>
                        <!-- ACCOUNTS RECEIVABLE-->


                        <!-- MANIFEST LIST -->
                        <div class="col-sm-12 col-lg-6">
                            <div class="card">
                                <div class="card-body">
                                    <!-- title -->
                                    <div class="d-md-flex align-items-center">
                                        <div>
                                            <h4 class="card-title"><span class="display-7"><i class="fas fa-people-carry" style="color:#9B9B8C"></i></span> <?php echo $lang['report-general034'] ?></h4>
                                            <h5 class="card-subtitle"><span class=""><i class="ti ti-angle-double-right"></i></span> <?php echo $lang['report-general035'] ?></h5>
                                        </div>

                                    </div>
                                    <!-- title -->
                                    <table class="tablesaw table-hover table no-border">
                                        <tbody>

                                            <tr>
                                                <td class="title"><a class="link" href="report_summary_manifest_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#E93449"></i> <?php echo $lang['report-general036'] ?></a></td>
                                            </tr>
                                            <tr>
                                                <td class="title"><a class="link" href="report_summary_manifest_consolidate_list.php"><i data-feather="chevrons-right" class="feather-icon" style="color:#E93449"></i> <?php echo $lang['report-general036con'] ?></a></td>
                                            </tr>

                                            <tr>
                                                <td></td>
                                            </tr>
                                            <br>
                                        </tbody>
                                    </table>

                                </div>
                            </div>
                        </div>
                        <!-- MANIFEST LIST-->
                    </div>
                <?php } ?>
                <!-- ============================================================== -->
                <!-- REPORT GENERAL 2 -->
                <!-- ============================================================== -->

            </div>


        </div>
        <?php include 'views/inc/footer.php'; ?>

    </div>
    </div>


</body>

</html>