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

Pre-Made Foods

@if(session('success'))
{{ session('success') }}
@endif
Entries
@include('custom-crud._export-menu',['module'=>'pre-made-foods'])
@forelse($records as $record) @empty@endforelse
SNCodeNameCategoryPurchase PriceLow Quantity/AmountUnitAdded ByActions
{{ $records->firstItem()+$loop->index }}{{ $record->code }}{{ $record->name }}{{ $record->categoryRecord?->name ?? $record->category }}{{ number_format((float)$record->purchase_price,2) }}{{ rtrim(rtrim(number_format((float)$record->low_quantity,3,'.',''),'0'),'.') }}{{ $record->consumptionUnit?->unit_name ?? $record->unit }}{{ $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