{{ form_errors(form) }}
{{ form_start(form, {'attr': {'novalidate': 'novalidate', 'class': 'form d-flex flex-column flex-lg-row'}}) }}
{{ form_widget(form.name)}}
{{ form_errors(form.name) }}
A ledger name is required and recommended to be unique.
{{ form_label(form.system_chart) }}
{{ form_widget(form.system_chart, {'attr': {'data-control': 'select2'}})}}
{{ form_errors(form.system_chart) }}
Set the ledger Account belongs.
{{ form_label(form.ledger) }}
{{ form_widget(form.ledger, {'attr': {'data-control': 'select2'}})}}
{{ form_errors(form.ledger) }}
Select a primary ledger for this account.
{{ form_label(form.weight) }}
{{ form_widget(form.weight)}}
{{ form_errors(form.weight) }}
Set Ledger weigt.
{{ form_label(form.opening_balance) }}
{{ form_widget(form.opening_balance)}}
{{ form_errors(form.opening_balance) }}
Enter the opening amount for this account.
This will make the balance the opposite of the normal balance for this account.
Allow Ledger to accept tranasction.
Ledger should be contra the normal balance of the chart it belongs.
Cancel
{% if ledger.uuid is defined %}
Delete
{% endif %}
{{ form_end(form) }}
{% if ledger.uuid is defined %}
{% endif %}