

<?php $__env->startSection('title'); ?>
    عرض عمليات الشراء
<?php $__env->stopSection(); ?>

<?php $__env->startSection('first-css'); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('header-content'); ?>
    عرض عمليات الشراء
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-body'); ?>
    <!--**********************************
                Content body start
            ***********************************-->
            <?php echo $__env->make('massages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


    <div class="container-fluid">
        <div class="d-flex flex-wrap align-items-center mb-3">
            <div class="mb-3 ms-auto">
                <div class="card-tabs style-1 mt-3 mt-sm-0">
                    <ul class="nav nav-tabs" role="tablist">
                        <li class="nav-item">
                            <a class="nav-link active" href="javascript:void(0);" data-bs-toggle="tab" id="transaction-tab"
                                data-bs-target="#All" role="tab">جميع المشتريات</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="javascript:void(0);" data-bs-toggle="tab" id="Completed-tab"
                                data-bs-target="#Petrol" role="tab">مشتريات البترول</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="javascript:void(0);" data-bs-toggle="tab" id="Pending-tab"
                                data-bs-target="#Diesel" role="tab">مشتريات الديزل</a>
                        </li>

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

            <div class="d-flex flex-wrap align-items-center mb-3" style="justify-content: flex-end;">
                <button type="button" class="btn btn-primary  me-1" data-bs-toggle="modal" data-bs-target="#new_buying">
                    <i class="mdi mdi-plus-circle ms-2"></i>شراء كمية جديدة
                </button>
            </div>
        </div>

        <!--**********************************
                   strat tables
                ***********************************-->
        <div class="row">
            <div class="col-xl-12 tab-content">
                <?php echo $__env->make('buying.tables.all', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make('buying.tables.petrol', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make('buying.tables.diesel', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make('confirm.confirm_transfer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make('toggle.toggle', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php echo $__env->make("registry.registry", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


            </div>
        </div>

        <!--**********************************
                   end tables
                ***********************************-->


        <!--**********************************
                   strat modals
                ***********************************-->

        <?php echo $__env->make('buying.modals.new', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php echo $__env->make('buying.modals.update', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>



        <!--**********************************
                   end modals
                ***********************************-->
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>

<script  src="<?php echo e(asset('/js/update/update-buying.js')); ?>"></script>
<script  src="<?php echo e(asset('/js/registry.js')); ?>"></script>

<script src="<?php echo e(asset('/js/selected/selected.js')); ?>"></script>

    <script src="<?php echo e(asset('/vendor/datatables/js/jquery.dataTables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('/js/plugins-init/datatables.init.js')); ?>"></script>
    <script src="<?php echo e(asset('/js/confirm/confirm.js')); ?>"></script>
    <script src="<?php echo e(asset('/js/validation/validationQuantity.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\Nasser\Desktop\petrol_store\resources\views/buying/list.blade.php ENDPATH**/ ?>