-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
5796 Improve the journal log with grid
- Loading branch information
1 parent
e44ec3c
commit bec2127
Showing
7 changed files
with
124 additions
and
38 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div class="ui-grid-cell-contents"> | ||
<span ng-if="row.entity.action === 'deleted'" class="text-danger text-uppercase" translate> | ||
POSTING_JOURNAL.DELETED_TRANSACTION | ||
</span> | ||
<span ng-if="row.entity.action === 'edit'" class="text-primary text-uppercase" translate> | ||
POSTING_JOURNAL.EDITED_TRANSACTION | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="ui-grid-cell-contents"> | ||
<span>({{grid.rows.length}} <span translate>FORM.INFO.ROWS</span>)</span> | ||
<span style="color : red" class="fa fa-circle"></span> {{grid.appScope.rowsDetails.totalDeleted}} <span translate>POSTING_JOURNAL.DELETED_TRANSACTION</span> | ||
<span style="color : #085484" class="fa fa-circle"></span> {{grid.appScope.rowsDetails.totalEdited}} <span translate>POSTING_JOURNAL.EDITED_TRANSACTION</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div ng-if="row.entity.hrRecord" class="ui-grid-cell-contents"> | ||
<bh-reference-link reference="row.entity.hrRecord" /> | ||
</div> | ||
<div ng-if="!row.entity.hrRecord && row.entity.action == 'deleted'" class="ui-grid-cell-contents"> | ||
<em class="text-danger" translate>POSTING_JOURNAL.DELETED_TRANSACTION</em> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="ui-grid-cell-contents"> | ||
<a | ||
data-method="view-in-journal" | ||
ui-sref="journal({filters : [{ key : 'trans_id', displayValue : row.entity.transId, value: row.entity.transId, cacheable: 0 }, | ||
{ key : 'includeNonPosted', value : 1 }, { key : 'period', value : 'allTime' }]})" | ||
ui-sref-opts="{ reload : false }" | ||
ng-if="row.entity.transId" | ||
class="text-uppercase"> | ||
{{ row.entity.transId }} | ||
</a> | ||
</div> |