<?php $__env->startSection('content'); ?>
<?php
use App\Models\DefaultDataShowHide;
$Def=DefaultDataShowHide::orderBy('id','desc')->first();
?>
  <title><?php echo e(trans('admin.NetPurchases')); ?></title>
  
  <style>
    .over-flow{
        overflow:auto;
    }
    .table-width{
        width:200%;
    }
    @media  print{
        .over-flow{
        overflow:visible;
    }
    .table-width{
        width:100%;
    }
    }
</style>

    <main id="js-page-content" role="main" class="page-content">
                    <ol class="breadcrumb page-breadcrumb no-print">
                        <li class="breadcrumb-item"><a href="javascript:void(0);"> <?php echo e(trans('admin.Reports')); ?> </a></li>
                        <li class="breadcrumb-item active"><?php echo e(trans('admin.NetPurchases')); ?> </li>
                        <li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
                    </ol>
                    <div class="subheader">
                    
                    </div>
                    <div class="row">
                        <div class="col-xl-12">
                            <div id="panel-1" class="panel">
                                <div class="panel-hdr">
                                    <h2>
                                        <span class="fw-300"><i>  <?php echo e(trans('admin.NetPurchases')); ?></i></span>
                                    </h2>

                                    <div class="panel-toolbar">
                                          <button class="btn btn-sm btn-primary waves-effect waves-themed" onclick="window.print()" style="margin-left:3px"><i class="fal fa-print"></i> <?php echo e(trans('admin.Print')); ?></button>
                                        <button class="btn btn-primary btn-sm mx-3" data-toggle="dropdown">Table Style</button>
                                        <div
                                            class="dropdown-menu dropdown-menu-animated dropdown-menu-right position-absolute pos-top">
                                            <button class="dropdown-item active" data-action="toggle"
                                                data-class="table-bordered" data-target="#dt-basic-example"> Bordered
                                                Table </button>
                                            <button class="dropdown-item" data-action="toggle" data-class="table-sm"
                                                data-target="#dt-basic-example"> Smaller Table </button>
                                            <button class="dropdown-item" data-action="toggle" data-class="table-dark"
                                                data-target="#dt-basic-example"> Table Dark </button>
                                            <button class="dropdown-item active" data-action="toggle"
                                                data-class="table-hover" data-target="#dt-basic-example"> Table Hover
                                            </button>
                                            <button class="dropdown-item active" data-action="toggle"
                                                data-class="table-stripe" data-target="#dt-basic-example"> Table
                                                Stripped </button>
                                            <div class="dropdown-divider m-0"></div>
                                            <div class="dropdown-multilevel dropdown-multilevel-left">
                                                <div class="dropdown-item">
                                                    tbody color
                                                </div>
                                                <div class="dropdown-menu no-transition-delay">
                                                    <div class="js-tbody-colors dropdown-multilevel dropdown-multilevel-left d-flex flex-wrap"
                                                        style="width: 15.9rem; padding: 0.5rem">
                                                        <a href="javascript:void(0);" data-bg="bg-primary-100"
                                                            class="btn d-inline-block bg-primary-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-200"
                                                            class="btn d-inline-block bg-primary-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-300"
                                                            class="btn d-inline-block bg-primary-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-400"
                                                            class="btn d-inline-block bg-primary-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-500"
                                                            class="btn d-inline-block bg-primary-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-600"
                                                            class="btn d-inline-block bg-primary-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-700"
                                                            class="btn d-inline-block bg-primary-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-800"
                                                            class="btn d-inline-block bg-primary-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-900"
                                                            class="btn d-inline-block bg-primary-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-100"
                                                            class="btn d-inline-block bg-success-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-200"
                                                            class="btn d-inline-block bg-success-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-300"
                                                            class="btn d-inline-block bg-success-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-400"
                                                            class="btn d-inline-block bg-success-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-500"
                                                            class="btn d-inline-block bg-success-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-600"
                                                            class="btn d-inline-block bg-success-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-700"
                                                            class="btn d-inline-block bg-success-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-800"
                                                            class="btn d-inline-block bg-success-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-900"
                                                            class="btn d-inline-block bg-success-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-100"
                                                            class="btn d-inline-block bg-info-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-200"
                                                            class="btn d-inline-block bg-info-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-300"
                                                            class="btn d-inline-block bg-info-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-400"
                                                            class="btn d-inline-block bg-info-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-500"
                                                            class="btn d-inline-block bg-info-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-600"
                                                            class="btn d-inline-block bg-info-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-700"
                                                            class="btn d-inline-block bg-info-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-800"
                                                            class="btn d-inline-block bg-info-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-900"
                                                            class="btn d-inline-block bg-info-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-100"
                                                            class="btn d-inline-block bg-danger-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-200"
                                                            class="btn d-inline-block bg-danger-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-300"
                                                            class="btn d-inline-block bg-danger-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-400"
                                                            class="btn d-inline-block bg-danger-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-500"
                                                            class="btn d-inline-block bg-danger-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-600"
                                                            class="btn d-inline-block bg-danger-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-700"
                                                            class="btn d-inline-block bg-danger-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-800"
                                                            class="btn d-inline-block bg-danger-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-900"
                                                            class="btn d-inline-block bg-danger-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-100"
                                                            class="btn d-inline-block bg-warning-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-200"
                                                            class="btn d-inline-block bg-warning-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-300"
                                                            class="btn d-inline-block bg-warning-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-400"
                                                            class="btn d-inline-block bg-warning-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-500"
                                                            class="btn d-inline-block bg-warning-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-600"
                                                            class="btn d-inline-block bg-warning-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-700"
                                                            class="btn d-inline-block bg-warning-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-800"
                                                            class="btn d-inline-block bg-warning-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-900"
                                                            class="btn d-inline-block bg-warning-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-100"
                                                            class="btn d-inline-block bg-fusion-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-200"
                                                            class="btn d-inline-block bg-fusion-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-300"
                                                            class="btn d-inline-block bg-fusion-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-400"
                                                            class="btn d-inline-block bg-fusion-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-500"
                                                            class="btn d-inline-block bg-fusion-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-600"
                                                            class="btn d-inline-block bg-fusion-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-700"
                                                            class="btn d-inline-block bg-fusion-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-800"
                                                            class="btn d-inline-block bg-fusion-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-900"
                                                            class="btn d-inline-block bg-fusion-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg=""
                                                            class="btn d-inline-block bg-white border width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="dropdown-multilevel dropdown-multilevel-left">
                                                <div class="dropdown-item">
                                                    thead color
                                                </div>
                                                <div class="dropdown-menu no-transition-delay">
                                                    <div class="js-thead-colors dropdown-multilevel dropdown-multilevel-left d-flex flex-wrap"
                                                        style="width: 15.9rem; padding: 0.5rem">
                                                        <a href="javascript:void(0);" data-bg="bg-primary-100"
                                                            class="btn d-inline-block bg-primary-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-200"
                                                            class="btn d-inline-block bg-primary-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-300"
                                                            class="btn d-inline-block bg-primary-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-400"
                                                            class="btn d-inline-block bg-primary-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-500"
                                                            class="btn d-inline-block bg-primary-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-600"
                                                            class="btn d-inline-block bg-primary-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-700"
                                                            class="btn d-inline-block bg-primary-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-800"
                                                            class="btn d-inline-block bg-primary-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-primary-900"
                                                            class="btn d-inline-block bg-primary-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-100"
                                                            class="btn d-inline-block bg-success-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-200"
                                                            class="btn d-inline-block bg-success-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-300"
                                                            class="btn d-inline-block bg-success-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-400"
                                                            class="btn d-inline-block bg-success-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-500"
                                                            class="btn d-inline-block bg-success-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-600"
                                                            class="btn d-inline-block bg-success-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-700"
                                                            class="btn d-inline-block bg-success-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-800"
                                                            class="btn d-inline-block bg-success-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-success-900"
                                                            class="btn d-inline-block bg-success-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-100"
                                                            class="btn d-inline-block bg-info-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-200"
                                                            class="btn d-inline-block bg-info-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-300"
                                                            class="btn d-inline-block bg-info-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-400"
                                                            class="btn d-inline-block bg-info-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-500"
                                                            class="btn d-inline-block bg-info-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-600"
                                                            class="btn d-inline-block bg-info-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-700"
                                                            class="btn d-inline-block bg-info-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-800"
                                                            class="btn d-inline-block bg-info-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-info-900"
                                                            class="btn d-inline-block bg-info-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-100"
                                                            class="btn d-inline-block bg-danger-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-200"
                                                            class="btn d-inline-block bg-danger-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-300"
                                                            class="btn d-inline-block bg-danger-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-400"
                                                            class="btn d-inline-block bg-danger-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-500"
                                                            class="btn d-inline-block bg-danger-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-600"
                                                            class="btn d-inline-block bg-danger-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-700"
                                                            class="btn d-inline-block bg-danger-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-800"
                                                            class="btn d-inline-block bg-danger-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-danger-900"
                                                            class="btn d-inline-block bg-danger-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-100"
                                                            class="btn d-inline-block bg-warning-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-200"
                                                            class="btn d-inline-block bg-warning-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-300"
                                                            class="btn d-inline-block bg-warning-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-400"
                                                            class="btn d-inline-block bg-warning-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-500"
                                                            class="btn d-inline-block bg-warning-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-600"
                                                            class="btn d-inline-block bg-warning-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-700"
                                                            class="btn d-inline-block bg-warning-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-800"
                                                            class="btn d-inline-block bg-warning-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-warning-900"
                                                            class="btn d-inline-block bg-warning-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-100"
                                                            class="btn d-inline-block bg-fusion-100 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-200"
                                                            class="btn d-inline-block bg-fusion-200 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-300"
                                                            class="btn d-inline-block bg-fusion-300 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-400"
                                                            class="btn d-inline-block bg-fusion-400 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-500"
                                                            class="btn d-inline-block bg-fusion-500 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-600"
                                                            class="btn d-inline-block bg-fusion-600 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-700"
                                                            class="btn d-inline-block bg-fusion-700 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-800"
                                                            class="btn d-inline-block bg-fusion-800 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg="bg-fusion-900"
                                                            class="btn d-inline-block bg-fusion-900 width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                        <a href="javascript:void(0);" data-bg=""
                                                            class="btn d-inline-block bg-white border width-2 height-2 p-0 rounded-0"
                                                            style="margin:1px"></a>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>

                                </div>
                                <div class="panel-container show">
                                    <div class="panel-content">
                                        
                                              <form action="<?php echo e(url('NetPurchasesFilterTwo')); ?>" method="get">
                                        
                                 
                                    <div class="form-row">  
                                   <div class="form-group col-md-2 col-4">
                     <label class="form-label" for="simpleinput"><?php echo e(trans('admin.From')); ?></label><span class="strick">*</span>
                                                <input type="date"  value="<?php echo e(date('Y-m-d')); ?>" id="From" name="From" class="form-control" required>
                                            </div>
                                            <div class="form-group col-md-2 col-4">
            <label class="form-label" for="simpleinput"><?php echo e(trans('admin.To')); ?></label><span class="strick">*</span>
                                                <input type="date" value="<?php echo e(date('Y-m-d')); ?>"  id="To" name="To" class="form-control" required>
                                            </div>
                                     <div class="form-group col-md-2 col-4">
                                                <label class="form-label" for="">  <?php echo e(trans('admin.Account')); ?> </label>
                                                <select class="select2 form-control w-100" id="Vendor" name="Vendor">
                                          <option value=""> <?php echo e(trans('admin.Account')); ?></option>            
                                           <?php $__currentLoopData = $Vendors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vend): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($vend->id); ?>">
                                         <?php echo e(app()->getLocale() == 'ar' ?$vend->Name :$vend->NameEn); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                                </select>
                                            </div>
                      <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">  <?php echo e(trans('admin.Coin')); ?> </label>
                                                <select class="select2 form-control w-100" id="Coin" name="Coin">
                     <option value=""> <?php echo e(trans('admin.Coin')); ?></option>
                                            <?php $__currentLoopData = $Coins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $coin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($coin->id); ?>">
                                        <?php echo e(app()->getLocale() == 'ar' ?$coin->Arabic_Name :$coin->English_Name); ?> 
                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                                </select>
                                            </div>
                                            <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">  <?php echo e(trans('admin.Safe')); ?> </label>
                                                <select class="select2 form-control w-100" id="Safe" name="Safe">
                                             <option value=""> <?php echo e(trans('admin.Safe')); ?></option>
                                            <?php $__currentLoopData = $Safes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $safe): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($safe->id); ?>">
                                                    <?php echo e(app()->getLocale() == 'ar' ?$safe->Name :$safe->NameEn); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>   
                                                </select>
                                            </div>
                                        <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">   <?php echo e(trans('admin.Payment_Method')); ?> </label>
                                                <select class="select2 form-control w-100" id="Payment_Method" name="Payment_Method">
                                                   <option value=""> <?php echo e(trans('admin.Account')); ?></option>     
                                                 <option value="Cash"><?php echo e(trans('admin.Cash')); ?> </option>
                                                <option value="Later"><?php echo e(trans('admin.Later')); ?></option>
                                                <option value="Check"><?php echo e(trans('admin.Check')); ?></option>
                                                </select>
                                            </div>
                                 <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">   <?php echo e(trans('admin.Cost_Center')); ?> </label>
                                                <select class="select2 form-control w-100" id="Cost_Center" name="Cost_Center">
                                 
                                                <option value=""> <?php echo e(trans('admin.Cost_Center')); ?></option>     
                                            <?php $__currentLoopData = $CostCenters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cost): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($cost->id); ?>">
                              
                                            <?php echo e(app()->getLocale() == 'ar' ?$cost->Arabic_Name :$cost->English_Name); ?>             
                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>              
                                                </select>
                                            </div>
                                            <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">  <?php echo e(trans('admin.Delegate')); ?>  </label>
                                                <select class="select2 form-control w-100" id="Delegate" name="Delegate">
                                                    <option value=""> <?php echo e(trans('admin.Delegate')); ?></option>      
                                                 <?php $__currentLoopData = $Employess; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $emp): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($emp->id); ?>">
                                                            <?php echo e(app()->getLocale() == 'ar' ?$emp->Name :$emp->NameEn); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                                </select>
                                            </div>
                                          <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">  <?php echo e(trans('admin.User')); ?>  </label>
                                                <select class="select2 form-control w-100" id="User" name="User">
                                                    <option value=""> <?php echo e(trans('admin.User')); ?></option>      
                                                 <?php $__currentLoopData = $Users; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>    
                                                <option value="<?php echo e($user->id); ?>">
                                                 <?php echo e(app()->getLocale() == 'ar' ?$user->name :$user->nameEn); ?>

                                                </option>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>  
                                                </select>
                                            </div>  
                                        <div class="form-group col-lg-2 no-print">
                  <label class="form-label" for="">  <?php echo e(trans('admin.Group')); ?>  </label>
                              <select class="select2 form-control w-100" id="group" name="group">
                               <option value=""><?php echo e(trans('admin.Group')); ?></option>
                                                                <?php $__currentLoopData = $ItemsGroups; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $group): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                          <option value="<?php echo e($group->id); ?>">
                                  
                                     <?php echo e(app()->getLocale() == 'ar' ?$group->Name :$group->NameEn); ?>

                                  </option>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                            </select>
                                            </div> 
                 <div class="form-group col-lg-2 no-print">
                  <label class="form-label" for="">  <?php echo e(trans('admin.Stores')); ?>  </label>
                              <select class="select2 form-control w-100" id="Store" name="Store">
                               <option value=""><?php echo e(trans('admin.Stores')); ?></option>
                                                                <?php $__currentLoopData = $Stores; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $store): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                          <option value="<?php echo e($store->id); ?>">
                                  
                                     <?php echo e(app()->getLocale() == 'ar' ?$store->Name :$store->NameEn); ?>

                                  </option>
                                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                            </select>
                                            </div> 
                                 <div class="form-group col-md-2 no-print">
                                                <label class="form-label" for="">   <?php echo e(trans('admin.Type')); ?> </label>
                                                <select class="select2 form-control w-100" id="Type" name="Type">
                                                   <option value=""> <?php echo e(trans('admin.Type')); ?></option>     
                                                 <option value="مشتريات"><?php echo e(trans('admin.Purchases')); ?> </option>
                                                <option value="مرتجع مشتريات"> <?php echo e(trans('admin.Return_Purchases')); ?></option>
                                                </select>
                                            </div>
                                            <div class="form-group col-lg-2 no-print">
                                      <label class="form-label" for="simpleinput"><?php echo e(trans('admin.Code')); ?> </label>
                                                <input type="text" id="Code" class="form-control" name="Code">
                                            </div>            

                <div class="form-group col-lg-12 no-print">
                                            <div class="input-items position-re">
                       <input type="text" id="search" class="form-control" name="search" placeholder="<?php echo e(trans('admin.Search_For_Products')); ?>">
                                    
                                      <?php if(app()->getLocale() == 'ar' ): ?>
                     <i class="fal fa-barcode-alt" style="position:absolute ;top:5px;left:3px;"></i>
                      <?php else: ?>
                            <i class="fal fa-barcode-alt" style="position:absolute ;top:5px;right: 0;left:auto;"></i>
                      <?php endif; ?>
                                            </div>
                                         </div>
                                      
                                             <div class="form-group col-lg-1 no-print" style="padding: 22px;">
            
                    <button type="submit" class="btn btn-primary"><i class="fal fa-search"></i></button>                        
    
                                        </div>            
                                        </div>  
                                                  
                                        </form>
                                        <!-- datatable start -->
                                        
                                        <div class="over-flow">
                                        <table id="X"
                                            class="table table-bordered table-hover table-striped table-width">
                                            <thead class="bg-highlight">
                                                <tr>
                                                    <th><?php echo e(trans('admin.Date')); ?> </th>
                                                    <th><?php echo e(trans('admin.Bill_Num')); ?> </th>
                                                              <?php if($Def->Refrence_Number_Print == 1): ?>
                                                    <th><?php echo e(trans('admin.Refernce_Number')); ?> </th>
                                                    <?php else: ?>
                                                     <th class="no-print"><?php echo e(trans('admin.Refernce_Number')); ?> </th>
                                                    <?php endif; ?>
                                                       <?php if($Def->Code_Report == 1): ?>
                                                    <th><?php echo e(trans('admin.Code')); ?> </th>
                                                    <?php else: ?>
                                                     <th class="no-print"><?php echo e(trans('admin.Code')); ?> </th>
                                                    <?php endif; ?>
                                                    <th><?php echo e(trans('admin.Name')); ?> </th>
                                                                   <?php if($Def->Unit == 1): ?>
                                                    <th><?php echo e(trans('admin.Unit')); ?> </th>
                                                    <?php else: ?>
                                                     <th class="no-print"><?php echo e(trans('admin.Unit')); ?> </th>
                                                    <?php endif; ?> 
                                                    <th class="no-print"><?php echo e(trans('admin.Group')); ?> </th>
                                                    <th><?php echo e(trans('admin.Price')); ?> </th>
                                                    <th><?php echo e(trans('admin.Qty')); ?> </th>
                                                    <th><?php echo e(trans('admin.Total')); ?> </th>
                                                    <th><?php echo e(trans('admin.Total_Return')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Delegate')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Coin')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Cost_Center')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Safe')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Store')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Type')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.Payment_Method')); ?> </th>
                                                    <th class="no-print"><?php echo e(trans('admin.User')); ?> </th>
                                                </tr>
                                            </thead>
                                            <tbody class="Data">

                                                
                                            </tbody>
                                        </table>
                                        </div>
                                        <div class="panel-content">
                                            <div id="mobile-overflow">
                                        <table class="table table-bordered table-hover table-striped w-100 mt-4 mobile-width">
                                            <tbody>
                                                <tr>
                                                    <td> <?php echo e(trans('admin.Total_Bill_Num')); ?> </td>
                                                    <td  id="BILLNUMS"></td>
                                                    <td> <?php echo e(trans('admin.Total_Purch')); ?></td>
                                                    <td  id="TOTALPURCH"></td>
                                                     <td> <?php echo e(trans('admin.Total_Return_Purch')); ?></td>
                                                    <td  id="TOTALRETURN"></td>
                                                </tr>
                                                <tr>
                  <td style="text-align: center; font-size: 200%; " colspan="2"><?php echo e(trans('admin.NetPurchases')); ?>  </td>
                  <td style="text-align: center; font-size: 200%;" colspan="2" id="NetPurchases"></td>
                                                  
                                                   
                                                </tr>
                                            </tbody>
                                        </table>
                                        </div>
                                    </div>
                                        <!-- datatable end -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </main>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('js'); ?>
   <link rel="stylesheet" media="screen, print" href="<?php echo e(asset('Admin/css/datagrid/datatables/datatables.bundle.css')); ?>">
    <link rel="stylesheet" media="screen, print" href="<?php echo e(asset('Admin/css/formplugins/select2/select2.bundle.css')); ?>">

    <script src="<?php echo e(asset('Admin/js/datagrid/datatables/datatables.export.js')); ?>"></script>
    <script src="<?php echo e(asset('Admin/js/datagrid/datatables/datatables.bundle.js')); ?>"></script>
    <script src="<?php echo e(asset('Admin/js/formplugins/select2/select2.bundle.js')); ?>"></script>
    <script>
        $(document).ready(function()
        {
            $(function()
            {
                $('.select2').select2();

                $(".select2-placeholder-multiple").select2(
                {
                    placeholder: "Select State"
                });
                $(".js-hide-search").select2(
                {
                    minimumResultsForSearch: 1 / 0
                });
                $(".js-max-length").select2(
                {
                    maximumSelectionLength: 2,
                    placeholder: "Select maximum 2 items"
                });
                $(".select2-placeholder").select2(
                {
                    placeholder: "Select a state",
                    allowClear: true
                });

                $(".js-select2-icons").select2(
                {
                    minimumResultsForSearch: 1 / 0,
                    templateResult: icon,
                    templateSelection: icon,
                    escapeMarkup: function(elm)
                    {
                        return elm
                    }
                });

                function icon(elm)
                {
                    elm.element;
                    return elm.id ? "<i class='" + $(elm.element).data("icon") + " mr-2'></i>" + elm.text : elm.text
                }

                $(".js-data-example-ajax").select2(
                {
                    ajax:
                    {
                        url: "https://api.github.com/search/repositories",
                        dataType: 'json',
                        delay: 250,
                        data: function(params)
                        {
                            return {
                                q: params.term, // search term
                                page: params.page
                            };
                        },
                        processResults: function(data, params)
                        {
                            // parse the results into the format expected by Select2
                            // since we are using custom formatting functions we do not need to
                            // alter the remote JSON data, except to indicate that infinite
                            // scrolling can be used
                            params.page = params.page || 1;

                            return {
                                results: data.items,
                                pagination:
                                {
                                    more: (params.page * 30) < data.total_count
                                }
                            };
                        },
                        cache: true
                    },
                    placeholder: 'Search for a repository',
                    escapeMarkup: function(markup)
                    {
                        return markup;
                    }, // let our custom formatter work
                    minimumInputLength: 1,
                    templateResult: formatRepo,
                    templateSelection: formatRepoSelection
                });

                function formatRepo(repo)
                {
                    if (repo.loading)
                    {
                        return repo.text;
                    }

                    var markup = "<div class='select2-result-repository clearfix d-flex'>" +
                        "<div class='select2-result-repository__avatar mr-2'><img src='" + repo.owner.avatar_url + "' class='width-2 height-2 mt-1 rounded' /></div>" +
                        "<div class='select2-result-repository__meta'>" +
                        "<div class='select2-result-repository__title fs-lg fw-500'>" + repo.full_name + "</div>";

                    if (repo.description)
                    {
                        markup += "<div class='select2-result-repository__description fs-xs opacity-80 mb-1'>" + repo.description + "</div>";
                    }

                    markup += "<div class='select2-result-repository__statistics d-flex fs-sm'>" +
                        "<div class='select2-result-repository__forks mr-2'><i class='fal fa-lightbulb'></i> " + repo.forks_count + " Forks</div>" +
                        "<div class='select2-result-repository__stargazers mr-2'><i class='fal fa-star'></i> " + repo.stargazers_count + " Stars</div>" +
                        "<div class='select2-result-repository__watchers mr-2'><i class='fal fa-eye'></i> " + repo.watchers_count + " Watchers</div>" +
                        "</div>" +
                        "</div></div>";

                    return markup;
                }

                function formatRepoSelection(repo)
                {
                    return repo.full_name || repo.text;
                }
            });
        });

    </script>
    <script>
        //_fnFeatureHtmlLength();
        $(document).ready(function () {
            // Setup - add a text input to each footer cell
            $('#dt-basic-example thead tr').clone(true).appendTo('#dt-basic-example thead');
            $('#dt-basic-example thead tr:eq(1) th').each(function (i) {
                var title = $(this).text();
                $(this).html('<input type="text" class="form-control form-control-sm" placeholder="Search ' + title + '" />');
                

                $('input', this).on('keyup change', function () {
                    if (table.column(i).search() !== this.value) {
                        table
                            .column(i)
                            .search(this.value)
                            .draw();
                    }
                });
            });
            var table = $('#dt-basic-example').DataTable(
                {
                    // responsive: true,
                    orderCellsTop: true,
                    fixedHeader: true,
                    lengthChange: true,

                    dom: "<'row mb-3'<'col-sm-12 col-md-3 d-flex align-items-center justify-content-start'f><'col-sm-12 col-md-9 d-flex align-items-center justify-content-end'B>>" +
                        "<'row'<'col-sm-12'tr>>" +
                        "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",

                    buttons: [
                        {
                            extend: 'pageLength',
                            className: 'btn-outline-default'
                        },
                        {
                            extend: 'colvis',
                            text: 'Column Visibility',
                            titleAttr: 'Col visibility',
                            className: 'btn-outline-default'
                        },
                        {
                            extend: 'pdfHtml5',
                            text: 'PDF',
                            titleAttr: 'Generate PDF',
                            className: 'btn-outline-danger btn-sm mr-1'
                        },
                        {
                            extend: 'excelHtml5',
                            text: 'Excel',
                            titleAttr: 'Generate Excel',
                            className: 'btn-outline-success btn-sm mr-1'
                        },
                        {
                            extend: 'csvHtml5',
                            text: 'CSV',
                            titleAttr: 'Generate CSV',
                            className: 'btn-outline-primary btn-sm mr-1'
                        },
                        {
                            extend: 'copyHtml5',
                            text: 'Copy',
                            titleAttr: 'Copy to clipboard',
                            className: 'btn-outline-primary btn-sm mr-1'
                        },
                        {
                            extend: 'print',
                            text: 'Print',
                            titleAttr: 'Print Table',
                            className: 'btn-outline-primary btn-sm'
                        }
                    ],
                });
            $('.js-thead-colors a').on('click', function () {
                var theadColor = $(this).attr("data-bg");
                console.log(theadColor);
                $('#dt-basic-example thead').removeClassPrefix('bg-').addClass(theadColor);
            });

            $('.js-tbody-colors a').on('click', function () {
                var theadColor = $(this).attr("data-bg");
                console.log(theadColor);
                $('#dt-basic-example').removeClassPrefix('bg-').addClass(theadColor);
            });

        });

    </script>

