@extends('layouts.adminapp') @section('content')
@include('PrintHeader.header')

{{__('lng.VoucherReport')}}

@php $si=$TotalDebit=$TotalCredit=0; @endphp @foreach($LedgerPostings as $LedgerPosting) @php $DTs = date("d-m-Y",strtotime($LedgerPosting->date)); @endphp @php $TotalDebit+=$LedgerPosting->debit; $TotalCredit+=$LedgerPosting->credit; @endphp @endforeach
{{__('lng.SiNo')}} {{__('lng.Date')}} {{__('lng.VoucherType')}} {{__('lng.VoucherNumber')}} {{__('lng.Ledger')}} {{__('lng.Debit')}} {{__('lng.Credit')}}
{{++$si}} {{$DTs}} {{$LedgerPosting->vouchertype->title}} {{$LedgerPosting->vouchernumber}} {{$LedgerPosting->accountledger->title}} @currency($LedgerPosting->debit) @currency($LedgerPosting->credit)
Total @currency($TotalDebit) @currency($TotalCredit)
@endsection