Created
May 20, 2016 19:59
-
-
Save SimonDoy/2492ad43175f21f4d12ec53636d43f98 to your computer and use it in GitHub Desktop.
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
<div class="container"> | |
<div class="row"> | |
<div ng-show="loggedIn && showInvoiceList" class="col-md-10 col-sd-3"> | |
<div class="table-responsive"> | |
<table class="table table-striped"> | |
<thead> | |
<th>Date</th> | |
<th>Invoice Reference</th> | |
<th>Company Name</th> | |
<th>Total</th> | |
<th>Status</th> | |
</thead> | |
<tbody> | |
<tr class="clickable-row" ng-repeat="invoice in invoices" ng-click="showInvoice(invoice.reference)"> | |
<td>{{invoice.invoiceDate}}</td> | |
<td>{{invoice.reference}}</td> | |
<td>{{invoice.companyName}}</td> | |
<td>{{invoice.currencyType}}{{invoice.invoiceTotal}}</td> | |
<td>{{invoice.status}}</td> | |
</tr> | |
</tbody> | |
</table> | |
</div> | |
</div> | |
<div ng-hide="loggedIn"> | |
<button class="btn btn-primary" title="Login" ng-click="login()">Login</a> | |
</div> | |
</div> | |
<div class="row"> | |
<div ng-show="error !== ''" class="col-sd-3"> | |
Current Error: {{error}} | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment