소스 검색

update check public date

CR013B2
Alex Cheung 2 달 전
부모
커밋
95ab87723f
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. +2
    -2
      src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js
  2. +4
    -4
      src/pages/PublicNotice/ApplyForm/index.js

+ 2
- 2
src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js 파일 보기

@@ -21,7 +21,7 @@ import {
isDummyLoggedIn,
// isCreditorLoggedIn,
checkIsOnlyOnlinePaymentByIssueDate,
checkIsOnlyOnlinePaymentApply,
// checkIsOnlyOnlinePaymentApply,
} from "utils/Utils";

import { useNavigate } from "react-router-dom";
@@ -583,7 +583,7 @@ const PublicNoticeApplyForm = ({ loadedData, _selections, gazetteIssueList }) =>
aria-label={intl.formatMessage({ id: 'applyPublicNotice' })}
variant="contained"
type="submit"
disabled={checkIsOnlyOnlinePaymentApply(tickAccept)}
disabled={!tickAccept}
>
<FormattedMessage id="applyPublicNotice" />
</Button>


+ 4
- 4
src/pages/PublicNotice/ApplyForm/index.js 파일 보기

@@ -81,10 +81,10 @@ const ApplyForm = () => {
setSelection(selection);
} else {
let selection = [];
if (checkIsOnlyOnlinePayment()){
for (let i = 0; i < response.gazetteIssueList.length; i++) {
let data = response.gazetteIssueList[i];
// only add if false
for (let i = 0; i < response.gazetteIssueList.length; i++) {
let data = response.gazetteIssueList[i];
// only add if false
if (checkIsOnlyOnlinePayment()){
if (!checkIsOnlyOnlinePaymentByIssueDate(data.issueDate)) {
selection.push(
<FormControlLabel


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