@extends('layouts.adminapp') @section('content')
| {{ __('lng.Name') }} | {{ __('lng.Invoice') }} | {{ __('lng.Date') }} | {{ __('lng.Head') }} | {{ __('lng.Amount') }} |
|---|---|---|---|---|
| {{++$i}} | --}}{{App\Models\AccountLedger::find($AccountLedger->LedgerID)->title ?? ''}} | @currency($AccountLedger->debited) | @currency($AccountLedger->credited) | |
| {{__('lng.Total')}} | @currency($TotalDebit) | @currency($TotalCredit) | ||
| {{__('lng.Balance')}} | @if ( $TotalCredit - $TotalDebit >= 0 ) @currency($TotalCredit - $TotalDebit) {{__('lng.CR')}} @else @currency(abs($TotalCredit - $TotalDebit)) {{__('lng.DR')}} @endif | |||