Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
'1': 'BalanceSheet', '2': 'TrialBalance', '3': 'ProfitAndLoss', '4': 'BankStatement', '5': 'BudgetSummary', '6': 'ExecutiveSummary', '7': 'BankSummary', '8': 'AgedReceivablesByContact', '9': 'AgedPayablesByContact' The missing ones are the 1099 report (US Only) and the GST/BAS report (AU/NZ). These will be added in a subsequent feature release.
- Loading branch information
Jordan Walsh
committed
Mar 15, 2017
1 parent
b1c644a
commit bf11e67
Showing
4 changed files
with
128 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,54 @@ | ||
<h3>{{report.ReportName}}</h3> | ||
|
||
{{#each report.ReportTitles as |reportTitle|}} | ||
<center> | ||
<h5>{{reportTitle}}</h5> | ||
</center> | ||
{{/each}} | ||
<br/> | ||
<p>Report Date: {{report.ReportDate}}</p> | ||
{{#if report.Rows}} | ||
<table class="table table-bordered table-striped table-collapsed"> | ||
{{#each report.Rows}} | ||
<tr> | ||
{{#if this.Cells}} | ||
{{#each this.Cells}} | ||
<td>{{this.Value}}</td> | ||
<table class="table table-bordered table-collapsed"> | ||
{{#each report.Rows as |row|}} | ||
|
||
{{#ifCond row.RowType '==' 'Header'}} | ||
<tr> | ||
{{#each row.Cells as |cell|}} | ||
<th>{{cell.Value}}</th> | ||
{{/each}} | ||
{{else}} | ||
<td/> | ||
{{/if}} | ||
</tr> | ||
</tr> | ||
{{/ifCond}} | ||
|
||
{{#ifCond row.RowType '!=' 'Header'}} | ||
|
||
<tr> | ||
<td colspan="{{../colspan}}"><strong>{{row.Title}}</strong></td> | ||
</tr> | ||
|
||
{{#if row.Rows}} | ||
{{#each row.Rows as |thisRow|}} | ||
<tr> | ||
{{#if this.Cells}} | ||
{{#each this.Cells as |thisCell|}} | ||
{{#if thisCell.Value}} | ||
<td> {{thisCell.Value}}</td> | ||
{{else}} | ||
{{#if thisCell.length}} | ||
{{#each thisCell}} | ||
<td><strong>{{this.Value}}</strong></td> | ||
{{/each}} | ||
{{else}} | ||
<td> </td> | ||
{{/if}} | ||
{{/if}} | ||
{{/each}} | ||
{{/if}} | ||
</tr> | ||
{{/each}} | ||
{{/if}} | ||
|
||
{{/ifCond}} | ||
|
||
|
||
{{/each}} | ||
</table> | ||
{{/if}} |
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