2021-11-05 21:32:01 +00:00
|
|
|
<app-header></app-header>
|
|
|
|
<div align="center">
|
2021-11-11 15:18:38 +00:00
|
|
|
<h3 class="text">{{(ownerUpdate | async)!.name}}</h3>
|
2021-11-05 21:32:01 +00:00
|
|
|
<button class="text" mat-raised-button [routerLink]="['/shop']" color="primary">
|
|
|
|
Back to Shop
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
<div align="center">
|
2022-01-25 22:41:23 +00:00
|
|
|
<div class="central">
|
2022-07-12 18:22:17 +00:00
|
|
|
<table class="text" style="font-size: 12px !important;" width="75%">
|
2021-11-05 21:32:01 +00:00
|
|
|
<tr>
|
|
|
|
<td width="50%" align="center">
|
|
|
|
<h3>Today's Total:</h3>
|
2022-07-12 18:22:17 +00:00
|
|
|
<div class="total">
|
|
|
|
<img src="/assets/zec_rv.png"
|
|
|
|
style='height: 16px !important;
|
|
|
|
margin: -2px;'/>
|
2022-07-14 18:38:55 +00:00
|
|
|
{{todayTotal | number: '1.06'}}
|
2022-07-12 18:22:17 +00:00
|
|
|
</div>
|
2021-11-05 21:32:01 +00:00
|
|
|
</td>
|
|
|
|
<td width="50%" align="center">
|
|
|
|
<h3>Overall Total:</h3>
|
2022-07-12 18:22:17 +00:00
|
|
|
<div class="total">
|
|
|
|
<img src="/assets/zec_rv.png"
|
|
|
|
style='height: 16px !important;
|
|
|
|
margin: -2px;'/>
|
2022-07-14 18:38:55 +00:00
|
|
|
{{total | number: '1.06'}}
|
2022-07-12 18:22:17 +00:00
|
|
|
</div>
|
2021-11-05 21:32:01 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2022-01-25 22:41:23 +00:00
|
|
|
</div>
|
2021-11-18 15:57:22 +00:00
|
|
|
<mat-divider></mat-divider>
|
|
|
|
<div align="center">
|
2022-01-25 22:41:23 +00:00
|
|
|
<div class="central">
|
|
|
|
<mat-accordion *ngIf = "orders.length > 0">
|
|
|
|
<mat-expansion-panel class="text" *ngFor = "let order of orders">
|
|
|
|
<mat-expansion-panel-header class="text" >
|
|
|
|
<mat-panel-title>
|
2022-07-12 03:14:58 +00:00
|
|
|
<span class="price"
|
2022-07-12 18:22:17 +00:00
|
|
|
style='font-family: Roboto Mono !important;
|
|
|
|
font-size: 14px;
|
2022-07-12 03:14:58 +00:00
|
|
|
font-weight: strong;
|
|
|
|
color: black !important;
|
|
|
|
margin: auto;'>
|
2022-07-12 18:22:17 +00:00
|
|
|
<img src="/assets/zec_rv.png"
|
|
|
|
style='height: 16px;
|
2022-07-13 11:58:42 +00:00
|
|
|
margin: auto; '/> {{order.totalZec | number: '1.06'}}
|
2022-07-12 03:14:58 +00:00
|
|
|
</span>
|
2022-01-25 22:41:23 +00:00
|
|
|
</mat-panel-title>
|
2022-07-12 03:14:58 +00:00
|
|
|
<mat-panel-description>
|
|
|
|
<fa-icon [icon]="getIcon(order)" [style]="getIconStyle(order)" ></fa-icon>
|
2022-07-12 18:22:17 +00:00
|
|
|
<div style='font-family: Roboto Mono !important;
|
|
|
|
font-size: 14px;
|
2022-07-12 03:14:58 +00:00
|
|
|
font-weight: strong;
|
|
|
|
color: black !important;
|
|
|
|
margin: auto;'>
|
|
|
|
{{order.timestamp | date: 'short'}}
|
|
|
|
</div>
|
2022-01-25 22:41:23 +00:00
|
|
|
</mat-panel-description>
|
|
|
|
</mat-expansion-panel-header>
|
2022-07-12 03:14:58 +00:00
|
|
|
<div class='orderheader'>
|
|
|
|
<div class="text2"> <b>Order Id</b>: {{order._id}}</div>
|
|
|
|
</div>
|
2022-07-14 18:38:55 +00:00
|
|
|
<!--
|
|
|
|
order header
|
|
|
|
-->
|
|
|
|
<table style="width: 100%;"
|
|
|
|
cellspacing="0">
|
|
|
|
<tr style="font-family: Roboto Mono;
|
|
|
|
font-size: 19px;
|
|
|
|
font-weight: 700;
|
|
|
|
height: 20px;">
|
|
|
|
<td width="50%">Order Total:</td>
|
|
|
|
<td align="right"
|
|
|
|
width="50%">
|
|
|
|
<img class="icon" src="/assets/zec_rv.png"
|
|
|
|
>{{ order.totalZec | number: '1.06'}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr style="font-family: Roboto Mono;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 400;
|
|
|
|
height: 18px;">
|
|
|
|
<td width="50%">
|
|
|
|
<img class="icon"
|
|
|
|
style="color: lightgray;
|
|
|
|
margin-bottom: -3px;"
|
|
|
|
src="/assets/zec_rv.png"
|
|
|
|
>1.0 = {{ order.price | currency: order.currency.toUpperCase()}}
|
|
|
|
</td>
|
|
|
|
<td width="50%" align="right">
|
|
|
|
{{ order.total | number: '1.02' | currency: order.currency.toUpperCase()}}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<table style="width: 100%;">
|
|
|
|
<!--
|
|
|
|
<div style="display: block;">
|
|
|
|
-->
|
|
|
|
<thead style="width: 100%;">
|
|
|
|
<tr style="background: lightblue;">
|
|
|
|
<th style= "font-family: Roboto Mono;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: left;"
|
|
|
|
width="55%">Item
|
|
|
|
</th>
|
|
|
|
<th style= "font-family: Roboto Mono;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: left;"
|
|
|
|
width="15%">Qty.
|
|
|
|
</th>
|
|
|
|
<th style= "font-family: Roboto Mono;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 700;
|
|
|
|
text-align: right;"
|
|
|
|
width="30%">Total
|
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<!--
|
|
|
|
</div>
|
|
|
|
-->
|
|
|
|
<tbody style="overflow-y: auto;
|
|
|
|
overflow-x: hidden;">
|
|
|
|
<tr style="height: 20px !important;"
|
|
|
|
*ngFor="let item of order.lines">
|
|
|
|
<td class="tbdetail"
|
|
|
|
style="text-align: left;"
|
|
|
|
width="55%">{{item.name}}
|
|
|
|
</td>
|
|
|
|
<td class="tbdetail"
|
|
|
|
style="text-align: left;"
|
|
|
|
width="15%">{{item.qty}}
|
|
|
|
</td>
|
|
|
|
<td class="tbdetail"
|
|
|
|
style="text-align: right;"
|
|
|
|
width="30%">{{item.qty * item.cost | number:'1.02' | currency: order.currency.toUpperCase() }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2022-07-12 03:14:58 +00:00
|
|
|
<!--
|
2022-07-14 18:38:55 +00:00
|
|
|
<mat-list>
|
2022-01-25 22:41:23 +00:00
|
|
|
<mat-list-item class="text small" *ngFor="let item of order.lines">{{item.qty}} x {{item.name}}</mat-list-item>
|
2022-07-14 18:38:55 +00:00
|
|
|
|
2022-07-12 03:14:58 +00:00
|
|
|
<div class="orderdetail" *ngFor="let item of order.lines">
|
|
|
|
{{ item.name }} Qty.: {{ item.qty }}
|
|
|
|
</div>
|
2022-01-25 22:41:23 +00:00
|
|
|
</mat-list>
|
2022-07-14 18:38:55 +00:00
|
|
|
-->
|
2022-01-25 22:41:23 +00:00
|
|
|
</mat-expansion-panel>
|
|
|
|
</mat-accordion>
|
|
|
|
<p class="text" *ngIf = "orders.length <= 0">No orders</p>
|
|
|
|
</div>
|
2021-11-18 15:57:22 +00:00
|
|
|
</div>
|