@extends('backend.layout.main')
@section('content')
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
@if (session()->has('message'))
{{ session()->get('message') }}
@endif
@if (session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif
Sales Table (Daily Sale)
| Date |
Reference Number |
Cashier |
Customer |
Grand Total |
Cash |
Card 1 |
Card 2 |
Card 3 |
Online Transfer |
Link Pay |
Due Amount |
{{-- @foreach ($sales_data as $sale) --}}
{{-- @endforeach --}}
| Total |
0.00 |
0.00 |
0.00 |
0.00 |
0.00 |
0.00 |
0.00 |
0.00 |
Credit Sale Collections
| Original Bill Date |
Reference Number |
Cashier |
Customer |
Grand Total |
@foreach ($paymentOptions as $option)
{{ $option->name }} |
@endforeach
@foreach ($creditCollections as $row)
| {{ \Carbon\Carbon::parse($row['date'])->format('Y-m-d') }} |
{{ $row['reference'] }} |
{{ $row['cashier'] }} |
{{ $row['customer'] }} |
{{ number_format($row['grand_total'], 2) }} |
@foreach ($paymentOptions as $option)
{{ number_format($row['methods'][$option->id] ?? 0, 2) }} |
@endforeach
@endforeach
| Total |
0.00 |
@foreach ($paymentOptions as $option)
0.00 |
@endforeach
Payment Method Summary
| Payment Option |
Sale Amount |
Received Amount |
Total Amount |
| Cash |
0.00 |
0.00 |
0.00 |
| Card 1 |
0.00 |
0.00 |
0.00 |
| Card 2 |
0.00 |
0.00 |
0.00 |
| Card 3 |
0.00 |
0.00 |
0.00 |
| Online Transfer |
0.00 |
0.00 |
0.00 |
| Link Pay |
0.00 |
0.00 |
0.00 |
| Grand Total |
0.00 |
0.00 |
0.00 |
@endsection
@push('scripts')
@endpush