diff --git a/app/Views/medical/invoice_med_draft.php b/app/Views/medical/invoice_med_draft.php index 1a8bcc3..e5f45cb 100644 --- a/app/Views/medical/invoice_med_draft.php +++ b/app/Views/medical/invoice_med_draft.php @@ -90,7 +90,7 @@ pageLength: 25, ajax: { url: '', - type: 'POST', + type: 'GET', data: function (data) { var statusInput = filterForm.find('input[name="status"]'); var caseInput = filterForm.find('input[name="case_id"]'); @@ -103,9 +103,6 @@ data.to = toInput.length ? (toInput.val() || '') : ''; data.q = qInput.length ? (qInput.val() || '') : ''; data.case_id = caseInput.length ? (caseInput.val() || defaultCaseId) : defaultCaseId; - - data[''] = ''; - }, error: function () { jQuery(tableId + ' tbody').html('No data found in server.');