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