mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 23:24:16 -04:00
Don't show company_name if it's empty (non null) (#1929)
This commit is contained in:
@@ -838,7 +838,7 @@ class Sales extends Secure_Controller
|
||||
{
|
||||
$customer_info = $this->Customer->get_info($customer_id);
|
||||
$data['customer_id'] = $customer_id;
|
||||
if(isset($customer_info->company_name))
|
||||
if(!empty($customer_info->company_name))
|
||||
{
|
||||
$data['customer'] = $customer_info->company_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user