@extends('member.layouts.app') @section('content') @include('member.layouts.partial.toolbar', ['breadcrumb' => 'View Invoice']);

View Invoice

@if ($invoice->status !== 0) {{-- Cancel Edit --}} @endif {{-- Copy --}}
Invoice No: {{ $invoice->invoice_no }}
Client Name: {{ $invoice->branch->client->ShopCompany ?? '' }}
Branch Name: {{ $invoice->branch_name ?? '' }}
Type of Invoice: {{ TYPE_OF_INVOICE[$invoice->type] }}
@if (is_null($invoice->status)) @endif
Tax: {{ $invoice->tax ? 'Yes' : 'No' }}
Generated Date: {{ $invoice->created_at->format('d-m-Y') }}
Status: Generated
Work Order Proof:
@foreach ($invoice->subCalc as $index => $sub) @endforeach @if ($invoice->tax) @endif
S.NO Category Service Name Sub Service Name Qty(Units) Unit Price Total Price
{{ $index + 1 }} {{ $sub->category->name ?? '' }} {{ $sub->service->name ?? '' }} {{ $sub->sub_service->name ?? '' }} {{ $sub->quantity }} {{ $sub->price }} {{ $sub->total }}
Total Value {{ numberFormat($invoice->amount) }}
Service Fee 0.00
Tax {{ $invoice->tax }}% {{ numberFormat($invoice->tax_amount) }}
{{ numberFormat($invoice->total_amount) }}
@endsection