Fix invoice emailing, and improved formatting
This commit is contained in:
@@ -9,9 +9,9 @@ A new invoice has been generated on your account. A summary of that invoice is b
|
||||
@foreach ($invoice->products() as $po)
|
||||
| {{ $po->count }} | {{ $po->product_id }} | {{ $po->name }} | ${{ number_format($invoice->items->filter(function($item) use ($po) {return $item->product_id == $po->id; })->sum('total'),$invoice->currency()->rounding) }} |
|
||||
@endforeach
|
||||
||| Sub Total | ${{ $invoice->sub_total }} |
|
||||
||| Tax | ${{ $invoice->tax_total }} |
|
||||
||| Total | ${{ $invoice->total }} |
|
||||
||| Sub Total | ${{ number_format($invoice->sub_total,2) }} |
|
||||
||| Tax | ${{ number_format($invoice->tax_total,2) }} |
|
||||
||| Total | ${{ number_format($invoice->total,2) }} |
|
||||
@endcomponent
|
||||
|
||||
If you would like a PDF copy of that invoice, please click on the link below:
|
||||
|
Reference in New Issue
Block a user