
<?php echo e(Form::open(['method' => 'GET'])); ?>

<div class="row p-2">
    <div class="form-group col-md-2">
        <?php echo e(Form::label('country_id', __('message.select_name', ['select' => __('message.country')]), ['class' => 'form-control-label'])); ?>

        <?php echo e(Form::select('country_id', $country,$selectedCountryId,[
            'class' => 'select2js form-group country',
            'data-placeholder' => __('message.select_name', ['select' => __('message.country')]),
            'data-ajax--url' => route('ajax-list', ['type' => 'country-list']),
            ])); ?>

    </div>
    <div class="form-group col-md-2">
        <?php echo e(Form::label('city_id', __('message.select_name', ['select' => __('message.city')]), ['class' => 'form-control-label'])); ?>

        <?php echo e(Form::select('city_id',$cities,$selectedCityId,[
            'class' => 'select2js form-group city',
            'data-placeholder' => __('message.select_name', ['select' => __('message.city')]),
            'data-ajax--url' => route('ajax-list', ['type' => 'city-list']),
        ])); ?>

    </div>
  
    <div class="form-group col-md-2">
        <?php echo e(Form::label('last_actived_at', __('message.status') . '<span data-toggle="tooltip" data-html="true" data-placement="top" title="Active user: Who last activated date in 1 day<br>Engaged user: Who last activated date in 2-15 days<br>Inactive user: Who last activated date in more than 15 days">(info)</span>', ['class' => 'form-control-label'], false)); ?>

        <?php echo e(Form::select('last_actived_at', [ '' => __('message.all'), 'active_user' => __('message.active_user'), 'engaged_user' => __('message.engaged_user'), 'inactive_user' => __('message.inactive_user') ], $params['last_actived_at'] ?? old($params['last_actived_at']), [ 'class' => 'form-control select2js'])); ?>

    </div>
    
    <div class="form-group col-sm-0 mt-3">
        <button class="btn btn-sm btn-warning text-white mt-3 pt-2 pb-2"><?php echo e(__('message.apply_filter')); ?></button>
    </div>
    <div class="form-group col-sm-0 ml-1 mt-3">
        <?php if(isset($reset_file_button)): ?>
        <?php echo $reset_file_button; ?>

        <?php endif; ?>
    </div>
    
</div>
<?php echo e(Form::close()); ?>

<script src="<?php echo e(asset('frontend-website/assets/js/jquery.min.js')); ?>"></script>
<script>
     $(document).ready(function () {

    $(".select2js").select2({
        width: "100%",
        tags: true
    });
});
</script>
<?php /**PATH /www/wwwroot/mxunzo.atharvatek.com/resources/views/global/deliveryman-datatable.blade.php ENDPATH**/ ?>