Personal Information
Item Information
Problem Description
Service Details
@php $statusVal = old('status', $repair->status ?? 0); @endphp
Payment Details
@if($mode === 'edit' && $repair->payments->count())
Existing Payments
| Date |
Type |
Remark |
Amount |
Actions |
@foreach($repair->payments as $payment)
| {{ optional($payment->pay_date)->format('Y-m-d') }} |
@php $types=[0=>'Cash',1=>'Card',2=>'Bank']; @endphp
{{ $types[$payment->pay_type] ?? 'Cash' }}
|
{{ $payment->remark }} |
{{ number_format($payment->amount, 2) }} |
|
@endforeach
@endif