소스 검색

update status color

CR013B2
Jason Chuang 1 주 전
부모
커밋
99b4a072aa
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. +7
    -7
      src/utils/statusUtils/PublicNoteStatusUtils.js

+ 7
- 7
src/utils/statusUtils/PublicNoteStatusUtils.js 파일 보기

@@ -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:


불러오는 중...
취소
저장