|
|
@@ -171,7 +171,7 @@ const FormPanel = ({ formData }) => { |
|
|
|
} |
|
|
|
|
|
|
|
const isOverDnReviseDeadline = () => { |
|
|
|
let reviseDeadline = DateUtils.convertToDate(formData.beforeClosingDate); |
|
|
|
let reviseDeadline = DateUtils.convertToDate(formData.closingDateOff); |
|
|
|
reviseDeadline?.setTime(reviseDeadline?.getTime() + (17 * 60 * 60 * 1000));// 17:00 |
|
|
|
if (!reviseDeadline) return true; |
|
|
|
let current = new Date(); |
|
|
@@ -321,7 +321,7 @@ const FormPanel = ({ formData }) => { |
|
|
|
<li><FormattedMessage id="post" /></li> |
|
|
|
</ul> |
|
|
|
</td> |
|
|
|
<td style={tabelStyle}>{DateUtils.dateFormat(formData.beforeClosingDate, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> |
|
|
|
<td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> |
|
|
|
<td style={tabelStyle}> |
|
|
|
<FormattedMessage id="payDnRemark" values={{ |
|
|
|
date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:30 p.m." |
|
|
@@ -408,7 +408,7 @@ const FormPanel = ({ formData }) => { |
|
|
|
<li><FormattedMessage id="post" /></li> |
|
|
|
</ul> |
|
|
|
</td> |
|
|
|
<td style={tabelStyle}>{DateUtils.dateFormat(formData.beforeClosingDate, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> |
|
|
|
<td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> |
|
|
|
<td style={tabelStyle}> |
|
|
|
<FormattedMessage id="payDnRemark" values={{ |
|
|
|
date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:30 p.m." |
|
|
|