applied new features of money package
This commit is contained in:
@@ -118,7 +118,7 @@ class Transaction extends Notification
|
||||
];
|
||||
|
||||
return [
|
||||
money($this->transaction->amount, $this->transaction->currency_code, true),
|
||||
money($this->transaction->amount, $this->transaction->currency_code),
|
||||
company_date($this->transaction->paid_at),
|
||||
URL::signedRoute('signed.payments.show', $route_params),
|
||||
route('transactions.show', $route_params),
|
||||
|
||||
@@ -129,13 +129,13 @@ class PaymentReceived extends Notification
|
||||
|
||||
return [
|
||||
$this->invoice->document_number,
|
||||
money($this->invoice->amount, $this->invoice->currency_code, true),
|
||||
money($this->invoice->amount, $this->invoice->currency_code),
|
||||
company_date($this->invoice->due_at),
|
||||
trans('documents.statuses.' . $this->invoice->status),
|
||||
URL::signedRoute('signed.invoices.show', $route_params),
|
||||
route('invoices.show', $route_params),
|
||||
route('portal.invoices.show', $route_params),
|
||||
money($this->transaction->amount, $this->transaction->currency_code, true),
|
||||
money($this->transaction->amount, $this->transaction->currency_code),
|
||||
company_date($this->transaction->paid_at),
|
||||
$this->transaction->payment_method,
|
||||
$this->invoice->contact_name,
|
||||
|
||||
@@ -97,8 +97,8 @@ class Bill extends Notification
|
||||
|
||||
return [
|
||||
$this->bill->document_number,
|
||||
money($this->bill->amount, $this->bill->currency_code, true),
|
||||
money($this->bill->amount_due, $this->bill->currency_code, true),
|
||||
money($this->bill->amount, $this->bill->currency_code),
|
||||
money($this->bill->amount_due, $this->bill->currency_code),
|
||||
company_date($this->bill->issued_at),
|
||||
company_date($this->bill->due_at),
|
||||
route('bills.show', $route_params),
|
||||
|
||||
@@ -142,8 +142,8 @@ class Invoice extends Notification
|
||||
|
||||
return [
|
||||
$this->invoice->document_number,
|
||||
money($this->invoice->amount, $this->invoice->currency_code, true),
|
||||
money($this->invoice->amount_due, $this->invoice->currency_code, true),
|
||||
money($this->invoice->amount, $this->invoice->currency_code),
|
||||
money($this->invoice->amount_due, $this->invoice->currency_code),
|
||||
company_date($this->invoice->issued_at),
|
||||
company_date($this->invoice->due_at),
|
||||
URL::signedRoute('signed.invoices.show', $route_params),
|
||||
|
||||
Reference in New Issue
Block a user