Sales Return List
{{ ucfirst($business_name)}}
{{ ($sales_type == "bo_sales") ? "Bo Sales":"Terminal Sales" }}
From {{ !empty($from) ? date('d F Y', strtotime($from)) : '' }} till {{ !empty($to) ? date('d F Y', strtotime($to)) : '' }}
@php($i = 1) @php ($total_return_amt = 0) @php ($discount_amt = 0) @php ($tax_amt = 0) @php($total_amt = 0) @foreach($r_orders as $r_order) @php($total_return_amt += $r_order->amount_to_pay) @php($total_amt += $r_order->total_amount) @php($i++) @if(!empty($r_order['order_items'])) @endif @endforeach
Serial Invoice No Customer Name Particulers Invoice Date Return date Order Amount Return Amount
{{$i}} {{$r_order->invoice_no}} {{($r_order->fname)?$r_order->fname:"General"}} {{$r_order->invoice_date}} {{$r_order->return_date}} {{$r_order->total_amount}} {{$r_order->amount_to_pay}}
@foreach($r_order['order_items'] as $item) @php($tax_amt+= $item->tax_amount) @php($discount_amt+= $item->discount_amt) @endforeach
Item(s) Qty Amount
{{$item->product_name}} {{$item->quantity}} {{$item->price}}
{{-- Tax : {{$tax_amt}} --}} {{-- Discount : {{$discount_amt}} --}} Return Amount : {{number_format($total_return_amt, $decimal_point)}}