Order # {{ $OrderInvoice->code }}
Date: {{ $OrderInvoice->order_date }}

logo

Shipped To:
{{ $OrderInvoice->Contact->business_name }}
{{ $OrderInvoice->Contact->shipping_address }},@if ($OrderInvoice->Contact->District) {{ $OrderInvoice->Contact->District->name }}@endif
{{ $OrderInvoice->Contact->mobile }}
{{--
Billed To:
{{$OrderInvoice->Contact->business_name}}
{{$OrderInvoice->Contact->shipping_address}},@if ($OrderInvoice->Contact->District){{($OrderInvoice->Contact->District->name)}}@endif
{{$OrderInvoice->Contact->mobile}}
--}}
Shipped From:
@if ($companyInfo) {{ $companyInfo->name }}
{{ $companyInfo->address }}
{{ $companyInfo->mobile }}
@endif

Order summary

{{-- class="table-responsive"--}} {{-- --}} @php $i = 0; $subTotal = 0; @endphp @foreach ($OrderDetails as $orderDetail) {{-- --}} @php $subTotal += $orderDetail->unit_price * $orderDetail->quantity; @endphp @endforeach @if ($OrderInvoice->apply_cash_back) @endif @if($OrderInvoice->discount > 0) @endif {{-- --}}
Sr. Vendor Image ProductCategoryQuantity MRP Amount
{{ ++$i }}.
@if($orderDetail->Product) @if($orderDetail->Product->Vendor){{ $orderDetail->Product->Vendor->business_name }}@endif @endif
Product->ProductImageFirst)) @if ($orderDetail->Product->ProductImageFirst) src="{{ asset('storage/photo/' . $orderDetail->Product->ProductImageFirst->image) }}" @else src="{{ asset('image-not-available.jpg') }}" @endif @endif style="height:80px; weight:80px;" alt="Image2" class="img-circle img-fluid">
@if (isset($orderDetail->Product->name)) {{ $orderDetail->Product->name }}
@if($orderDetail->model_id != "" && $orderDetail->Product->product_type == '1') @php $json_models = json_decode($orderDetail->model_id); @endphp @foreach($json_models as $json_model) {{$json_model->model}} - {{$json_model->qty}} @endforeach @endif @if ($orderDetail->Product->product_type != '1')
{ @if ($orderDetail->Product->guarantee == 100) গ্যারান্টি: দোকান গ্যারান্টি @elseif($orderDetail->Product->guarantee == 99) গ্যারান্টি: ১ বছরের ওয়ারেন্টি @elseif($orderDetail->Product->guarantee == 98) গ্যারান্টি: ২ বছরের ওয়ারেন্টি @elseif($orderDetail->Product->guarantee != 0) গ্যারান্টি: {{ $orderDetail->Product->guarantee }} মাস @else গ্যারান্টি: নাই @endif } @endif @endif
{{ $orderDetail->Product->Category->name }}{{ $orderDetail->quantity }} {{ $orderDetail->unit_price }} {{ $orderDetail->unit_price * $orderDetail->quantity }}
Sub Total @if ($currencySymbol) {{ $currencySymbol->symbol }} @endif {{ $subTotal }}
পূর্বের অর্ডারের ক্যাশ ব্যাক @if ($currencySymbol) - {{ $currencySymbol->symbol }} @endif @if ($OrderInvoice->apply_cash_back) {{ $OrderInvoice->apply_cash_back }} @else 0 @endif
Discount @if ($currencySymbol) - {{ $currencySymbol->symbol }} @endif @if ($OrderInvoice->discount) {{ $OrderInvoice->discount }} @else 0 @endif
Shipping @if ($currencySymbol) {{ $currencySymbol->symbol }} @endif @if ($OrderInvoice->shipping_charge) {{$OrderInvoice->shipping_charge}} @else 0 @endif
Total

@if ($currencySymbol) {{ $currencySymbol->symbol }} @endif {{ $subTotal + $OrderInvoice->shipping_charge - $OrderInvoice->discount - $OrderInvoice->apply_cash_back }}

{{-- Start Note --}}
রিপ্লেস প্রডাক্টের নাম & সংখ্যা

{!! $OrderInvoice->note !!}

{{-- End Note --}}
@if($OrderInvoice->cash_back > 0)

{{$OrderInvoice->cash_back}} Taka Cashback Rewarded For This Order

* N.B: This cashback will be applicable at your next Order

@endif
@if ($InvoiceSetting) {!! $InvoiceSetting->invoice_footer !!} @endif