@extends('layouts.user') @section('title', __('suppliers.supplier_ledger')) @section('content')
| {{ __('suppliers.date') }} | {{ __('suppliers.type') }} | {{ __('suppliers.debit') }} | {{ __('suppliers.credit') }} | {{ __('suppliers.memo_proof') }} | {{ __('suppliers.note') }} | {{ __('suppliers.action') }} |
|---|---|---|---|---|---|---|
|
{{ optional($t->posted_at)->format('d M Y') ?? $t->created_at->format('d M Y') }}
{{ optional($t->posted_at)->format('h:i A') ?? $t->created_at->format('h:i A') }}
|
{{ strtoupper($t->type) }}
{{ $t->memo_no ?? $t->trx_no ?? '' }}
|
{{ number_format((float)$t->debit, 2) }} | {{ number_format((float)$t->credit, 2) }} |
@if($t->memo_photo)
{{ __('suppliers.view_memo') }}
@endif
@if($t->payment_proof_photo)
{{ __('suppliers.view_proof') }}
@endif
@if(!$t->memo_photo && !$t->payment_proof_photo)
—
@endif
|
{{ $t->note }} | {{ __('suppliers.edit') }} |
| {{ __('suppliers.no_transactions_found') }} | ||||||