diff --git a/CHANGELOG.md b/CHANGELOG.md
index c4b6dcf..2ff1ab0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed
-
+- (2022-07-14) Order list reformated - some unused css classes removed.
- Added viewing key field to owner model
- (2022-07-11) Order's list UI updated (Alpha version)
+ Paid status icons added to order's title
diff --git a/src/app/items/item-list/item-list.component.css b/src/app/items/item-list/item-list.component.css
index 1a8e670..652f03a 100644
--- a/src/app/items/item-list/item-list.component.css
+++ b/src/app/items/item-list/item-list.component.css
@@ -35,17 +35,15 @@ p.price{
text-align: right;
}
- /* Style buttons */
-.btn {
- background-color: DodgerBlue; /* Blue background */
- border: none; /* Remove borders */
- color: white; /* White text */
- padding: 12px 16px; /* Some padding */
- font-size: 16px; /* Set a font size */
- cursor: pointer; /* Mouse pointer on hover */
-}
-
-/* Darker background on mouse-over */
-.btn:hover {
- background-color: RoyalBlue;
+.buttons-class-cart{
+ background-color: #ff4700;
+ color: white;
+ font-size: 18px;
+ font-weight: 700;
+ height: 25px !important;
+ width: 50px !important;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ cursor: pointer;
}
diff --git a/src/app/items/item-list/item-list.component.html b/src/app/items/item-list/item-list.component.html
index f88eb92..a693018 100644
--- a/src/app/items/item-list/item-list.component.html
+++ b/src/app/items/item-list/item-list.component.html
@@ -49,8 +49,10 @@
-->
-
-
- Today's Total:-
-
- {{todayTotal | number: '1.06'}}
-
- |
-
- Overall Total:-
-
- {{total | number: '1.06'}}
-
- |
-
Order Total: | -- {{ order.totalZec | number: '1.06'}} - | -
- 1.0 = {{ order.price | currency: order.currency.toUpperCase()}} - | -- {{ order.total | number: '1.02' | currency: order.currency.toUpperCase()}} - | -
+ |
+ Today's Total:
+
+ {{todayTotal | number: '1.06'}}
+
+ |
+
+ Overall Total:
+
+ {{total | number: '1.06'}}
+
+ |
+ + |
+ |
+ + {{order.timestamp | date: 'short'}} + | +
Item - | -Qty. - | -Total - | -
---|---|---|
{{item.name}} - | -{{item.qty}} - | -{{item.qty * item.cost | number:'1.02' | currency: order.currency.toUpperCase() }} - | -
No orders
-Item + | +Qty. + | +Total + | +
---|---|---|
{{item.name}} + | +{{item.qty}} + | +{{item.qty * item.cost | number:'1.02' | currency: order.currency.toUpperCase() }} + | +
No orders
+Order Total: | @@ -22,17 +16,13 @@ >{{(total/price) | number: '1.0-6'}} |
1.0 ≅ {{ price | currency: getCurrency()}} - | {{total | currency: getCurrency()}} @@ -41,69 +31,97 @@ |
Item + | Item | -Qty. + | Qty. | -Total | +|
---|---|---|---|---|---|
+ | |||||
{{item.name}} + width="50%">{{item.name}} | -{{item.qty}} + width="15%">{{item.qty}} | -{{item.qty * item.cost | number:'1.02' | currency: getCurrency() }} | +
+
+ |
- |
- |
- + |
+
+ |