diff --git a/application/controllers/Config.php b/application/controllers/Config.php index 74e3329de..2544010b6 100644 --- a/application/controllers/Config.php +++ b/application/controllers/Config.php @@ -671,6 +671,7 @@ class Config extends Secure_Controller { $batch_save_data = array ( 'receipt_template' => $this->input->post('receipt_template'), + 'receipt_show_company_name' => $this->input->post('receipt_show_company_name') != NULL, 'receipt_show_taxes' => $this->input->post('receipt_show_taxes') != NULL, 'receipt_show_total_discount' => $this->input->post('receipt_show_total_discount') != NULL, 'receipt_show_description' => $this->input->post('receipt_show_description') != NULL, diff --git a/application/language/en/config_lang.php b/application/language/en/config_lang.php index ef621b3f8..d5e7a152e 100644 --- a/application/language/en/config_lang.php +++ b/application/language/en/config_lang.php @@ -194,6 +194,7 @@ $lang["config_receipt_default"] = "Default"; $lang["config_receipt_info"] = "Receipt Configuration Information"; $lang["config_receipt_printer"] = "Ticket Printer"; $lang["config_receipt_short"] = "Short"; +$lang["config_receipt_show_company_name"] = "Show Company Name"; $lang["config_receipt_show_description"] = "Show Description"; $lang["config_receipt_show_serialnumber"] = "Show Serial Number"; $lang["config_receipt_show_taxes"] = "Show Taxes"; @@ -228,4 +229,4 @@ $lang["config_top"] = "Top"; $lang["config_website"] = "Website"; $lang["config_giftcard_number"] = "Gift Card Number"; $lang["config_giftcard_series"] = "Generate in Series"; -$lang["config_giftcard_random"] = "Generate Random"; \ No newline at end of file +$lang["config_giftcard_random"] = "Generate Random"; diff --git a/application/views/configs/receipt_config.php b/application/views/configs/receipt_config.php index 3fbf04b47..d4e0235b4 100644 --- a/application/views/configs/receipt_config.php +++ b/application/views/configs/receipt_config.php @@ -16,6 +16,17 @@ +