| @@ -76,18 +76,18 @@ export function getStatusIntl(params, intl) { | |||||
| export function getStatusByTextIntl(status, creditor, intl) { | export function getStatusByTextIntl(status, creditor, intl) { | ||||
| switch (status) { | switch (status) { | ||||
| case "submitted": | case "submitted": | ||||
| return getStatusTag({ color: "#f5a83d", text: intl.formatMessage({id: 'processing'}) }) | |||||
| return getStatusTag({ color: "#F1C40F", text: intl.formatMessage({id: 'processing'}) }) | |||||
| case "reviewed": | case "reviewed": | ||||
| return getStatusTag({ color: "#f5a83d", text: intl.formatMessage({id: 'processing'}) }) | |||||
| return getStatusTag({ color: "#F1C40F", text: intl.formatMessage({id: 'processing'}) }) | |||||
| case "confirmed": | case "confirmed": | ||||
| if (creditor) | if (creditor) | ||||
| return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPublish'}) }) | |||||
| return getStatusTag({ color: "#3498DB", text: intl.formatMessage({id: 'pendingPublish'}) }) | |||||
| else | else | ||||
| return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPayment'}) }) | |||||
| return getStatusTag({ color: "#F39C12", text: intl.formatMessage({id: 'pendingPayment'}) }) | |||||
| case "published": | case "published": | ||||
| return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPayment'}) }) | |||||
| return getStatusTag({ color: "#F39C12", text: intl.formatMessage({id: 'pendingPayment'}) }) | |||||
| case "paid": | case "paid": | ||||
| return getStatusTag({ color: "#22a13f", text: intl.formatMessage({id: 'pendingPublish'}) }) | |||||
| return getStatusTag({ color: "#3498DB", text: intl.formatMessage({id: 'pendingPublish'}) }) | |||||
| case "completed": | case "completed": | ||||
| return getStatusTag({ color: "#4D4D4D", text: intl.formatMessage({id: 'completed'}) }) | return getStatusTag({ color: "#4D4D4D", text: intl.formatMessage({id: 'completed'}) }) | ||||
| case "notAccepted": | case "notAccepted": | ||||
| @@ -95,7 +95,7 @@ export function getStatusByTextIntl(status, creditor, intl) { | |||||
| case "resubmit": | case "resubmit": | ||||
| return getStatusTag({ color: "#757373", text: intl.formatMessage({id: 'resubmit'}) }) | return getStatusTag({ color: "#757373", text: intl.formatMessage({id: 'resubmit'}) }) | ||||
| case "cancelled": | case "cancelled": | ||||
| return getStatusTag({ color: "#909497", text: intl.formatMessage({id: 'cancelled'}) }) | |||||
| return getStatusTag({ color: "#8a8784", text: intl.formatMessage({id: 'cancelled'}) }) | |||||
| case "withdrawn": | case "withdrawn": | ||||
| return getStatusTag({ color: "#6E14CC", text: intl.formatMessage({id: 'withdrawn'}) }) | return getStatusTag({ color: "#6E14CC", text: intl.formatMessage({id: 'withdrawn'}) }) | ||||
| default: | default: | ||||