
<?php $__env->startSection('content'); ?>
<!-- BEGIN: Content-->
<div class="app-content content ">
    <div class="content-overlay"></div>
    <div class="header-navbar-shadow"></div>
    <div class="content-wrapper container-xxl p-0">
        <div class="content-header row">
            <div class="content-header-left col-md-12 col-12 mb-2">
                <div class="row breadcrumbs-top">
                    <div class="col-12">
                        <h2 class="content-header-title float-start mb-0"><?php echo e(__('lang.admin_order_cancel_request')); ?></h2>
                        <div class="breadcrumb-wrapper">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="<?php echo route('dashboard'); ?>"><?php echo e(__('lang.admin_menu_dashboard')); ?></a></li>
                                <li class="breadcrumb-item active"><?php echo e(__('lang.admin_request_list')); ?></li>
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
            <div class="content-header-right text-md-end col-md-12 col-12 d-md-block mb-2">
                <div class="dt-action-buttons text-end">
                    <form id="formData" method="get">
                        <div class="row">
                            <div class="form-group col-sm-4">
                                <select class="form-select" name="status" id="status">
                                    <option value=""><?php echo e(__('lang.admin_cancel_status')); ?></option>
                                    <option value="0"><?php echo e(__('lang.admin_pending')); ?></option>
                                    <option value="1"><?php echo e(__('lang.admin_approved')); ?></option>
                                    <option value="2"><?php echo e(__('lang.admin_declined')); ?></option>
                                </select>
                            </div>
                            <div class="form-group col-sm-4">
                                <select class="form-select" name="user_id" id="search_order_by_user_id" style="width: -webkit-fill-available">
                                    <option value=""><?php echo e(__('lang.admin_select_user')); ?></option>
                                    <?php $__currentLoopData = $filter['user']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($user->id); ?>" <?php if(isset($_GET['user_id'])): ?> <?php if($_GET['user_id']==$user->id): ?> selected <?php endif; ?> <?php endif; ?>><?php echo e($user->phone); ?> <?php if($user->name!='' || $user->name!=null): ?>(<?php echo e($user->name); ?>)<?php endif; ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                            <div class="form-group col-sm-3">
                                <input type="submit" name="submit" value="<?php echo e(__('lang.admin_button_search')); ?>" id="submit" class="dt-button create-new btn btn-primary">
                                <a href="javascript:;" onclick="resetFilter()" class="btn btn-danger"><?php echo e(__('lang.admin_button_reset')); ?></a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <?php echo $__env->make('orders.cancelrequest.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
</div>
<!-- END: Content-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/hayawater/resources/views/orders/cancelrequest/index.blade.php ENDPATH**/ ?>