From 16502065fae9afb72662aa719684116d2e7cab34 Mon Sep 17 00:00:00 2001 From: odiea Date: Sun, 25 Jun 2017 09:53:57 -0600 Subject: [PATCH] Fix Detailed Reports to show table content. --- application/models/reports/Specific_customer.php | 4 ++-- application/models/reports/Specific_discount.php | 2 +- application/models/reports/Specific_employee.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/application/models/reports/Specific_customer.php b/application/models/reports/Specific_customer.php index 6c7841d06..675f011f6 100644 --- a/application/models/reports/Specific_customer.php +++ b/application/models/reports/Specific_customer.php @@ -22,14 +22,14 @@ class Specific_customer extends Report array('id' => $this->lang->line('reports_sale_id')), array('sale_date' => $this->lang->line('reports_date')), array('quantity' => $this->lang->line('reports_quantity')), - array('sold_by' => $this->lang->line('reports_sold_by')), + array('employee_name' => $this->lang->line('reports_sold_by')), array('subtotal' => $this->lang->line('reports_subtotal'), 'sorter' => 'number_sorter'), array('tax' => $this->lang->line('reports_tax'), 'sorter' => 'number_sorter'), array('total' => $this->lang->line('reports_total'), 'sorter' => 'number_sorter'), array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'number_sorter'), array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'number_sorter'), array('payment_type' => $this->lang->line('reports_payment_type')), - array('comments' => $this->lang->line('reports_comments'))), + array('comment' => $this->lang->line('reports_comments'))), 'details' => array( $this->lang->line('reports_name'), $this->lang->line('reports_category'), diff --git a/application/models/reports/Specific_discount.php b/application/models/reports/Specific_discount.php index 587edb30d..7de97a80b 100755 --- a/application/models/reports/Specific_discount.php +++ b/application/models/reports/Specific_discount.php @@ -28,7 +28,7 @@ class Specific_discount extends Report array('total' => $this->lang->line('reports_total'), 'sorter' => 'number_sorter'), array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'number_sorter'), array('payment_type' => $this->lang->line('reports_payment_type')), - array('comments' => $this->lang->line('reports_comments'))), + array('comment' => $this->lang->line('reports_comments'))), 'details' => array( $this->lang->line('reports_name'), $this->lang->line('reports_category'), diff --git a/application/models/reports/Specific_employee.php b/application/models/reports/Specific_employee.php index b7ba74ad0..43fe46a5d 100644 --- a/application/models/reports/Specific_employee.php +++ b/application/models/reports/Specific_employee.php @@ -29,7 +29,7 @@ class Specific_employee extends Report array('cost' => $this->lang->line('reports_cost'), 'sorter' => 'number_sorter'), array('profit' => $this->lang->line('reports_profit'), 'sorter' => 'number_sorter'), array('payment_type' => $this->lang->line('reports_payment_type')), - array('comments' => $this->lang->line('reports_comments'))), + array('comment' => $this->lang->line('reports_comments'))), 'details' => array( $this->lang->line('reports_name'), $this->lang->line('reports_category'),