|
|
@@ -21,7 +21,7 @@ export function getStatusByText(status, creditor) { |
|
|
|
return getStatusTag({ color: "#22a13f", text: "待付款" }) |
|
|
|
case "paid": |
|
|
|
return getStatusTag({ color: "#22a13f", text: "待發佈" }) |
|
|
|
case "complated": |
|
|
|
case "completed": |
|
|
|
return getStatusTag({ color: "#8a8784", text: "已完成" }) |
|
|
|
case "notAccepted": |
|
|
|
return getStatusTag({ color: "#d9372b", text: "不接受" }) |
|
|
@@ -54,7 +54,7 @@ export function getStatusByTextEng(status, creditor) { |
|
|
|
return getStatusTag({ color: "#F39C12", text: "Pending Payment" }) |
|
|
|
case "paid": |
|
|
|
return getStatusTag({ color: "#3498DB", text: "Pending Publish" }) |
|
|
|
case "complated": |
|
|
|
case "completed": |
|
|
|
return getStatusTag({ color: "#8a8784", text: "Completed" }) |
|
|
|
case "notAccepted": |
|
|
|
return getStatusTag({ color: "#d9372b", text: "Not accepted" }) |
|
|
@@ -88,7 +88,7 @@ export function getStatusByTextIntl(status, creditor, intl) { |
|
|
|
return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPayment'}) }) |
|
|
|
case "paid": |
|
|
|
return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPublish'}) }) |
|
|
|
case "complated": |
|
|
|
case "completed": |
|
|
|
return getStatusTag({ color: "#8a8784", text: intl.formatMessage({id: 'completed'}) }) |
|
|
|
case "notAccepted": |
|
|
|
return getStatusTag({ color: "#d9372b", text: intl.formatMessage({id: 'notAccepted'}) }) |
|
|
|