@if (isset($ajax) && $ajax == true) @foreach($accounts_payable as $key=>$val) {{$val->party_ledger_name}} {{$val->balance_amount}} @endforeach @else
Accounts Payable
Party Ledger Balance Amount
@endif