-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated sample app to include taxrates and users
- Loading branch information
Jordan Walsh
committed
Mar 8, 2017
1 parent
0f44ca7
commit a439c14
Showing
7 changed files
with
132 additions
and
10 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
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,29 @@ | ||
<h3>Tax Rates</h3> | ||
<table class="table table-bordered table-striped table-collapsed"> | ||
<thead> | ||
<tr> | ||
<td>Name</td> | ||
<td>TaxType</td> | ||
<td>DisplayTaxRate</td> | ||
<td>EffectiveRate</td> | ||
<td>Status</td> | ||
<td>TaxComponent</td> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{{#each taxrates}} | ||
<tr> | ||
<td>{{ this.Name }}</td> | ||
<td>{{ this.TaxType }}</td> | ||
<td>{{ this.DisplayTaxRate }}</td> | ||
<td>{{ this.EffectiveRate }}</td> | ||
<td>{{ this.Status }}</td> | ||
<td> | ||
{{#each this.TaxComponents as |taxcomponentfield|}} | ||
<p>{{taxcomponentfield.Rate}}</p> | ||
{{/each}} | ||
</td> | ||
</tr> | ||
{{/each}} | ||
</tbody> | ||
</table> |
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,21 @@ | ||
<h3>Users</h3> | ||
<table class="table table-bordered table-striped table-collapsed"> | ||
<thead> | ||
<tr> | ||
<td>Name</td> | ||
<td>EmailAddress</td> | ||
<td>IsSubscriber</td> | ||
<td>OrganisationRole</td> | ||
<td>UpdatedDateUTC</td> | ||
</tr> | ||
</thead> | ||
{{#each users}} | ||
<tr> | ||
<td>{{ this.FirstName }} {{this.LastName}}</td> | ||
<td>{{ this.EmailAddress }}</td> | ||
<td>{{ this.IsSubscriber }}</td> | ||
<td>{{ this.OrganisationRole }}</td> | ||
<td>{{ this.UpdatedDateUTC }}</td> | ||
</tr> | ||
{{/each}} | ||
</table> |