@extends('layouts.app') @section('title', 'Journal Entry Details') @section('content')
Entry Number
{{ $journalEntry->entry_number }}
Entry Date
{{ $journalEntry->entry_date->format('M d, Y') }}
Status
{{ ucfirst($journalEntry->status) }}Description
{{ $journalEntry->description }}
Reference: {{ class_basename($journalEntry->reference_type) }} #{{ $journalEntry->reference_id }}
| Line # | Account Code | Account Name | Description | Debit | Credit |
|---|---|---|---|---|---|
| {{ $line->line_number }} | {{ $line->account->account_code }} | {{ $line->account->account_name }} | {{ $line->description ?? '-' }} | @if($line->debit_amount > 0) {{ number_format($line->debit_amount, 2) }} @else - @endif | @if($line->credit_amount > 0) {{ number_format($line->credit_amount, 2) }} @else - @endif |
| Total | LKR {{ number_format($totalDebits, 2) }} | LKR {{ number_format($totalCredits, 2) }} | |||
Created By
{{ $journalEntry->creator->name }}
{{ $journalEntry->created_at->format('M d, Y h:i A') }}
Posted By
{{ $journalEntry->approver->name }}
{{ $journalEntry->posted_at->format('M d, Y h:i A') }}
Voided By
{{ $journalEntry->voider->name }}
{{ $journalEntry->voided_at->format('M d, Y h:i A') }}