@extends('layouts.admin.app') @section('title',\App\Utils\translate('Add new Payable')) @section('content')
@csrf

{{\App\Utils\translate('account_payable')}}


@foreach ($payables as $key=>$payable) @endforeach
{{ \App\Utils\translate('date') }} {{ \App\Utils\translate('account') }} {{\App\Utils\translate('type')}} {{\App\Utils\translate('amount')}} {{\App\Utils\translate('description')}} {{ \App\Utils\translate('debit') }} {{\App\Utils\translate('credit')}} {{\App\Utils\translate('balance')}} {{\App\Utils\translate('action')}}
{{ $payable->date }} {{ $payable->account->account}}
{{ $payable->tran_type}}
{{ priceCurrencyFormatPlacing($payable->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} {{ Str::limit($payable->description,30) }} @if ($payable->debit) {{ priceCurrencyFormatPlacing($payable->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @else {{ priceCurrencyFormatPlacing(0, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @endif @if ($payable->credit) {{ priceCurrencyFormatPlacing($payable->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @else {{ priceCurrencyFormatPlacing(0, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} @endif {{ priceCurrencyFormatPlacing($payable->balance, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }}
{!! $payables->links() !!}
@if(count($payables)==0) @include('layouts.admin.partials._no-data-section') @endif
@endsection @push('script_2') @endpush