Ver a proveniência

update status color

CR013B2
Jason Chuang há 1 semana
ascendente
cometimento
99b4a072aa
1 ficheiros alterados com 7 adições e 7 eliminações
  1. +7
    -7
      src/utils/statusUtils/PublicNoteStatusUtils.js

+ 7
- 7
src/utils/statusUtils/PublicNoteStatusUtils.js Ver ficheiro

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


Carregando…
Cancelar
Guardar