From b859de50a2d405be75f61864f89ed0fa7bac8f89 Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Tue, 6 Jan 2026 16:00:15 +0530 Subject: [PATCH] FIX_ISSUE --- app/Controllers/PayoutController.php | 2 +- app/Views/payout_list.php | 14 +++++++------- public/.htaccess | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Controllers/PayoutController.php b/app/Controllers/PayoutController.php index 90d501dc..813dda75 100644 --- a/app/Controllers/PayoutController.php +++ b/app/Controllers/PayoutController.php @@ -335,7 +335,7 @@ class PayoutController extends BaseController $invoiceData = [ 'invoice_no' => $json['invoice_no'], - 'agent_id' => $json['agent_id'], + // 'agent_id' => $json['agent_id'] ?? null, 'invoice_date' => $json['invoice_date'], 'invoice_amount' => $json['invoice_amount'], ]; diff --git a/app/Views/payout_list.php b/app/Views/payout_list.php index ab2bca29..9bc8d9c8 100644 --- a/app/Views/payout_list.php +++ b/app/Views/payout_list.php @@ -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>>", lengthMenu: [[10, 20, 50, 100], [10, 20, 50, 100]], buttons: [ - { - text: 'Add', - className: 'btn app-btn-primary mr-2', - action: function (e, dt, node, config) { - window.location.href = ""; - } - }, + // { + // text: 'Add', + // className: 'btn app-btn-primary mr-2', + // action: function (e, dt, node, config) { + // window.location.href = ""; + // } + // }, { extend: 'collection', text: ' Export ', diff --git a/public/.htaccess b/public/.htaccess index c8b54695..0f2e722f 100755 --- a/public/.htaccess +++ b/public/.htaccess @@ -6,7 +6,7 @@ Options -Indexes # ---------------------------------------------------------------------- ## ADDED for - block any script execution inside folder of public - + Deny from all # Disable PHP engine