From 9071c939c481578f8fcbfc738620426aa87a31cd Mon Sep 17 00:00:00 2001 From: Ahmad Syamim Date: Fri, 22 Jan 2021 18:33:25 +0900 Subject: [PATCH] fixed App\Notifications\Sale\Invoice getTagsReplacement() - updated from invoice_number to document_number --- app/Notifications/Sale/Invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Notifications/Sale/Invoice.php b/app/Notifications/Sale/Invoice.php index 2f6fd0777..ea9e60206 100644 --- a/app/Notifications/Sale/Invoice.php +++ b/app/Notifications/Sale/Invoice.php @@ -90,7 +90,7 @@ class Invoice extends Notification public function getTagsReplacement() { return [ - $this->invoice->invoice_number, + $this->invoice->document_number, money($this->invoice->amount, $this->invoice->currency_code, true), company_date($this->invoice->due_at), URL::signedRoute('signed.invoices.show', [$this->invoice->id, 'company_id' => $this->invoice->company_id]),