Listorder component updated to show order's date in ANSI international format
This commit is contained in:
parent
a8ec3f22c6
commit
fe95a60f46
3 changed files with 11 additions and 7 deletions
|
@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- Listorders component updated to show date in ANSI international format.
|
||||||
- Settings component updated to use owner's invoices field to control
|
- Settings component updated to use owner's invoices field to control
|
||||||
integrations tab (Pro version)
|
integrations tab (Pro version)
|
||||||
- Orders list updated to show payment confirmation only when service is
|
- Orders list updated to show payment confirmation only when service is
|
||||||
|
|
|
@ -98,7 +98,7 @@ img.icon{
|
||||||
|
|
||||||
.orderListTitle {
|
.orderListTitle {
|
||||||
font-family: 'Roboto Mono';
|
font-family: 'Roboto Mono';
|
||||||
font-size: 16px;
|
font-size: 15px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,23 +33,26 @@
|
||||||
<mat-expansion-panel *ngFor = "let order of orders">
|
<mat-expansion-panel *ngFor = "let order of orders">
|
||||||
<mat-expansion-panel-header [collapsedHeight]="'30px'" [expandedHeight]="'30px'" >
|
<mat-expansion-panel-header [collapsedHeight]="'30px'" [expandedHeight]="'30px'" >
|
||||||
<mat-panel-title>
|
<mat-panel-title>
|
||||||
<div class="orderListTitle">
|
<div class="orderListTitle">
|
||||||
<img src="/assets/zec_rv.png"
|
<img src="/assets/zec_rv.png"
|
||||||
style="height: 16px;
|
style="height: 16px;
|
||||||
margin-bottom: -2px;"
|
margin-bottom: -2px;"
|
||||||
>{{order.totalZec | number: '1.08'}}
|
>{{order.totalZec | number: '1.08'}}
|
||||||
</div>
|
</div>
|
||||||
</mat-panel-title>
|
</mat-panel-title>
|
||||||
<mat-panel-description>
|
<mat-panel-description>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<fa-icon *ngIf="payConf"
|
<fa-icon *ngIf="payConf"
|
||||||
[icon]="getIcon(order)" [style]="getIconStyle(order)" ></fa-icon>
|
[icon]="getIcon(order)" [style]="getIconStyle(order)" ></fa-icon>
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center"
|
||||||
{{order.timestamp | date: 'MM/dd/YY, hh:mm a'}}
|
style="font-family: 'Roboto Mono' !important;
|
||||||
</td>
|
font-weight: 700 ;
|
||||||
|
font-size: 15px;">
|
||||||
|
{{order.timestamp | date: 'YYYY-MM-dd, HH:mm'}}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</mat-panel-description>
|
</mat-panel-description>
|
||||||
|
|
Loading…
Reference in a new issue