Display message when no orders for customer

master
Mark Moffat 2020-03-17 21:06:21 +10:30
parent cd792d0fab
commit 599152dbf3
1 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,13 @@
<div class="card-body">
<h5 class="card-heading">{{ @root.__ "Orders" }}</h5>
<div id="accordion">
{{#unless orders}}
<div class="card mb-3">
<div class="card-body">
There are no orders for this account. <a class="text-success" href="/">Order here</a>
</div>
</div>
{{/unless}}
{{#each orders}}
<div class="card mb-3">
<div class="card-header" id="headingOne">