mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 15:13:40 -04:00
Fix reports to show table details (#4231)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
if(isset($editable))
|
||||
{
|
||||
?>
|
||||
table_support.submit_handler('<?= esc(site_url("reports/get_detailed_$editable" . '_row'), 'url') ?>');
|
||||
table_support.submit_handler('<?= esc(site_url("reports/get_detailed_$editable" . '_row')) ?>');
|
||||
dialog_support.init("a.modal-dlg");
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user