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

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

@include('PrintHeader.header')

{{ App\Models\VoucherType::find($VoucherTypeID)->title ?? '' }}

{{ __('lng.FromDate') }}: {{ date('d-m-Y', strtotime($From)) }}, {{ __('lng.ToDate') }}: {{ date('d-m-Y', strtotime($To)) }}, {{__('lng.VoucherType')}}: {{App\Models\VoucherType::find($VoucherTypeID)->title ?? ''}}
@php $si=$Total=0; @endphp @foreach ($Journals as $Journal) @php $DTs = date("F-d-Y",strtotime($Journal->date));@endphp @php $Total+=$Journal->amount; @endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.Credit') }} {{ __('lng.Debit') }} {{ __('lng.Narration') }} {{ __('lng.Amount') }}
{{ ++$si }} {{ $DTs }} {{ $Journal->creditledger->title }} {{ $Journal->debitledger->title }} {{ $Journal->narration }} @currency($Journal->amount ?? '0')
{{ __('lng.Total') }} @currency($Total)
{{ __('lng.Back') }}
@endsection