-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(General Ledger): identify title accounts
This commit fixes the general ledger by rendering the title accounts in bold and removing the option to download their account slips. I've also optimized the GL by removing dead code and using ui-grid's native tools instead of multiple cell templates. Closes #2348.
- Loading branch information
Showing
13 changed files
with
99 additions
and
87 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
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
3 changes: 0 additions & 3 deletions
3
client/src/modules/general-ledger/templates/account_label.cell.html
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
client/src/modules/general-ledger/templates/account_number.cell.html
This file was deleted.
Oops, something went wrong.
14 changes: 3 additions & 11 deletions
14
client/src/modules/general-ledger/templates/action.cell.html
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,24 +1,16 @@ | ||
<div class="ui-grid-cell-contents text-right"> | ||
<span uib-dropdown dropdown-append-to-body> | ||
<span uib-dropdown dropdown-append-to-body ng-if="!row.entity.isTitleAccount"> | ||
<a href uib-dropdown-toggle> | ||
<span data-method="action" translate>FORM.BUTTONS.ACTIONS</span> | ||
<span class="caret"></span> | ||
</a> | ||
|
||
<ul class="dropdown-menu-right" uib-dropdown-menu> | ||
<ul class="dropdown-menu-right" bh-dropdown-menu-auto-dropup uib-dropdown-menu> | ||
<li> | ||
<a ng-href="/reports/finance/account_report/?{{ grid.appScope.slip('pdf', grid.appScope.filtersSlip, row.entity.id) }}" download="{{GENERAL_LEDGER.ACCOUNT_SLIP | translate }}"> | ||
<a ng-href="/reports/finance/account_report/?{{ grid.appScope.slip('pdf', grid.appScope.filtersSlip, row.entity.id) }}" download="{{ GENERAL_LEDGER.ACCOUNT_SLIP | translate }}"> | ||
<span class="fa fa-file-pdf-o"></span> <span translate>GENERAL_LEDGER.ACCOUNT_SLIP</span> | ||
</a> | ||
</li> | ||
<!-- | ||
FIX ME FOR THE CSV DOWNLOAD | ||
<li> | ||
<a ng-href="/reports/finance/account_report/?{{ grid.appScope.slip('csv', grid.appScope.filtersSlip, row.entity.id) }}" download="{{FORM.BUTTONS.CSV_EXPORT | translate }}"> | ||
<span class="fa fa-file-pdf-o"></span> <span translate>FORM.BUTTONS.CSV_EXPORT</span> | ||
</a> | ||
</li> | ||
--> | ||
</ul> | ||
</span> | ||
</div> |
3 changes: 0 additions & 3 deletions
3
client/src/modules/general-ledger/templates/balance.cell.html
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
client/src/modules/general-ledger/templates/creditor.cell.html
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.