@extends('accounting::layouts.app') @section('title') {{ trans_choice('accounting::lang.reconcile', 1) }} @endsection @section('css') @endsection @section('content') @include('accounting::layouts.nav') @component('accounting::components.section_header') @slot('title') {{ trans_choice('accounting::lang.reconcile', 1) }} {{ $chart_of_account->name }} @endslot @endcomponent
@csrf
@component('accounting::components.box') @slot('body') @include('accounting::reconcile.partials.reconcile_form') @include('accounting::reconcile.partials.undo_reconcile_form') @endslot @endcomponent
@component('accounting::components.box') @slot('header') @endslot @slot('body')
{{ $currency_code }} {{ number_format($ending_balance) }}
{{ strtoupper(trans('accounting::general.statement_ending_balance')) }}
-
{{ $currency_code }} {{ number_format($chart_of_account->current_balance) }}
{{ strtoupper(trans('accounting::general.cleared_balance')) }}
{{ $currency_code }} {{ number_format($opening_balance) }}
{{ strtoupper(trans('accounting::general.beginning_balance')) }}
-
{{ $currency_code }} {{ number_format($total_debit) }}
{{ $currency_code }} {{ $no_debit }} {{ strtoupper(trans_choice('accounting::lang.payment', 2)) }}
+
{{ $currency_code }} {{ number_format($total_credit) }}
{{ $currency_code }} {{ $no_credit }} {{ strtoupper(trans_choice('accounting::lang.deposit', 2)) }}
{{ $currency_code }} {{ number_format($difference) }}
{{ strtoupper(trans_choice('accounting::general.difference', 1)) }}
@php //group the results $total_debit = 0; $total_credit = 0; @endphp @foreach ($chart_of_account->journal_entries_not_reversed as $key) @php //group the results $total_debit = $total_debit + $key->debit; $total_credit = $total_credit + $key->credit; @endphp @endforeach
{{ trans_choice('accounting::lang.date', 1) }} {{ trans_choice('accounting::general.gl_code', 1) }} {{ trans_choice('accounting::lang.description', 1) }} {{ trans_choice('accounting::general.debit', 1) }} {{ trans_choice('accounting::general.credit', 1) }} {{ trans_choice('accounting::general.balance', 1) }}
{{ $key->date }} {{ $chart_of_account->gl_code }} {{ $key->notes }} {{ number_format($key->debit, 2) }} {{ number_format($key->credit, 2) }} {{ number_format($total_credit - $total_debit, 2) }}
{{ trans_choice('accounting::lang.total', 1) }} ({{ $currency_code }}) {{ number_format($total_debit, 2) }} {{ number_format($total_credit, 2) }} {{ number_format($total_credit - $total_debit, 2) }}
@endslot @endcomponent
@stop @section('javascript') @endsection