@use('App\Utilities\Currency\CurrencyAccessor') @php $data = $this->form->getRawState(); $viewModel = new \App\View\Models\InvoiceTotalViewModel($this->record, $data); extract($viewModel->buildViewData(), \EXTR_SKIP); $isInvoiceLevelDiscount = $data['discount_method'] === 'invoice'; @endphp
Subtotal: | {{ $subtotal }} | ||||
Taxes: | {{ $taxTotal }} | ||||
Discount: |
@foreach($getChildComponentContainer()->getComponents() as $component)
{{ $component }}
@endforeach
|
({{ $discountTotal }}) | |||
Discounts: | ({{ $discountTotal }}) | ||||
Total: | {{ $grandTotal }} |