@extends('layouts.nav') @section('title') {{$JournalType}} Journal @endsection @section('content')
Date | {{ $JournalType == 'General' ? 'GL Name' : $JournalType . ' Name' }} | {{ $JournalType == 'General' ? 'GL Code' : $JournalType . ' Code' }} | Narration | DR | CR | Status | Action |
---|---|---|---|---|---|---|---|
{{ \Carbon\Carbon::parse($jt->EntryDate)->format('Y-m-d') }} | {{ Str::limit($jt->display_name, 12) }} | {{ $jt->AccSubCode }} | {{ $jt->Narration }} | {{-- Assuming DR and CR are mutually exclusive --}} {{ number_format($jt->DR, 2) }} | {{-- Assuming DR and CR are mutually exclusive --}} {{ number_format($jt->CR, 2) }} | Open Journal |