mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 23:34:36 -04:00
Fix error when sending a receipt of a sale without invoice (#4229)
This commit is contained in:
1 parent
a32519fe4a
commit
febe5109f0
1 file changed
+1
-1
@@ -989,7 +989,7 @@ class Sales extends Secure_Controller
|
||||
|
||||
$text = $this->config['invoice_email_message'];
|
||||
$tokens = [
|
||||
new Token_invoice_sequence($sale_data['invoice_number']),
|
||||
new Token_invoice_sequence($number),
|
||||
new Token_invoice_count('POS ' . $sale_data['sale_id']),
|
||||
new Token_customer((array)$sale_data)
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user