@extends('layouts.dashboard') @section('title', __('General Ledger')) @section('page_title', __('General Ledger')) @section('content') @include('accounting::partials.nav', ['active' => 'report-gl'])
{{ __('General Ledger') }} {{ \Carbon\Carbon::parse($from)->format('d M Y') }} – {{ \Carbon\Carbon::parse($to)->format('d M Y') }}
{{ __('Export CSV') }}
@forelse($entries as $e) @foreach($e->lines as $i => $l) @endforeach @empty @endforelse
{{ __('Date') }}{{ __('Entry') }}{{ __('Account') }}{{ __('Debit') }}{{ __('Credit') }}{{ __('Memo') }}
{{ $i === 0 ? $e->entry_date->format('d M Y') : '' }} @if($i === 0){{ $e->entry_no }}@endif {{ $l->account?->code }} {{ $l->account ? __($l->account->name) : '' }} {{ money_blank($l->debit) }} {{ money_blank($l->credit) }} {{ $i === 0 ? $e->memo : $l->memo }}
{{ __('No entries in this range.') }}
{{ $entries->links() }}
@endsection