From 7fb75dbea9e4f115a8a0e710f6c08393b3e03031 Mon Sep 17 00:00:00 2001 From: odiea Date: Tue, 22 Apr 2025 09:51:31 -0600 Subject: [PATCH] Fix reports to show table details (#4231) --- app/Controllers/Receivings.php | 2 +- app/Controllers/Reports.php | 4 ++-- app/Views/reports/tabular_details.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Controllers/Receivings.php b/app/Controllers/Receivings.php index 78c5507c8..eeb930b03 100644 --- a/app/Controllers/Receivings.php +++ b/app/Controllers/Receivings.php @@ -512,7 +512,7 @@ class Receivings extends Secure_Controller /** * @throws ReflectionException */ - public function save(int $receiving_id = -1): void //TODO: Replace -1 with a constant + public function postSave(int $receiving_id = -1): void //TODO: Replace -1 with a constant { $newdate = $this->request->getPost('date', FILTER_SANITIZE_FULL_SPECIAL_CHARS); //TODO: newdate does not follow naming conventions diff --git a/app/Controllers/Reports.php b/app/Controllers/Reports.php index cb576b18f..e7188b41b 100644 --- a/app/Controllers/Reports.php +++ b/app/Controllers/Reports.php @@ -1668,7 +1668,7 @@ class Reports extends Secure_Controller * @return void * @noinspection PhpUnused */ - public function get_detailed_sales_row(string $sale_id): void + public function getGet_detailed_sales_row(string $sale_id): void { $this->clearCache(); @@ -1948,7 +1948,7 @@ class Reports extends Secure_Controller * @return void * @noinspection PhpUnused */ - public function get_detailed_receivings_row(string $receiving_id): void + public function getGet_detailed_receivings_row(string $receiving_id): void { $inputs = ['receiving_id' => $receiving_id]; diff --git a/app/Views/reports/tabular_details.php b/app/Views/reports/tabular_details.php index e71033c63..0d0edb855 100644 --- a/app/Views/reports/tabular_details.php +++ b/app/Views/reports/tabular_details.php @@ -49,7 +49,7 @@ if(isset($editable)) { ?> - table_support.submit_handler(''); + table_support.submit_handler(''); dialog_support.init("a.modal-dlg");