@extends('layouts.adminapp') @section('title') {{ __('lng.LedgerReport') }} - {{ __('lng.Print') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_account', 'open') @section('active_account', 'active') @section('ledger_report', 'active') @section('content')
{{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 |