@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

Daily Sale Payment Report

Sales Table (Daily Sale)

{{-- @foreach ($sales_data as $sale) --}} {{-- @endforeach --}}
Date Reference Number Cashier Customer Grand Total Cash Card 1 Card 2 Card 3 Online Transfer Link Pay Due Amount
Total 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00

Credit Sale Collections

@foreach ($paymentOptions as $option) @endforeach @foreach ($creditCollections as $row) @foreach ($paymentOptions as $option) @endforeach @endforeach @foreach ($paymentOptions as $option) @endforeach
Original Bill Date Reference Number Cashier Customer Grand Total{{ $option->name }}
{{ \Carbon\Carbon::parse($row['date'])->format('Y-m-d') }} {{ $row['reference'] }} {{ $row['cashier'] }} {{ $row['customer'] }} {{ number_format($row['grand_total'], 2) }}{{ number_format($row['methods'][$option->id] ?? 0, 2) }}
Total 0.000.00

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