-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Account Statement): grid footer
This commit adds a grid footer to the account statement that includes the total number of rows, the column totals, and the balance of the values in the grid. This was requested by the users at Vanga.
- Loading branch information
Showing
2 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div class="ui-grid-cell-contents"> | ||
<span>({{grid.rows.length}} <span translate>FORM.INFO.ROWS</span>)</span> | ||
<span style="padding-left:0.5em;"> | ||
<strong translate>FORM.LABELS.DEBIT</strong>: {{ grid.appScope.balances.debits | currency:grid.appScope.enterprise.currency_id }} | ||
</span> | ||
<span style="padding-left:0.5em;"> | ||
<strong translate>FORM.LABELS.CREDIT</strong>: {{ grid.appScope.balances.credits | currency:grid.appScope.enterprise.currency_id }} | ||
</span> | ||
<span style="padding-left:0.5em;"> | ||
<strong translate>FORM.LABELS.BALANCE</strong>: {{ grid.appScope.balances.balance | currency:grid.appScope.enterprise.currency_id }} | ||
</span> | ||
</div> |