@extends('layouts.admin') @section('title', trans('general.title.new', ['type' => trans_choice('general.reconciliations', 1)])) @section('content')
{{ trans('general.date') }} | {{ trans('general.description') }} | {{ trans_choice('general.contacts', 1) }} | {{ trans('reconciliations.deposit') }} | {{ trans('reconciliations.withdrawal') }} | {{ trans('general.clear') }} | ||
---|---|---|---|---|---|---|---|
@date($item->paid_at) | {{ $item->description }} | {{ $item->contact->name }} | @if ($item->isIncome())@money($item->amount, $item->currency_code, true) | N/A | @elseN/A | @money($item->amount, $item->currency_code, true) | @endif
@php $type = $item->isIncome() ? 'income' : 'expense'; @endphp
{{ Form::checkbox($type . '_' . $item->id, $item->amount_for_account, $item->reconciled, [
'data-field' => 'transactions',
'v-model' => 'form.transactions.' . $type . '_' . $item->id,
'id' => 'transaction-' . $item->id . '-'. $type,
'class' => 'custom-control-input',
'@change' => 'onCalculate'
]) }}
|
{{ trans('reconciliations.opening_balance') }}: | @money($opening_balance, $account->currency_code, true) |
---|---|
{{ trans('reconciliations.closing_balance') }}: | {{ Form::moneyGroup('closing_balance_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.closing_balance', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $account->currency_code, true) |
{{ trans('reconciliations.cleared_amount') }}: | {{ Form::moneyGroup('cleared_amount_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.cleared_amount', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $account->currency_code, true) |
{{ trans('general.difference') }}: | {{ Form::moneyGroup('difference_total', '', '', ['disabled' => true, 'required' => 'required', 'v-model' => 'totals.difference', 'currency' => $currency, 'masked' => 'true'], 0.00, 'text-right d-none') }} @money(0, $account->currency_code, true) |