@if($shopinfo->shop_name!=null)

{{$shopinfo->shop_name}}

{{$shopinfo->shop_address}}

{{$shopinfo->shop_email}} , {{$shopinfo->shop_phone}}

@else

Leftjoin

Mirpur ,Dhaka

leftjoin@gmail.com , 01738088325

@endif

{{trans('label.Supplier')}} : {{$suppliertype=($order_datails->SupplierProfile->name ?? 'Cash Supplier')}}

@if($suppliertype!='Cash Supplier')

{{trans('label.Phone')}} : {{$order_datails->SupplierProfile->phone ?? null}}

{{trans('label.Address')}} : {{$order_datails->SupplierProfile->address ?? null}}

@endif

{{trans('label.Date')}} : {{$order_datails->created_at}}

{{trans('label.Invoice No')}} : {{$order_datails->id}}

{{trans('label.Transaction Type')}} : @forelse($transaction_terms as $terms)@if($terms->id==$order_datails->transection_type) {{$terms->name}} @endif @empty @endforelse

{{trans('label.Created By')}} : {{$order_datails->User->name ?? null}}

@forelse($info as $invoice) @if(array_key_exists($invoice->id, $return_product_array)) @if($return_product_array[$invoice->id]->qty !=$invoice->qty) @endif @else @endif @empty @endforelse
{{trans('label.Product Id')}} {{trans('label.Product Name')}} {{trans('label.QTY')}} {{trans('label.Price')}} {{trans('label.VAT')}} % {{trans('label.Discount')}} % {{trans('label.Total')}}
{{$invoice->product_id}} {{$invoice->ProductProfile->name ?? null}} {{$modifyqty=($invoice->qty)-($return_product_array[$invoice->id]->qty)}} {{$invoice->price}} {{$invoice->vat_rate}} {{$invoice->discount_rate}} {{$invoice->line_total-($return_product_array[$invoice->id]->line_total)}}
{{$invoice->product_id}} {{$invoice->ProductProfile->name ?? null}} {{$invoice->qty}} {{$invoice->price * $invoice->qty}} {{$invoice->vat_rate}} {{$invoice->discount_rate}} {{$invoice->line_total}}
{{trans('label.Gross Total')}} {{$purchase_gross->grosspurchase}}
{{trans('label.Discount Amount')}}{{$gross_discount->grossdiscount}}
{{trans('label.VAT Amount')}} {{$gross_vat->grossvat}}
{{trans('label.Net Total')}} {{$net_amount_fordue_cal=($purchase_gross->grosspurchase-($gross_discount->grossdiscount- $gross_vat->grossvat))}}
{{trans('label.Payment')}}
{{trans('label.Due Amount')}} {{$net_amount_fordue_cal-$order_datails->payment_amount}}