@extends('layouts.app') @section('content')

Purchases

@if(session('success'))
{{ session('success') }}
@endif
Entries
Add Purchase
@include('custom-crud._export-menu',['module'=>'purchases'])
@forelse($records as $record)@empty@endforelse
SNReference NoPayment MethodDateSupplierG. TotalPaidDueAdded ByActions
{{ $records->firstItem()+$loop->index }}{{ $record->reference_no }}{{ ucfirst($record->payment_method) }}{{ $record->purchase_date?->format('m/d/Y') }}{{ $record->supplier?->name }}{{ number_format((float)$record->grand_total,2) }}{{ number_format((float)$record->paid,2) }}{{ number_format((float)$record->due,2) }}{{ $record->creator?->name ?? 'Admin User' }}
Edit
@csrf @method('DELETE')
No data available in table
Showing {{ $records->count()?$records->firstItem():0 }} to {{ $records->count()?$records->lastItem():0 }} of {{ $records->total() }} entries
{{ $records->links() }}
@endsection