Skip to content

Commit

Permalink
added live cart to home menu
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqbuilds committed Mar 14, 2015
1 parent 8220092 commit 64081c9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
12 changes: 11 additions & 1 deletion public/templates/directives/receipt.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,20 @@
<td>Tax</td>
<td> {{ transaction.total_tax | currency }} </td>
</tr>
<tr class="total lead">
<tr class="total">
<td></td>
<td>Total</td>
<td> {{ transaction.total | currency }} </td>
</tr>
<tr class="">
<td></td>
<td>Payment</td>
<td> {{ transaction.payment | currency }} </td>
</tr>
<tr class="lead">
<td></td>
<td>Change</td>
<td> {{ transaction.payment - transaction.total | currency }} </td>
</tr>
</tbody>
</table>
4 changes: 2 additions & 2 deletions public/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ <h2>Transactions</h2>
<span class="col-md-1"></span>

<div class="col-md-5">
<a href="#/reports" class="btn btn-primary btn-block disabled">
<h2>Reports</h2>
<a href="#/live-cart" class="btn btn-primary btn-block">
<h2>Live Cart</h2>
</a>
</div>

Expand Down
1 change: 0 additions & 1 deletion public/templates/view-transaction.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<a href=""><h3 class="text-center">Transactions</h3></a>
<h4 class="text-center current-page">View Receipt</h4>

<receipt transaction="transaction"></receipt>

0 comments on commit 64081c9

Please sign in to comment.