move save to save_barcode

This commit is contained in:
objecttothis
2017-09-12 12:56:47 +04:00
committed by FrancescoUK
parent 783b7f0205
commit 27e9f3ff1a

View File

@@ -289,7 +289,6 @@ class Config extends Secure_Controller
'theme' => $this->input->post('theme'),
'default_sales_discount' => $this->input->post('default_sales_discount'),
'receiving_calculate_average_price' => $this->input->post('receiving_calculate_average_price') != NULL,
'allow_duplicate_barcodes' => $this->input->post('allow_duplicate_barcodes') != NULL,
'lines_per_page' => $this->input->post('lines_per_page'),
'notify_horizontal_position' => $this->input->post('notify_horizontal_position'),
'notify_vertical_position' => $this->input->post('notify_vertical_position'),
@@ -792,6 +791,7 @@ class Config extends Secure_Controller
'barcode_page_width' => $this->input->post('barcode_page_width'),
'barcode_page_cellspacing' => $this->input->post('barcode_page_cellspacing'),
'barcode_generate_if_empty' => $this->input->post('barcode_generate_if_empty') != NULL,
'allow_duplicate_barcodes' => $this->input->post('allow_duplicate_barcodes') != NULL,
'barcode_content' => $this->input->post('barcode_content'),
'barcode_formats' => json_encode($this->input->post('barcode_formats'))
);