mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 15:24:35 -04:00
Fix to sales edit server error when customer is '' (#337)
This commit is contained in:
1 parent
028bdb074b
commit
b36a03c4bc
1 file changed
+1
-1
@@ -668,7 +668,7 @@ class Sales extends Secure_area
|
||||
|
||||
$sale_data = array(
|
||||
'sale_time' => $start_date_formatter->format('Y-m-d H:i:s'),
|
||||
'customer_id' => $this->input->post('customer_id'),
|
||||
'customer_id' => $this->input->post('customer_id') != '' ? $this->input->post('customer_id') : null,
|
||||
'employee_id' => $this->input->post('employee_id'),
|
||||
'comment' => $this->input->post('comment'),
|
||||
'invoice_number' => $this->input->post('invoice_number')
|
||||
|
||||
Reference in new issue
Block a user