Listorder component updated to show order's date in ANSI international format

This commit is contained in:
Rene V. Vergara A. 2022-08-26 20:00:18 -05:00
parent a8ec3f22c6
commit fe95a60f46
3 changed files with 11 additions and 7 deletions

View file

@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
- Listorders component updated to show date in ANSI international format.
- Settings component updated to use owner's invoices field to control
integrations tab (Pro version)
- Orders list updated to show payment confirmation only when service is

View file

@ -98,7 +98,7 @@ img.icon{
.orderListTitle {
font-family: 'Roboto Mono';
font-size: 16px;
font-size: 15px;
font-weight: 600;
}

View file

@ -33,23 +33,26 @@
<mat-expansion-panel *ngFor = "let order of orders">
<mat-expansion-panel-header [collapsedHeight]="'30px'" [expandedHeight]="'30px'" >
<mat-panel-title>
<div class="orderListTitle">
<div class="orderListTitle">
<img src="/assets/zec_rv.png"
style="height: 16px;
margin-bottom: -2px;"
>{{order.totalZec | number: '1.08'}}
</div>
</div>
</mat-panel-title>
<mat-panel-description>
<table width="100%">
<tr>
<td>
<td>
<fa-icon *ngIf="payConf"
[icon]="getIcon(order)" [style]="getIconStyle(order)" ></fa-icon>
</td>
<td align="center">
{{order.timestamp | date: 'MM/dd/YY, hh:mm a'}}
</td>
<td align="center"
style="font-family: 'Roboto Mono' !important;
font-weight: 700 ;
font-size: 15px;">
{{order.timestamp | date: 'YYYY-MM-dd, HH:mm'}}
</td>
</tr>
</table>
</mat-panel-description>