@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Account Payable') @section('css') @endsection @section('content')
{{--
 
--}}
@php $no = 1; $idx_item = 0; @endphp @foreach($account_payables as $account_payable) @php $balance = $account_payable->nett_balance - $account_payable->paid_amount @endphp @if($balance > 0) @if($account_payable->supplier) @else @endif @endif @php $no++; $idx_item++; @endphp @endforeach
# Supplier Name Date Doc. Number Deliver Note Amount Due Date Paid Remark Action
{{-- --}} @if($account_payable->supplier) @endif {{ $account_payable->supplier->company_title.' '.$account_payable->supplier->company_name }}Empty Recipient{{ 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) }} {{ $account_payable->note }} @if ($account_payable->status_manual == 1) @endif
@endsection @section('js') @endsection