@use(App\Models\Checkout) @use(App\Models\Service) @extends('adminlte::layouts.app') @section('htmlheader_title') Invoice #{{ $o->lid }} @endsection @section('page_title') {{ $o->sid }} @endsection @section('contentheader_title') Tax Invoice #{{ $o->lid }} @endsection @section('contentheader_description') @endsection @section('main-content')
Issue Date: | {{ $o->created_at->format('Y-m-d') }} |
Account: | {{ $o->account->sid }} |
Invoice: | {{ $o->lid }} |
Payment Due: | {{ $o->due_at->format('Y-m-d') }} |
This Invoice Due: | ${{ number_format($o->total,2) }} |
Total Account Due: | ${{ number_format($o->account->due,2) }} |
Qty | Product | Description | Subtotal | |||
---|---|---|---|---|---|---|
{{ $item['services']->count() }} | #{{ $item['product']->lid }} | {{ $item['product']->name }} | ${{ number_format($item['total'],2) }} | |||
Service: {{ $so->sid }}: [{{ $so->name }}] | ${{ number_format($o->product_service_items($item['product'],$so)->sum('total'),2) }} | |||||
{{ $io->item_type_name }} | ${{ number_format($io->total,2) }} | |||||
{{ $item['description'] }} | ||||||
{{ $item['description'] }} |
Payment Methods:
{{ $cho->name }} | {{ $cho->description }} | @includeIf('theme.backend.adminlte.payment.widget.plugin.'.strtolower($cho->plugin),['o'=>$cho]) |
{{ config('osb.invoice_text') }}
Subtotal: | ${{ number_format($o->sub_total,2) }} | |||
---|---|---|---|---|
Tax (GST 10%) | ${{ number_format($o->tax_total,2) }} | |||
Other Charges: | $0.00 | |||
Total: | ${{ number_format($o->total,2) }} | |||
Payments To Clear: | ${{ number_format($o->paid_pending,2) }} | |||
Payments: | @foreach($o->payment_items_active as $po) @can('view',$po->payment)#{{ $po->payment_id }}@else #{{ $po->payment_id }} @endcan {{ $po->payment->paid_at->format('Y-m-d') }} @endforeach | ${{ number_format($o->paid,2) }} | ||
Invoice Due: | ${{ number_format($o->due,2) }} |