2020-05-25 07:45:17 +00:00
|
|
|
@component('mail::message',['site'=>$site,'heading'=>'Invoice: '.$invoice->id])
|
2024-07-07 00:21:27 +00:00
|
|
|
Hi {{ isset($user) ? $user->name_full.',' : '' }}
|
2020-05-25 07:45:17 +00:00
|
|
|
|
|
|
|
A new invoice has been generated on your account. A summary of that invoice is below.
|
|
|
|
|
|
|
|
@component('mail::table')
|
|
|
|
| # | ID | Name | Amount |
|
|
|
|
| -: | - |:-----| ------:|
|
2024-07-09 10:17:30 +00:00
|
|
|
@foreach ($invoice->summary_products() as $item)
|
|
|
|
| {{ $item['services']->count() }} | {{ $item['product']->lid }} | {{ $item['product']->name }} | ${{ number_format($item['total'],2) }} |
|
2020-05-25 07:45:17 +00:00
|
|
|
@endforeach
|
2022-09-29 08:40:03 +00:00
|
|
|
||| Sub Total | ${{ number_format($invoice->sub_total,2) }} |
|
|
|
|
||| Tax | ${{ number_format($invoice->tax_total,2) }} |
|
|
|
|
||| Total | ${{ number_format($invoice->total,2) }} |
|
2022-10-17 23:23:11 +00:00
|
|
|
||| Payments | ${{ number_format($invoice->paid,2) }} |
|
|
|
|
||| Still Due | ${{ number_format($invoice->due,2) }} |
|
2020-05-25 07:45:17 +00:00
|
|
|
@endcomponent
|
|
|
|
|
|
|
|
If you would like a PDF copy of that invoice, please click on the link below:
|
|
|
|
|
|
|
|
@component('mail::panel',['url'=>$invoice->download_link()])
|
|
|
|
Download PDF
|
|
|
|
@endcomponent
|
|
|
|
|
|
|
|
Thanks,<br>
|
|
|
|
{{ config('mail.from.name') }}
|
|
|
|
@endcomponent
|