From 6208569c7e58838ee4e269a5780e30d3ac464ba8 Mon Sep 17 00:00:00 2001 From: Aaron Gong Date: Sun, 13 Mar 2016 22:04:39 +0800 Subject: [PATCH] Fix for issue 160 https://github.com/jekkos/opensourcepos/issues/160 I try to interfere as little as possible --- application/helpers/table_helper.php | 4 ++-- application/views/sales/manage.php | 10 +++++----- css/ospos_print.css | 8 ++++++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/application/helpers/table_helper.php b/application/helpers/table_helper.php index b20adba85..743e7f0d4 100644 --- a/application/helpers/table_helper.php +++ b/application/helpers/table_helper.php @@ -67,7 +67,7 @@ function get_sales_manage_sale_data_row($sale, $controller) $width = $controller->get_form_width(); $table_data_row=''; - $table_data_row.=''; + $table_data_row.=''; $table_data_row.=''.'POS ' . $sale['sale_id'] . ''; $table_data_row.=''.date( $CI->config->item('dateformat') . ' ' . $CI->config->item('timeformat'), strtotime($sale['sale_time']) ).''; $table_data_row.=''.character_limiter( $sale['customer_name'], 25).''; @@ -76,7 +76,7 @@ function get_sales_manage_sale_data_row($sale, $controller) $table_data_row.=''.to_currency( $sale['change_due'] ).''; $table_data_row.=''.$sale['payment_type'].''; $table_data_row.=''.$sale['invoice_number'].''; - $table_data_row.=''; + $table_data_row.=''; $table_data_row.=anchor($controller_name."/edit/" . $sale['sale_id'] . "/width:$width", $CI->lang->line('common_edit'),array('class'=>'thickbox','title'=>$CI->lang->line($controller_name.'_update'))); $table_data_row.='    '; $table_data_row.='' . $CI->lang->line('sales_show_receipt') . ''; diff --git a/application/views/sales/manage.php b/application/views/sales/manage.php index 77e03e022..439e95e03 100755 --- a/application/views/sales/manage.php +++ b/application/views/sales/manage.php @@ -170,17 +170,17 @@ function init_table_sorting()
lang->line('common_list_of').' '.$this->lang->line('sales_receipt_number'); ?>
-
+ 'search_form')); ?> -
+ -
+