Skip to content

Commit

Permalink
fix(trial balance): pass account label to filters
Browse files Browse the repository at this point in the history
This commit improves the UX by passing the full account label (human
readable label) to the Posting Journal filters.  The account is now
properly shown instead of just the number.
  • Loading branch information
jniles committed Sep 25, 2017
1 parent aa3cb45 commit bdcd3ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href
data-method="detail"
class="text-info"
ui-sref="journal({filters : [{ key : 'account_id', displayValue : row.entity.account, value: row.entity.account_id }]})"
ui-sref="journal({filters : [{ key : 'account_id', displayValue : row.entity.hrLabel, value: row.entity.account_id }]})"
ui-sref-opts="{ reload : false }">
<span translate>FORM.BUTTONS.VIEW_IN_JOURNAL</span>
</a>
Expand Down

0 comments on commit bdcd3ba

Please sign in to comment.