@extends('layout.app')

@section('content')
    <div class="card">
        <div class="card-body">

            <form method="POST" action="{{ route('clientExportImportDown') }}">
                @csrf
                <div class="row">
                    <div class="col-md-4 col-sm-4 col-xs-4">
                        <div class="form-group">
                            <label class="flex-1 block text-gray-700 text-sm font-bold mb-2" for="from_date">
                                Manager Name
                            </label>
                            <select name="reseller" id="reseller" class="form-control select2 form-control-sm" required>
                                <option value="all">ALL Manager</option>
                                @foreach (userResellers() as $r)
                                    <option value="{{ $r->id }}">{{ $r->name }}</option>
                                @endforeach
                            </select>
                        </div>
                    </div>
                    <div class="col-md-4 col-sm-4 col-xs-4">
                        <div class="form-group">
                            <label class="flex-1 block text-gray-700 text-sm font-bold mb-2" for="from_date">
                                POP Name
                            </label>
                            <select name="pop" id="pop" class="form-control select2 form-control-sm" required>
                                <option value="all"> ALL POP</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="form-group mt-2 float-right">
                    <button type="submit" class="btn btn-primary" type="submit"><i class="fa fa-download"></i>
                        Export</button>
                </div>
            </form>
        </div>
    </div>
@endsection

@section('ajax')
@endsection
