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 = "= base_url('payout/invoices?type=add') ?>";
- }
- },
+ // {
+ // text: 'Add',
+ // className: 'btn app-btn-primary mr-2',
+ // action: function (e, dt, node, config) {
+ // window.location.href = "= base_url('payout/invoices?type=add') ?>";
+ // }
+ // },
{
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