Tax Invoice

Logo {{-- --}}

Fashion-Leo

{{ $soldby?->city }},{{ $soldby?->state }}, {{ $soldby?->pincode }}

Website : fashionleo.in  Email : info@fashionleo.com

@foreach ($orderdata as $list)
{{-- @php $address = json_decode($orderdata->address,true); @endphp --}} @php $address = json_decode($list->address,true); @endphp
Customer Name : {{$address['name']}}
Address type : {{$address['address_type']}}
Address: {{$address['address']}}
Locality: {{$address['locality']}}

Sold By :

GST :{{$gst_number}}
Name : {{$soldby?->name}}
Address: {{$soldby?->address}}
State: {{$soldby?->state}}
City: {{$soldby?->city}}
{{--

Manufactured By:

GST :{{$list->getVendor->gst_no}}
Name : {{$list?->getVendor?->business_name}}
Address: {{$list?->getVendor?->address}}
State: {{$list?->getVendor?->state}}
City: {{$list?->getVendor?->city}}
--}}

Billing Address :

Customer Name : {{$address['name'] ?? ""}}
Address type : {{$address['address_type']?? ""}}
Address: {{$address['address']?? ""}}
Locality: {{$address['locality']?? ""}}
Pincode: {{$address['pincode']?? ""}}

Shipping Address :

Customer Name : {{$address['name'] ?? ""}}
Address type : {{$address['address_type']?? ""}}
Address: {{$address['address']?? ""}}
Pincode: {{$address['pincode']?? ""}}
Invoice #FL-{{ $list->id }}

Invoice Date: {{ $list->created_at }}

Payment Method: {{ $list->payment_method }}
@if($orderdata[0]['User']['state'] == $orderdata[0]['getVendor']['state']) @else @endif @foreach ($list->getItem as $data) @php if($data->offer_price == null){ $price = $data->original_price; }else{ $price = $data->offer_price; } @endphp @foreach ($data->ProductDetail as $pdata) @php $gst = $pdata->gst+100; @endphp @if($orderdata[0]['User']['state'] == $orderdata[0]['getVendor']['state']) @php $gstamount = $price - round($price*100/$gst); @endphp @else @endif @endforeach @endforeach @if($orderdata[0]['User']['state'] == $orderdata[0]['getVendor']['state']) @else @endif
Description Unit Price Qty Net amount Hsn Code GST%CGST SGSTIGSTTotal
{{$pdata->product_name }} {{round($price*100/$gst)}} {{$data->quantity}} {{round($price*100/$gst) * $data->quantity}} {{ $pdata?->hsn_code ?? 'No Data' }} {{ $pdata->gst ?? '0' }}{{$gstamount/2}} {{$gstamount/2}}{{$price - round($price*100/$gst)}}{{$price * $data->quantity}}
Discount {{$list->discount_price}}
Grand Total {{$list->original_price - $list->discount_price}}
Discount {{$list->discount_price}}
Grand Total {{$list->original_price - $list->discount_price}}
@endforeach