%PDF- %PDF-
Direktori : /home/silvzytp/calling_code/resources/views/backend/pages/calling/ |
Current File : /home/silvzytp/calling_code/resources/views/backend/pages/calling/export.blade.php |
<!-- Modal --> <div class="modal fade" id="export-modal" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog modal-md" role="document"> <div class="modal-content border-0 rounded-0"> <div class="modal-header bg-primary py-2 rounded-0"> <h6 class="modal-title text-light">Export</h6> <button type="button" class="close text-light" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <form id="export_form" action="{{ auth()->user()->role_id == 3 ? route(routeName().'.manager.callings.export') : route(routeName().'.callings.export') }}" method="POST" enctype="multipart/form-data"> @csrf <div class="content py-2"> <div class="form-group"> <label for="">Call Date</label> <input type="text" class="form-control" required id="date_range" placeholder="MM/DD/YY" autocomplete="off" autofocus> <input type="hidden" name="start_date"> <input type="hidden" name="end_date"> </div> <x-form.selectbox name="export_agent" labelName="Agent"> <option value="">-- Select Agent --</option> @foreach ($agents as $agent) <option value="{{ $agent->id }}">{{ $agent->name }}</option> @endforeach </x-form.selectbox> <x-form.selectbox name="export_status" labelName="Status" onchange="export_select_status(this.value)"> <option value="">-- Select Please --</option> @forelse ($statuses as $status) <option value="{{ $status->id }}">{{ $status->name }}</option> @empty @endforelse </x-form.selectbox> <x-form.selectbox name="export_sub_status" labelName="Sub Status"> <option value="">-- Select Please --</option> </x-form.selectbox> <x-form.selectbox name="export_potential" labelName="Potential"> <option value="">-- Select Please --</option> @foreach (POTENTIAL as $key=>$value) <option value="{{ $key }}">{{ $value }}</option> @endforeach </x-form.selectbox> <div class="form-group"> <label for="export_file">Export File</label> <select name="export_file" id="export_file" class="form-control" required> <option value="">-- Select Please --</option> <option value="xlsx">xlsx</option> <option value="csv">CSV</option> </select> </div> </div> <div class="text-right mt-3"> <button type="button" class="btn btn-sm btn-warning" data-dismiss="modal">Cancel</button> <button type="submit" class="btn btn-sm btn-primary">Export</button> </div> </form> </div> </div> </div> </div>