Setting fo ri18n-ally, progress stepper on order page

This commit is contained in:
2024-09-12 18:38:56 +02:00
parent 0c20ef4366
commit 5134a9df31
12 changed files with 94 additions and 25 deletions

View File

@@ -3,17 +3,22 @@
{
"id": 0,
"accountId": 0,
"totalPrice": 0
"totalPrice": 0,
"shippingProgress": 4
},
{
"id": 1,
"accountId": 3,
"totalPrice": 0
"totalPrice": 7.99,
"shippingProgress": 5,
"createdAt": "2024-09-09 12:24:24.225 +00:00"
},
{
"id": 2,
"accountId": 3,
"totalPrice": 0
"totalPrice": 44.96,
"shippingProgress": 2,
"createdAt": "2024-09-12 09:57:24.225 +00:00"
}
]
}

View File

@@ -11,6 +11,9 @@ export class Order extends Model {
@Column
totalPrice: number
@Column
shippingProgress: number = 1
// Relations
@BelongsTo(() => Account)