Supplier Name | Date | Doc. Number | Deliver Note | Amount | Due Date | Paid | Remark | Action | |
---|---|---|---|---|---|---|---|---|---|
{{ $account_payable->supplier->company_title.' '.$account_payable->supplier->company_name }} | @elseEmpty Recipient | @endif{{ date('d-m-Y', strtotime($account_payable->invoice_date)) }} | {{ $account_payable->document_no }} | {{ $account_payable->deliver_note }} | {{ ribuanWithComma($balance) }} | {{ date('d-m-Y', strtotime($account_payable->due_date)) }} | {{ ribuanWithComma($account_payable->paid_amount) }} |
@php
if ($account_payable->note != null) {
if(strlen($account_payable->note) > 10){
$singkatanBefore = substr($account_payable->note, 0, 15).' [more]';
}
else{
$singkatanBefore = $account_payable->note;
}
}else {
$singkatanBefore = null;
}
@endphp
{!! $singkatanBefore !!}
|
@if ($account_payable->status_manual == 1) @endif |