@extends('master.app') @section('title', 'Customer Receiveds') @section('pageCSS') @endsection @section('body') @include('general.valert') Customer Receiveds Filter • View • Edit • Print receipt Filter Add Records: {{ $data->total() }} Today: {{ date('Y-m-d') }} {{-- ✅ FILTER CARD (same index route) --}} Filter Type By Received Number By Title By Date Customer All Customers @foreach($customers as $c) id)> {{ $c->name }} @endforeach Currency All Currency @foreach($currencies as $cur) id)> {{ $cur->title_en }} @endforeach Status All Active Inactive {{-- By number --}} Received Number {{-- By title --}} Title {{-- By date --}} From To Min Max Reset Apply {{-- ✅ TABLE --}} # Title Customer R-Number Date Received Action @forelse ($data as $row) {{ $loop->iteration }} {{ $row->title }} {{ $row->customer->name ?? '-' }} {{ $row->recieved_number }} {{ $row->date }} {{ number_format($row->amount ?? 0, 2) }} {{ $row->currency->title_en ?? '' }} {{-- show single receipt --}} {{-- receipt print --}} @empty No data found @endforelse {{ $data->links('pagination::bootstrap-4') }} @endsection @section('pageJs') @endsection