{{-- resources/views/employee/receipts/index.blade.php --}} @extends('layouts.employee') @section('title', 'Print Receipts') @section('page_title', 'Print Receipts') @section('icon', 'fa-receipt') @section('breadcrumb') @endsection @section('content')
Receipt Generator
@csrf
Enter order number to load details
Recently Printed Receipts
@forelse($receipts as $receipt) @empty @endforelse
Receipt # Order # Type Amount Printed By Printed At Copies Actions
{{ $receipt->receipt_number }} #{{ $receipt->order->order_number ?? 'N/A' }} {{ ucfirst($receipt->type) }} Rp {{ number_format($receipt->amount, 0, ',', '.') }} {{ $receipt->printedBy->name ?? auth()->user()->name }} {{ $receipt->created_at->format('d M Y, H:i') }}
{{ $receipt->created_at->diffForHumans() }}
{{ $receipt->copies }}
No receipts printed today

Start by printing a receipt above

@endsection