From 31aa39335afea4862e9fa1f8d4a01530d1dd9eb1 Mon Sep 17 00:00:00 2001 From: Rene Vergara A Date: Wed, 13 Jul 2022 06:58:42 -0500 Subject: [PATCH] Commit before angular update --- .../items/item-list/item-list.component.css | 8 +- .../items/item-list/item-list.component.html | 34 ++++-- src/app/listorders/listorders.component.html | 2 +- src/app/order/order.component.css | 3 +- src/app/order/order.component.html | 102 ++++++++++++------ 5 files changed, 102 insertions(+), 47 deletions(-) diff --git a/src/app/items/item-list/item-list.component.css b/src/app/items/item-list/item-list.component.css index 7aa4f8f..77b855e 100644 --- a/src/app/items/item-list/item-list.component.css +++ b/src/app/items/item-list/item-list.component.css @@ -25,6 +25,12 @@ div.card{ } p.price{ - font-family: 'Roboto-Mono', monospace; + font-family: 'Roboto Mono', monospace; margin: 0px; } + +.rv_price { + font-family: Roboto Mono; + font-size: 16px; + text-align: right; +} diff --git a/src/app/items/item-list/item-list.component.html b/src/app/items/item-list/item-list.component.html index cb1cd22..fcc3f11 100644 --- a/src/app/items/item-list/item-list.component.html +++ b/src/app/items/item-list/item-list.component.html @@ -1,19 +1,35 @@
- +
- - + + + + + +
{{item.name}} -

{{item.cost | currency: getCurrency() }}

-

{{(item.cost/price) | number: '1.0-6'}}

-

ⓩ {{(item.cost/price)*100000000 | number: '1.0-0'}}

+
+ {{item.name}} +
+ {{item.description}} + +
+ {{item.cost | currency: getCurrency() }} + [{{(item.cost/price) | number: '1.0-6'}}] +
+

ⓩ(item.cost/price)*100000000 | number: '1.0-0'}}

-
-

{{item.description}}

-
diff --git a/src/app/listorders/listorders.component.html b/src/app/listorders/listorders.component.html index 07e8e65..1d2cd43 100644 --- a/src/app/listorders/listorders.component.html +++ b/src/app/listorders/listorders.component.html @@ -47,7 +47,7 @@ margin: auto;'>  {{order.totalZec | number: '1.0-6'}} + margin: auto; '/> {{order.totalZec | number: '1.06'}} diff --git a/src/app/order/order.component.css b/src/app/order/order.component.css index 4626d78..7446731 100644 --- a/src/app/order/order.component.css +++ b/src/app/order/order.component.css @@ -7,7 +7,8 @@ } img.icon{ - margin-bottom: -3px; + margin-bottom: -2px; + height: 18px; } .tbheader { diff --git a/src/app/order/order.component.html b/src/app/order/order.component.html index 1a300c4..910c5ee 100644 --- a/src/app/order/order.component.html +++ b/src/app/order/order.component.html @@ -6,47 +6,79 @@ No open order! +
-
- - -
Order Total: -

{{total | currency: getCurrency()}}

-

{{(total/price) | number: '1.0-6'}}

+ + + + + + + +
Order Total: + {{total | currency: getCurrency()}} +
+ + {{(total/price) | number: '1.0-6'}}
- - - - - - - - - - - +
Item - Qty. - Total -
{{item.name}} - {{item.qty}} - {{item.qty * item.cost | number:'1.02'}} -
+ + + + + + + + + + + + + + + +
Item + Qty. + Total +
{{item.name}} + {{item.qty}} + {{item.qty * item.cost | number:'1.02'}} +