diff --git a/app/Controllers/Invoice.php b/app/Controllers/Invoice.php index 37b7e89a..cc6e41cf 100755 --- a/app/Controllers/Invoice.php +++ b/app/Controllers/Invoice.php @@ -153,7 +153,7 @@ class Invoice extends BaseController $where = ['customer_addresses.isactive' => 1, 'customer_addresses.customer_id' => (int)$id]; $where['address_type'] = 1; $data['customer_billing'] = $this->get_customer_address($where, []); - $select = ["customer_address_id", "CONCAT(address_1,' ',address_2) as address"]; + $select = ["customer_address_id", "CONCAT(address_1,' ',address_2) as address","first_name"]; $where['address_type'] = 2; $data['customer_shipping'] = $this->get_customer_address($where, $select); return $this->response->setJSON(['data' => $data]);