Lịch sử thanh toán
@if(isset($payment) &&count($payment)) @php // Thanh toán đã chốt sổ hoa hồng đối tác thì không cho xoá $lockedPaymentIds = \App\Services\PartnerCommissionService::lockedPaymentIds($payment->pluck('id')->toArray()); @endphp @foreach($payment as $item) @endforeach @else @endif
Ngày Số tiền Ghi chú
{{ date('d-m-Y', strtotime($item->payment_date)) }} {{ number_format($item->price) }} {{\App\Models\PaymentHistory::label[$item->payment_type] ?? ''}} {{ $item->description }} @if(in_array($item->id, $lockedPaymentIds)) @else @endif
Chưa có giao dịch thanh toán