@extends('admin.layout.master') @section('title','BILL LIST') @section('custom_style') @endsection @section ('content')

{{$type==1? lt('obs.sale_return_list') :''}}

{{-- --}}
{{-- --}}
@if($type==1) @endif
{{--
--}}
@csrf @php $p=1; $totalBill=0; @endphp @forelse ($invoices as $i=>$item) @php $totalBill+=$item->net_total; @endphp @empty @endforelse
# {{lt('obs.invoice_no')}} {{lt('obs.order_no')}} {{lt('obs.date')}} {{lt('obs.ammount')}} {{lt('obs.action')}}
{{ ($p++) }} {{ $item->invoice_no }} {{ $item->order?$item->order->order_no:'' }} {{ date('d-M-Y h:i A',strtotime(Request()->date_type==1?$item->created_at:$item->date)) }} {{ number_format($item->net_total,2) }} {{-- --}} @if($item->status==1) {{lt('obs.bill')}} {{lt('obs.bill')}} @endif
{{lt('obs.total')}} {{$totalBill}}
{{-- @include('inventory.order.detail_modal') --}} @endsection @section('script') @stop