INVOICE

@include('flash-message')

ESSENTIAL MOTORS
36(A), PYAY ROAD, 6WARD,
MAYANGONE, YANGON, MYANMAR
+959-422251474
+959-973904805
business@essentialmotorsmm.com

logo
business@essentialmotorsmm.com

Invoice to

@if (isset($service))
Name : {{ $service->owner_name }}
Phone : {{ $service->owner_ph }}
Address :{{ $service->owner_address }}
@else
Name : {{ $customer->customer_name }}
Phone : {{ $customer->customer_phoneNo }}
Address :{{ $customer->customer_address }}
@endif
EVEM-{{ $invoice->tid }}
{{ $invoice->invoicedate }}

Vehicle Information

@if (isset($service)) @else @endif
Model Chassic No Year Car Number Kilometer
{{ $service->car_model }} {{ $service->car_chassic }} {{ $service->car_year }} {{ $service->car_number }} {{ $service->car_klo }}{{ $invoice->car_model }} {{ $invoice->car_chassic }} {{ $invoice->car_year }} {{ $invoice->car_number }} {{ $invoice->car_klo }}
{{-- --}} @foreach ($result as $key => $value) {{-- --}} @endforeach
{{ trans('No') }} {{ trans('Description') }} {{ trans('Qty') }} {{ trans('Unit Price') }} {{ trans('Discount') }}{{ trans('Amount (MMK)') }}
{{ $key + 1 }} {{ $value->product_name }} {{ $value->product_qty }} {{ $value->product_price }} {{ $value->product_discount }} @if ($value->foc > 0) FOC @else {{ ($value->product_qty || 1) * $value->product_price }} @endif
Sub Total {{ number_format($invoice->total) }}
Discount {{-- {{ $value->product_discount }} --}} {{-- @php $results = DB::table('sells') ->select('invoiceid', DB::raw('SUM(product_discount) as total_product_discount')) ->groupBy('invoiceid') ->get(); @endphp --}} {{ $totalProductDiscount }}
Total {{ number_format($invoice->super_total) }}
Paid {{ number_format($invoice->paid) }}
Balance {{ number_format($invoice->balance) }}


Service Advisor By
Thet Wai Tun
Service Approved By
Tint Zayar Kyaw
Customer Signature

{{-- ___________________ --}}