|
|
@@ -26,7 +26,6 @@ const BackgroundHead = { |
|
|
|
const Index = ({ record }) => { |
|
|
|
const navigate = useNavigate() |
|
|
|
const intl = useIntl(); |
|
|
|
const { local } = intl; |
|
|
|
|
|
|
|
return ( |
|
|
|
( |
|
|
@@ -68,7 +67,7 @@ const Index = ({ record }) => { |
|
|
|
id: 'proofPaymentBody_demandNote2' |
|
|
|
}, |
|
|
|
{ |
|
|
|
closingDateOff: local === "en"? DateUtils.dateStr_Eng(record.closingDateOff): DateUtils.dateStr_Cht(record?.closingDateOff), |
|
|
|
closingDateOff: DateUtils.dateFormat(record?.closingDateOff, intl.formatMessage({id: "dateStrFormat"})), |
|
|
|
email: record?.mail, |
|
|
|
} |
|
|
|
) |
|
|
@@ -80,7 +79,7 @@ const Index = ({ record }) => { |
|
|
|
id: 'proofPaymentBody_demandNote3' |
|
|
|
}, |
|
|
|
{ |
|
|
|
paymentDeadline: local === "en"? DateUtils.dateStr_Eng(record?.closingDate): DateUtils.dateStr_Cht(record?.closingDate), |
|
|
|
paymentDeadline: DateUtils.dateFormat(record?.closingDate, intl.formatMessage({id: "dateStrFormat"})), |
|
|
|
} |
|
|
|
) |
|
|
|
}} /> |
|
|
|