@extends('layouts.admin') @section('title', 'Product | Mintavia Admin') @section('content')
@if (isset($message) && $message) @endif

JOURNAL ENTRY REPORT REGISTER

@csrf
{{-- From and To Date --}}
@php $shownVoucherNos = []; @endphp @if (!empty($journal_entries)) @foreach ($journal_entries as $item) @endforeach @else @endif
Date Voucher No Transaction Type Account Name Particulars Dr Amt Cr Amt Action
{{ \Carbon\Carbon::parse($item->date)->format('d/m/Y') }} {{ $item->voucher_no }} {{ $item->dr_cr }} {{ !empty($item->account) ? $item->account->name : '' }} {{ $item->remark }} {{ $item->dr_cr == 'Dr' ? $item->amount : '' }} {{ $item->dr_cr == 'Cr' ? $item->amount : '' }} @if (!in_array($item->voucher_no, $shownVoucherNos)) @php $shownVoucherNos[] = $item->voucher_no; @endphp @endif
No entries found.
@endsection @section('js') @endsection