<!--  Filter Products
<script>
   $(document).ready(function(){
   
    fetch_customer_data();
   
    function fetch_customer_data(search = '',From = '',To = '',Vendor = '',Coin = '',Safe = '',Payment_Method = '',Cost_Center = '',Delegate = '',User = '',group = '',Store = '',Type = '',Code = '')
    {  
     $.ajax({
      url:'NetPurchasesFilter',
      method:'GET',
      data:{search:search,From:From,To:To,Vendor:Vendor,Coin:Coin,Safe:Safe,Payment_Method:Payment_Method,Cost_Center:Cost_Center,Delegate:Delegate,User:User,group:group,Store:Store,Type:Type,Code:Code},
      dataType:'json',
      success:function(data)
      {
     
       $('.Data').html(data.table_data);

    $.fn.rowCount = function() {
     return $('tr', $(this).find('tbody')).length;
   };
   
   var rowctr = $('#X').rowCount();     
     
       var sumQ = 0;        
   $('.Tot').each(function(){
   sumQ += parseFloat($(this).val());
   });   
            
    var sumT = 0;        
   $('.TotR').each(function(){
   sumT += parseFloat($(this).val());
   });        
    
          
        var x = parseFloat(sumQ) + parseFloat(sumT) ;  
    $('#BILLNUMS').text(parseFloat(rowctr));
   $('#TOTALPURCH').text(parseFloat(x));    
   $('#TOTALRETURN').text(parseFloat(sumT));    
   $('#NetPurchases').text(parseFloat(x) - parseFloat(sumT));    
        
    
          
      }
     })
    }
    
   $(document).on('keyup', '#search', function(){
     var search = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });
    
    $(document).on('keyup', '#Code', function(){
     var Code = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var search = $('#search').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });  
       
    $(document).on('change', '#Type', function(){
     var Type = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var search = $('#search').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
       
     $(document).on('change', '#Store', function(){
     var Store = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var search = $('#search').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
       
     $(document).on('change', '#group', function(){
     var group = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var search = $('#search').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
      
     $(document).on('change', '#User', function(){
     var User = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var search = $('#search').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
       
    $(document).on('change', '#Delegate', function(){
     var Delegate = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var search = $('#search').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });
      
    $(document).on('change', '#Cost_Center', function(){
     var Cost_Center = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var search = $('#search').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
     
    $(document).on('change', '#Payment_Method', function(){
     var Payment_Method = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var search = $('#search').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
    
    $(document).on('change', '#Safe', function(){
     var Safe = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var search = $('#search').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });

    $(document).on('change', '#Coin', function(){
     var Coin = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var search = $('#search').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });  
       
    $(document).on('change', '#Vendor', function(){
     var Vendor = $(this).val();      
     var From = $('#From').val();      
     var To = $('#To').val();      
     var search = $('#search').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });
       
    $(document).on('change', '#To', function(){
     var To = $(this).val();      
     var From = $('#From').val();      
     var search = $('#search').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });
       
    $(document).on('change', '#From', function(){
     var From = $(this).val();      
     var search = $('#search').val();      
     var To = $('#To').val();      
     var Vendor = $('#Vendor').val();      
     var Coin = $('#Coin').val();      
     var Safe = $('#Safe').val();      
     var Payment_Method = $('#Payment_Method').val();      
     var Cost_Center = $('#Cost_Center').val();      
     var Delegate = $('#Delegate').val();      
     var User = $('#User').val();      
     var group = $('#group').val();      
     var Store = $('#Store').val();      
     var Type = $('#Type').val();      
     var Code = $('#Code').val();      
     fetch_customer_data(search,From,To,Vendor,Coin,Safe,Payment_Method,Cost_Center,Delegate,User,group,Store,Type,Code);
    });   
       
   });
</script>
 -->
<?php $__env->stopPush(); ?>
<?php echo $__env->make('admin.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/laravel/ERP/resources/views/admin/Reports/NetPurchases.blade.php ENDPATH**/ ?>