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

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


@foreach ($receivables as $key=>$receivable) @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')}}
{{ $receivable->date }} {{ $receivable->account->account}}
{{ $receivable->tran_type}}
{{ priceCurrencyFormatPlacing($receivable->amount, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }} {{ Str::limit($receivable->description,30) }} @if ($receivable->debit) {{ priceCurrencyFormatPlacing($receivable->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 ($receivable->credit) {{ priceCurrencyFormatPlacing($receivable->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($receivable->balance, \App\Utils\Helpers::currency_symbol(), \App\Utils\Helpers::currency_position()) }}
{!! $receivables->links() !!}
@if(count($receivables)==0) @include('layouts.admin.partials._no-data-section') @endif
@endsection @push('script_2') @endpush