The reserve funds the bank keeps, the percentage of each year's net profit appropriated to each, and the GL account
each one is credited to. Whatever is not appropriated stays in profit.
@if (errorMsg) {
{{ errorMsg }}
}
@if (successMsg) {
{{ successMsg }}
}
@if (loading) {
Loading…
} @else {
Profit is taken from
@switch (profitSource.state) {
@case ('mapped') {
@if (profitSource.state === 'mapped') {
{{ profitSource.glCode }} · {{ profitSource.glName }}
}
The GL mapped to Distributable Profit. The year-end close posts the year's net profit
into it, and each reserve below is credited from it.
}
@case ('unmapped') {
No profit GL is mapped
Map a GL to Distributable Profit before any profit can be appropriated.
}
@case ('unknown') {
The GL mapped to Distributable ProfitYou do not have access to view the financial activity mappings.
}
@default {
Loading…
}
}
Only postable equity and liability accounts are listed, and each account can back one reserve only. A reserve
can be saved before its GL account exists; it cannot receive an appropriation until one is selected.
@if (rows.length) {
#
Reserve / fund
Credited to (GL)
% of profit
@if (profitSource.state === 'mapped') {
from {{ profitSource.glCode }}
}
@for (row of rows; track row.rowId; let i = $index) {
{{ i + 1 }}
@if (isNameDuplicate(row)) {
Listed twice
}
— Not selected —
@for (o of availableAccounts(row); track o.id) {
{{ o.glCode }} · {{ o.name }}
}
@if (row.glAccountId == null) {
GL not selected
}
%
}
Total appropriated
{{ totalPercentage }}%
Remaining in profit
{{ remainingPercentage }}%
} @else {
No reserve fund is configured yet. Add one to begin.
}
@if (overLimit) {
The reserves add up to {{ totalPercentage }}% of net profit. The total cannot exceed 100%.
}
@if (unmappedCount > 0) {
{{ unmappedCount }} reserve{{ unmappedCount === 1 ? ' has' : 's have' }} no GL account yet. Create the account
in Chart of Accounts if needed, then select it here.
Moves a closed year's profit out of the profit GL into the reserve GLs above, at their percentages — one journal
entry, dated the last day of the year. Each year can be posted once.
@if (postingError) {
{{ postingError }}
}
@if (postingSuccess) {
{{ postingSuccess }}
}
Financial year
@for (fy of posting?.financialYearOptions || []; track fy) {
FY {{ fy }}
}
@if (posting) {