@extends('admin.layout.master') @section('title','SALES REPORT') @section('content')

Sales List

@php($i = 1) @foreach ($result as $item) @endforeach
Sl Date Invoice No Customer Payment Method Amount Vat Service charge ​ Discount​ Total
{{ $i++ }} {{ date('d-m-Y h:i:s A', strtotime($item->created_at)) }} {{ $item->id }} {{ $item->customer ? $item->customer->ledger_title : 'Not Found' }} @if ($item->bill_status == 1)

Unpaid

@elseif ($item->bill_status ==2)

Paid

@endif
{{ $item->sub_total }} {{ $item->vat }} {{ $item->service_charge }} {{ $item->dis_taka }} {{ $item->sub_total - $item->dis_taka }}
@endsection @section('script') @endsection