Skip to content

Commit

Permalink
Add empty settlement page
Browse files Browse the repository at this point in the history
  • Loading branch information
kyungmin committed Jan 22, 2015
1 parent 49c121b commit 6e2ad54
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions app/templates/marketplace/settlements.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@

<nav class="results-actions-bar"></nav>

<div class="results">
<div class="items-wrapper">
{{view "results/credits-table-grouped-by-settlement" loader=resultsLoader}}
{{#if resultsLoader.results}}
<div class="results">
<div class="items-wrapper">
{{view "results/credits-table-grouped-by-settlement" loader=resultsLoader}}
</div>
</div>
</div>
{{else}}
{{#if resultsLoader.results.isLoaded}}
{{#view "results/intro-page" iconName="settlements" title="Batch payouts with settlements" description="Each customer has a payable account which can carry a stored balance. Credit the funds from multiple orders into your merchant's payable account. Then issue one settlement to your merchant's bank account."}}
<a target="_blank" href="https://www.balancedpayments.com/account-reconciliation">Learn more about settlements</a>
{{/view}}
{{else}}
<div class="loader-container sl-none">
Loading...
</div>
{{/if}}
{{/if}}

0 comments on commit 6e2ad54

Please sign in to comment.