Merge pull request #1793 from ahmadsyamim/master

fixed App\Notifications\Sale\Invoice getTagsReplacement() - updated f…
This commit is contained in:
Cüneyt Şentürk 2021-01-22 12:43:56 +03:00 committed by GitHub
commit 92d5351bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ class Invoice extends Notification
public function getTagsReplacement() public function getTagsReplacement()
{ {
return [ return [
$this->invoice->invoice_number, $this->invoice->document_number,
money($this->invoice->amount, $this->invoice->currency_code, true), money($this->invoice->amount, $this->invoice->currency_code, true),
company_date($this->invoice->due_at), company_date($this->invoice->due_at),
URL::signedRoute('signed.invoices.show', [$this->invoice->id, 'company_id' => $this->invoice->company_id]), URL::signedRoute('signed.invoices.show', [$this->invoice->id, 'company_id' => $this->invoice->company_id]),