@extends('layouts.adminapp') @section('title') {{ __('lng.JournalVoucher') }} @endsection @section('active_report', 'active') @section('open_report', 'open') @section('open_voucher', 'open') @section('active_voucher', 'active') @section('journal_voucher', 'active') @section('content')

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

{{ __('lng.JournalVoucherReport') }}
@php $si=$Total=0; @endphp @foreach ($JournalPaginations as $JournalPagination) @php $DTs = date("F-d-Y",strtotime($JournalPagination->date));@endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.Credit') }} {{ __('lng.Debit') }} {{ __('lng.Narration') }} {{ __('lng.Amount') }}
{{ ++$si }} {{ $DTs }} {{ $JournalPagination->creditledger->title }} {{ $JournalPagination->debitledger->title }} {{ $JournalPagination->narration }} @currency($JournalPagination->amount ?? '0')
{{ __('lng.Total') }} @currency($Total)
@foreach ($Journals as $Amount) @php $Total += $Amount->amount; @endphp @endforeach
{{ __('lng.TotalAmount') }} @currency($Total)
@endsection