invoice : ps
This commit is contained in:
parent
cad51d4c36
commit
9147463f3a
@ -535,8 +535,8 @@ class Invoice extends BaseController
|
||||
$reference_number = $rec['order_number'];
|
||||
$invoice_serial_number = $rec['invoice_number'];
|
||||
$recipient_name = $rec['customer_name'];
|
||||
$approval_date = $rec['updated_on'];
|
||||
$approved_by = $rec['updated_by_name'];
|
||||
$approval_date = $rec['status'] == 'Approved' && $rec['updated_by'] !== NULL ? $rec['updated_on_format'] : $rec['created_on_format'];
|
||||
$approved_by = $rec['status'] == 'Approved' && $rec['updated_by'] !== NULL ? $rec['updated_by_name'] : $rec['created_by_name'];
|
||||
$recipient_email = $rec['customer_email'];
|
||||
$recipient_mobile = $rec['customer_mobile'];
|
||||
$subtotal = $rec['subtotal'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user