Merge pull request #2411 from SchrodingersGat/status-colors

Use different colors for "pending" orders status
This commit is contained in:
Oliver 2021-12-03 15:43:01 +11:00 committed by GitHub
commit 9511a66634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ class PurchaseOrderStatus(StatusCode):
}
colors = {
PENDING: 'primary',
PENDING: 'secondary',
PLACED: 'primary',
COMPLETE: 'success',
CANCELLED: 'danger',
@ -147,7 +147,7 @@ class SalesOrderStatus(StatusCode):
}
colors = {
PENDING: 'primary',
PENDING: 'secondary',
SHIPPED: 'success',
CANCELLED: 'danger',
LOST: 'warning',