@extends('admin.layout.master') @section('title','SALES REPORT') @section('content')
| 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 }} |