@extends('layouts.portal') @section('title', __('Journal Entries')) @push('styles') @include('accounting.journal._styles') @endpush @section('content')
@include('partials.portal-header')

{{ __('Journal Entries') }}

{{ __('Accounting Module') }}

@if(session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ __('Clear') }}
@forelse($entries as $entry) @empty @endforelse
{{ __('Number') }} {{ __('Date') }} {{ __('Description') }} {{ __('Reference') }} {{ __('Source') }} {{ __('Status') }} {{ __('Total') }} {{ __('Created by') }}
{{ $entry->display_number }} {{ $entry->entry_date->format('Y-m-d') }} {{ $entry->description }} {{ $entry->reference }} {{ $entry->source_module }} {{ $entry->status === 'voided' ? __('Voided') : __('Posted') }} {{ number_format((float) $entry->total_amount, 2) }} {{ $entry->creator?->name }}
{{ __('No journal entries found.') }}
@if($entries->hasPages()) @endif
@endsection