mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-21 07:48:06 -05:00
Properly save company_name in customer form
This commit is contained in:
@@ -73,7 +73,7 @@ class Customers extends Person_controller
|
||||
);
|
||||
$customer_data=array(
|
||||
'account_number'=>$this->input->post('account_number') == '' ? null : $this->input->post('account_number'),
|
||||
'company_name'=>$this->input->post('company_name') == '' ? null : $this->input->post('account_number'),
|
||||
'company_name'=>$this->input->post('company_name') == '' ? null : $this->input->post('company_name'),
|
||||
'taxable'=>$this->input->post('taxable') != null
|
||||
);
|
||||
if($this->Customer->save_customer($person_data,$customer_data,$customer_id))
|
||||
|
||||
Reference in New Issue
Block a user