<div class="card-header flex-wrap py-5">
    <div class="filter-toggle btn-group float-right" style="margin-bottom: 1rem;margin-left: auto;">
        <div class="btn btn-primary btn-sm today-btn data-btn mr-1" data-start_date="<?php echo e(date('Y-m-d')); ?>" data-end_date="<?php echo e(date('Y-m-d')); ?>">Today</div>
        <div class="btn btn-primary btn-sm yesterday-btn data-btn mr-1" data-start_date="<?php echo e(date('Y-m-d', strtotime('yesterday'))); ?>"
             data-end_date="<?php echo e(date('Y-m-d', strtotime('yesterday'))); ?>">Yesterday
        </div>
        <div class="btn btn-primary btn-sm week-btn data-btn mr-1" data-start_date="<?php echo e(date('Y-m-d',strtotime('-7 day'))); ?>" data-end_date="<?php echo e(date('Y-m-d')); ?>">
            This Week
        </div>
        <div class="btn btn-primary btn-sm month-btn data-btn mr-1" data-start_date="<?php echo e(date('Y-m').'-01'); ?>" data-end_date="<?php echo e(date('Y-m-d')); ?>">This Month</div>
        <div class="btn btn-primary btn-sm year-btn data-btn mr-1" data-start_date="<?php echo e(date('Y').'-01-01'); ?>" data-end_date="<?php echo e(date('Y').'-12-31'); ?>">This Year
        </div>
    </div>
    <form method="POST" id="form-filter" class="col-md-12 px-0">
        <div class="row">
            
            

            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.textbox','data' => ['labelName' => 'Search Here','name' => 'search_field','col' => 'col-md-3']]); ?>
<?php $component->withName('form.textbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Search Here','name' => 'search_field','col' => 'col-md-3']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

            <div class="form-group col-md-2.9 px-2">
                <label for="name">Choose Your Date</label>
                <div class="input-group">
                    <input type="text" class="form-control daterangepicker-filed">
                    <input type="hidden" id="start_date" name="start_date">
                    <input type="hidden" id="end_date" name="end_date">
                </div>
            </div>

            <?php if(Auth::user()->warehouse_id): ?>
                <input type="hidden" name="warehouse_id" id="warehouse_id"
                       value="<?php echo e(Auth::user()->warehouse_id); ?>">
            <?php else: ?>
                <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.selectbox','data' => ['labelName' => 'Showroom','name' => 'warehouse_id','col' => 'col-md-2.9','class' => 'selectpicker px-2']]); ?>
<?php $component->withName('form.selectbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Showroom','name' => 'warehouse_id','col' => 'col-md-2.9','class' => 'selectpicker px-2']); ?>
                    <?php if(!$warehouses->isEmpty()): ?>
                        <?php $__currentLoopData = $warehouses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($value->id); ?>"><?php echo e($value->name); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    <?php endif; ?>
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
            <?php endif; ?>
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            <input type="hidden"  id="delivery_status_tab" name="delivery_status_tab" value="1" />

            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.selectbox','data' => ['labelName' => 'Print Status Filter','name' => 'print_status','col' => 'col-md-2.9','class' => 'px-2']]); ?>
<?php $component->withName('form.selectbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Print Status Filter','name' => 'print_status','col' => 'col-md-2.9','class' => 'px-2']); ?>
                <option value="1">No Print</option>
                <option value="2">Double Print</option>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.selectbox','data' => ['labelName' => 'Payment Status','name' => 'payment_status','col' => 'col-md-2.9','class' => 'selectpicker px-2']]); ?>
<?php $component->withName('form.selectbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Payment Status','name' => 'payment_status','col' => 'col-md-2.9','class' => 'selectpicker px-2']); ?>
                <?php $__currentLoopData = PAYMENT_STATUS; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($key); ?>"><?php echo e($value); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.selectbox','data' => ['labelName' => 'Courier Status','name' => 'courier_status','col' => 'col-md-2.9','class' => 'selectpicker px-2']]); ?>
<?php $component->withName('form.selectbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Courier Status','name' => 'courier_status','col' => 'col-md-2.9','class' => 'selectpicker px-2']); ?>
                <?php $__currentLoopData = $courier; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($value->id); ?>"><?php echo e($value->name); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>
            <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?>
<?php $component = $__env->getContainer()->make(Illuminate\View\AnonymousComponent::class, ['view' => 'components.form.selectbox','data' => ['labelName' => 'Created By','name' => 'created_by','col' => 'col-md-2.9','class' => 'selectpicker px-2']]); ?>
<?php $component->withName('form.selectbox'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes(['labelName' => 'Created By','name' => 'created_by','col' => 'col-md-2.9','class' => 'selectpicker px-2']); ?>
                <?php $__currentLoopData = $created_by; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <option value="<?php echo e($value->created_by); ?>"><?php echo e($value->user_name); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4)): ?>
<?php $component = $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4; ?>
<?php unset($__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4); ?>
<?php endif; ?>

            <div class="col-md-1 left mb-5">
                <div style="margin-top:28px;">
                    <button id="btn-reset" class="btn btn-danger btn-sm btn-elevate btn-icon"
                            type="button" data-toggle="tooltip" data-theme="dark" title="Reset">
                        <i class="fas fa-undo-alt"></i></button>

                    <button id="btn-filter"
                            class="btn btn-primary btn-sm btn-elevate btn-icon mr-2" type="button"
                            data-toggle="tooltip" data-theme="dark" title="Search">
                        <i class="fas fa-search"></i></button>
                </div>
            </div>
        </div>
    </form>

    

</div>
<?php /**PATH /home/iconshoppercom/iconshopper/Modules/Sale/Resources/views/ecommerce_order/include/dash-header.blade.php ENDPATH**/ ?>