forked from IMA-WorldHealth/bhima
-
Notifications
You must be signed in to change notification settings - Fork 0
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 beginning balance
This commit adds the beginning balance to the Account Statement grid for the period shown on the grid. To do so, I had to add a new function to the accounts service to search for the first date in a generic period selection. Closes IMA-WorldHealth#1762.
- Loading branch information
Showing
9 changed files
with
162 additions
and
36 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
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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
<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.BEGINNING_VIEW_BALANCE</strong>: {{ grid.appScope.balances.opening | currency:grid.appScope.enterprise.currency_id }} | ||
</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 }} | ||
<strong translate>FORM.LABELS.DIFFERENCE</strong>: {{ grid.appScope.balances.difference | currency:grid.appScope.enterprise.currency_id }} | ||
</span> | ||
</div> |
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
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
Oops, something went wrong.