mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-27 10:31:50 -04:00
fixed error reporting, fixed table_helper, added translations, fixed bootstrap grid, various fixes (#472)
This commit is contained in:
@@ -69,13 +69,13 @@ class Config extends Secure_area
|
||||
'custom10_name'=>$this->input->post('custom10_name')
|
||||
);
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function save_locale()
|
||||
function save_locale()
|
||||
{
|
||||
$batch_save_data = array(
|
||||
'currency_symbol'=>$this->input->post('currency_symbol'),
|
||||
@@ -93,11 +93,11 @@ class Config extends Secure_area
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function save_message()
|
||||
function save_message()
|
||||
{
|
||||
$batch_save_data = array(
|
||||
'msg_msg'=>$this->input->post('msg_msg'),
|
||||
@@ -106,10 +106,10 @@ class Config extends Secure_area
|
||||
'msg_src'=>$this->input->post('msg_src')
|
||||
);
|
||||
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
$result = $this->Appconfig->batch_save($batch_save_data);
|
||||
$success = $result ? true : false;
|
||||
|
||||
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
|
||||
}
|
||||
|
||||
function stock_locations()
|
||||
|
||||
Reference in New Issue
Block a user