@extends('layouts.master') @push('styles') @endpush @section('content')
Welcome back, {{ auth()->user()->name }} — Daily turnover, volume dispatched & customer recovery
| Bill # | Customer | Date | Total Amount | Paid | Balance | Status | Action |
|---|---|---|---|---|---|---|---|
| #{{ $rs->bill_no ?? $rs->s_no ?? $rs->id_sales }} |
{{ $rs->customer->customer_name ?? $rs->customer_name ?? 'Walk-in Customer' }}
@php $custPhone = $rs->customer->customer_cell ?? $rs->customer_phone ?? ''; @endphp
@if(!empty($custPhone))
{{ $custPhone }}
@endif
|
{{ $rs->date ? \Carbon\Carbon::parse($rs->date)->format('d M, Y') : '-' }} | {{ number_format($rs->total_amount, 2) }} | {{ number_format($rs->paid, 2) }} | {{ number_format($rs->balance, 2) }} | @if($rs->balance <= 0) Paid @elseif($rs->paid > 0) Partial @else Unpaid @endif | |
| No sales records found. | |||||||