File manager - Edit - /home/autoph/public_html/projects/tickets-autohub/storage/framework/views/d449800a87f077950b44f78238a05aaeed6a8574.php
Back
<head> <link rel="stylesheet" href="<?php echo e(asset('css/v2/bootstrap.min.css')); ?>"> </head> <div class="tickets_masterfile" style="width: 98%; padding:10px;"> <center><h4>Department Tickets Summary Masterfile</h4></center> <hr> <form class="tcktsForm" id="tcktsForm" target="_blank" action="<?php echo e(url('reports/get/departmentTicketSummaryReport')); ?>" novalidate> <div class="row ml-3"> <div class="col"> <div class="row mb-3"> <div class="col"> <div class="form-group"> <label class="form-label" for="from_date">Start Date: </label> <input class="form-control" type="date" name="from_date" id="from_date"> </div> </div> <div class="col"> <div class="form-group"> <label class="form-label" for="from_date">End Date: </label> <input class="form-control" type="date" name="to_date" id="to_date"> </div> </div> </div> <div class="row mb-3"> <div class="form-group"> <label class="form-label" for="">Status: </label> <select class="form-select" name="dept_tckt_summary" id="dept_tckt_summary"> <option value="">ALL</option> <option value="open">OPEN</option> <option value="closed">CLOSED</option> <option value="pending">PENDING</option> <option value="transferred">TRANSFERRED</option> </select> </div> </div> <div class="row mb-3"> <div class="form-group"> <label class="form-label" for="">Condition: </label> <select class="form-select" name="dept_tckt_summary_condition" id="dept_tckt_summary_condition"> <option value="">ALL</option> <option value="picked">PICKED</option> <option value="assigned">ASSIGNED</option> </select> </div> </div> <div class="radio-button-group"> <div class="form-check"> <input class="form-check-input" type="radio" name="type" id="view" value="view"> <label class="form-check-label font-weight-bold text-sm" for="view">View Output</label> </div> <div class="form-check"> <input class="form-check-input" type="radio" name="type" id="pdf" value="pdf"> <label class="form-check-label font-weight-bold text-sm" for="pdf">Export as PDF</label> </div> <div class="form-check"> <input class="form-check-input" type="radio" name="type" id="csv" value="csv"> <label class="form-check-label font-weight-bold text-sm" for="csv">Export as CSV</label> </div> </div> <button class="btn btn-primary btn-md mt-3">SUBMIT</button> </div> </div> </form> </div> <script src="<?php echo e(asset('js/js_v2/swal.js')); ?>"></script> <script> const form = document.getElementById('tcktsForm'); const rbt = document.getElementsByName('type'); let radioButtonsChecked = false; form.addEventListener('submit', function(e){ e.preventDefault(); for (let i = 0; i < rbt.length; i++){ if(rbt[i].checked){ radioButtonsChecked = true; break; } } if(!radioButtonsChecked){ swal.fire({ icon: 'error', title: 'Oops...', text: 'Kindly choose which type of report you want to generate', }); } else { form.submit(); } }); </script><?php /**PATH C:\laragon\www\DEVELOPMENT\autohub-ticketing\resources\views/layouts/authentication/admin/report/department_ticket_summary.blade.php ENDPATH**/ ?>
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings