@if( isset($invoice) && $invoice->shipping_cost != '' && $invoice->shipping_cost != '0.00')
Shipping: |
${{number_format( $invoice->shipping_cost, 2 ) ?? '0.00' }}
|
@endif
|
Total:
|
${{number_format($maintotal + $total ?? 0, 2) }}
|
@if( isset( $hide3line ) )
@if( isset( $shiping_cost ) && isset( $shipping_method ) && $shipping_method != '' )
{{ $shipping_method ?? '' }}: |
${{number_format( $shiping_cost, 2 ) ?? '0.00' }} |
@endif
{{-- @if($invoice->extra_amount_paid > 0)
|
Outstanding balance:
|
$0.00
|
Total: |
${{number_format($maintotal + $total ?? 0, 2) }} |
Credit applied {{$invoice->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}} |
- ${{ $invoice->extra_amount_paid}} |
@endif --}}
{{--
@if( isset( $owned_invoice_id ) )
@if( $invoice->extra_amount_paid < 0 && $owned_invoice_id != '' )
Balance Inv #{{ $owned_invoice_id }} |
${{ number_format( abs( $invoice->extra_amount_paid ), 2 ) }} |
@endif
@endif
--}}
@if( isset( $ownedInvArr ) )
@if( count( $ownedInvArr ) > 0 )
@foreach( $ownedInvArr as $key => $value )
|
Balance Inv #{{ $value['owned_invoice_id'] }}
|
${{ number_format( $value['balance'], 2 ) }}
|
@endforeach
@endif
@endif
@if( isset($invoice) && $invoice->discount != '' && $invoice->discount != '0.00')
Discount: |
${{number_format( $invoice->discount, 2 ) ?? '0.00' }} |
@endif
@if($hisinv)
@foreach($hisinv as $hi)
@if( isset( $ownedInvArr ) && $hi->payment_type == 12)
@if( count( $ownedInvArr ) > 0 )
@continue;
@endif
@endif
{{$hi->paymentType->name ?? ''}} {{$hi->created_at->format('d/m/y')}}: |
@if($hi->payment_type == 12 || $hi->payment_type == 15) -@endif${{number_format($hi->paid_amount ,2) ?? '0.00'}}
|
@endforeach
@endif
Balance: |
${{ number_format( $invoice->account_balance, 2 ) ?? "0.00"}} |
@if(isset($oldinvoicedata))
@if($oldinvoicedata->amount_status == 'owing')
{{$invoice->paymentType->name ?? ''}} {{$invoice->created_at->timezone(getAustraliaTimeZone())->format('d/m/y')}}: |
${{ abs($oldinvoicedata->amount)}} |
@endif
@endif
@endif
* Total GST: |
@if( isset( $use_new_gst ) && $use_new_gst == 1 )
${{number_format( $total_gst - $invoice->discount, 2 ) }}
@else
${{number_format(($totalgstItem + $totalgst1Item) ,2) }}
@endif
|