zgo/src/app/listorders/listorders.component.html

175 lines
5.2 KiB
HTML
Raw Normal View History

<app-header></app-header>
<div align="center">
<div class="text1">{{(ownerUpdate | async)!.name}}</div>
<table style="padding-top: 10px;
padding-bottom: 10px;">
<tr class="text1a">
<td>
{{ vE.listordersEndDate }}{{(ownerUpdate | async)!.expiration | date: 'YYYY-MM-dd'}}
</td>
<td>
2023-05-02 14:08:42 +00:00
<button mat-icon-button color="primary" (click)="paySession()">
<mat-icon class="icon">queue</mat-icon>
</button>
</td>
</tr>
</table>
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
<table >
<tr>
<td width="45%">
<button class="text" mat-raised-button [routerLink]="['/shop']" color="primary">
2023-02-01 19:10:35 +00:00
<mat-icon class="icon">home</mat-icon>
{{ vE.listordersBacktoshopBtn }}
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
</button>
</td>
<td width="10%">
</td>
<td width="45%">
<button mat-raised-button color="primary"
class="text" (click)="openDbExport()">
2023-02-01 19:10:35 +00:00
<mat-icon class="icon">get_app</mat-icon>
{{ vE.listordersExportOrders }}
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
</button>
</td>
</tr>
</table>
</div>
<table class="totalsTbl" width="100%">
<tr class="totalsHdr">
<td width="10%"></td>
<td width="40%" >
<div class="totalsHdrTitle">{{ vE.listordersTodaysTotal }}</div>
<div class="totalsHdrDetail">
<img src="/assets/zec_rv.png"
style="height: 16px !important;
margin-bottom: -2px;">{{todayTotal | number: '1.08'}}
</div>
</td>
<td width="40%" >
<div class="totalsHdrTitle">{{ vE.listordersOverallTotal }}</div>
<div class="totalsHdrDetail">
<img src="/assets/zec_rv.png"
style="height: 16px !important;
margin-bottom: -2px;">{{total | number: '1.08'}}
</div>
</td>
<td width="10%"></td>
</tr>
</table>
<div class="orderList">
<mat-accordion *ngIf = "orders.length > 0">
<mat-expansion-panel *ngFor = "let order of orders">
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
<mat-expansion-panel-header [collapsedHeight]="'35px'" [expandedHeight]="'30px'" >
<mat-panel-title>
<div class="orderListTitle">
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
<img src="/assets/zec_rv.png"
style="height: 14px;
margin-bottom: -2px;
padding-right: 3px;"
>{{order.totalZec | number: '1.08'}}
</div>
</mat-panel-title>
<mat-panel-description>
<table width="100%">
<tr>
<td>
<fa-icon *ngIf="payConf"
[icon]="getIcon(order)" [style]="getIconStyle(order)" ></fa-icon>
</td>
<td align="center"
style="font-family: 'Roboto Mono' !important;
font-weight: 700 ;
Implement Data Export Squashed commit of the following: commit 0c63521f38df66cd8a3d20e67d7b653f42f6b1bc Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 14:18:20 2022 -0500 Update version commit f80232d9119a4a7ba94b0659ff13419857bffca5 Author: Rene Vergara <rene@vergara.network> Date: Tue Oct 11 11:52:56 2022 -0500 Adjust look and feel for data export commit 53c3d5e78effc26de14d9cc72e734fc7f7e81cb7 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sun Oct 9 09:40:58 2022 -0500 Db-export component ready for testing commit d4cdcd2a9a3eb0c53f5c0365e9a11298b6b15b36 Merge: da4413a 41b899b Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:08:33 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into dbexport commit da4413af853a6b5846a03455beb91321e98405a8 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Sat Oct 8 09:06:56 2022 -0500 Data Export component in progress... commit 98d9360aad597c4ba66d54607e008222f3c58371 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 18:05:36 2022 -0500 Angular updated to v14 - core commit e78d4efa46e691ed830fc8824aa5fa0986968a7c Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:59:17 2022 -0500 Angular updated to v14 - cli commit 9f2afbbff945bc24487e1798bd6a50ff231f6ae9 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:52:44 2022 -0500 Angular updated to v14 commit 21b1866a091a689ead4f197717afd3f2ed1f1d9e Merge: 3936371 72f4d67 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:41 2022 -0500 Merge branch 'master' of https://gitlab.com/pitmutt/zgo into xero commit 3936371c971a1bb4eaec7cc06ee3fb97e5a07782 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Fri Oct 7 17:31:24 2022 -0500 Initial programming of Data Export commit 7c9b4ef43a8fdb891d3ffa2bb39bd8da1a776a17 Author: Rene Vergara A <rvergara59@protonmail.com> Date: Thu Sep 22 16:58:59 2022 -0500 Few updates
2022-10-11 19:20:06 +00:00
font-size: 14px;">
{{order.timestamp | date: 'YYYY-MM-dd, HH:mm'}}
</td>
</tr>
</table>
</mat-panel-description>
</mat-expansion-panel-header>
<div class='orderheader'>
<div class="text2"> <b>{{ vE.listordersOrderId }}</b>: {{order._id}}</div>
</div>
2022-07-14 18:38:55 +00:00
<table style="width: 100%;"
cellspacing="0">
2022-07-26 15:00:17 +00:00
<tr style="font-family: 'Roboto Mono';
font-weight: 700;
font-size: 16px;
height: 20px;">
<td width="50%">{{ vE.listordersOrderTotal }}</td>
<td align="right"
width="50%">
<img class="icon" src="/assets/zec_rv.png"
>{{ order.totalZec | number: '1.08'}}
</td>
</tr>
2022-07-26 15:00:17 +00:00
<tr style="font-family: 'Roboto Mono';
font-size: 15px;
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 | currency: order.currency.toUpperCase()}}
</td>
</tr>
</table>
2022-07-14 18:38:55 +00:00
<table style="width: 100%;">
<thead style="width: 100%;">
<tr style="background: lightblue;">
<th class="tbheader"
style="text-align: left;"
width="55%">{{ vE.listordersItemLbl }}
</th>
<th class="tbheader"
style="text-align: left;"
width="15%">{{ vE.listordersQtyLbl }}
</th>
<th class="tbheader"
style="text-align: right;"
width="30%">{{ vE.listordersTotalLbl }}
</th>
</tr>
</thead>
<tbody>
<tr *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-27 01:37:14 +00:00
<div style="display: flex;
justify-content: space-between;
padding-left: 20%;
padding-right: 20%;
margin-top: 10px;">
2022-07-26 15:00:17 +00:00
<span>
2023-06-19 15:30:41 +00:00
<button mat-raised-button class="minibutton" color="primary" (click)="invoice(order)">{{ vE.listordersInvoiceBtn }}</button>
2022-07-26 15:00:17 +00:00
</span>
<span>
2023-06-19 15:30:41 +00:00
<button mat-raised-button class="minibutton" color="primary" (click)="receipt(order)">{{ vE.listordersReceiptBtn }}</button>
2022-07-26 15:00:17 +00:00
</span>
</div>
</mat-expansion-panel>
</mat-accordion>
<p class="text" *ngIf = "orders.length <= 0">{{ vE.listordersNoOrders }}</p>
</div>