FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2026-01-06 16:00:15 +05:30
parent c3525b4c1a
commit b859de50a2
3 changed files with 9 additions and 9 deletions

View File

@ -335,7 +335,7 @@ class PayoutController extends BaseController
$invoiceData = [ $invoiceData = [
'invoice_no' => $json['invoice_no'], 'invoice_no' => $json['invoice_no'],
'agent_id' => $json['agent_id'], // 'agent_id' => $json['agent_id'] ?? null,
'invoice_date' => $json['invoice_date'], 'invoice_date' => $json['invoice_date'],
'invoice_amount' => $json['invoice_amount'], 'invoice_amount' => $json['invoice_amount'],
]; ];

View File

@ -313,13 +313,13 @@
"<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>", "<'row align-items-center'<'col-5 text-start'i><'col-7 d-flex justify-content-end align-items-center'<'me-2'l>p>>",
lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]],
buttons: [ buttons: [
{ // {
text: 'Add', // text: 'Add',
className: 'btn app-btn-primary mr-2', // className: 'btn app-btn-primary mr-2',
action: function (e, dt, node, config) { // action: function (e, dt, node, config) {
window.location.href = "<?= base_url('payout/invoices?type=add') ?>"; // window.location.href = "<?= base_url('payout/invoices?type=add') ?>";
} // }
}, // },
{ {
extend: 'collection', extend: 'collection',
text: '<span class=" btn-custom"> Export </span><i class="mdi mdi-menu-down"></i>', text: '<span class=" btn-custom"> Export </span><i class="mdi mdi-menu-down"></i>',

View File

@ -6,7 +6,7 @@ Options -Indexes
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
## ADDED for - block any script execution inside folder of public ## ADDED for - block any script execution inside folder of public
<If "%{REQUEST_URI} =~ m#/(logo|add_image_upload|e_card_imgs|assets|claim_sample_forms|sample_import_excel|writable)/#"> <If "%{REQUEST_URI} =~ m#/(logo|add_image_upload|e_card_imgs|claim_sample_forms|sample_import_excel|writable)/#">
Deny from all Deny from all
# Disable PHP engine # Disable PHP engine
<IfModule mod_php.c> <IfModule mod_php.c>