상세수정
Some checks failed
Close Pull Request / main (pull_request_target) Has been cancelled

This commit is contained in:
yangsh
2026-02-04 17:53:33 +09:00
parent 7143a6bd28
commit 8b77448128
8 changed files with 1406 additions and 472 deletions

View File

@@ -545,83 +545,83 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
onclick="priceChange();" style="display: none;">가격수정</button>
<button class="mb-2 me-2 btn-transition btn btn-outline-secondary" id="btnModify">수정</button>
<button class="mb-2 me-2 btn btn-primary" id="btnSave" onclick="modifyInfo();" disabled>저장</button>
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php if (!empty($detail_hscp)): ?>
<?php
$apt_rlet_type_cd = ['A01', 'A02', 'A03', 'A04', 'B01', 'B02', 'B03'];
$villa_rlet_type_cd = ['A05', 'A06'];
if (in_array($detail_hscp['aptType'], $apt_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
<h5 class="card-title">단지 정보</h5>
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<tr>
<th>단지명</th>
<td><?= $detail_hscp['aptName']; ?></td>
<th>소재주소</th>
<td><?= $detail_hscp['addr']; ?></td>
<th>상세주소</th>
<td><?= $detail_hscp['dtlAddr']; ?></td>
<th>사용승인일</th>
<td><?= $detail_hscp['useAprvYmd']; ?></td>
<th>단지 총 동수</th>
<td><?= $detail_hscp['dongCount']; ?></td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
<?php
$apt_rlet_type_cd = ['A01', 'A02', 'A03', 'A04', 'B01', 'B02', 'B03'];
$villa_rlet_type_cd = ['A05', 'A06'];
if (in_array($detail_hscp['aptType'], $apt_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
<h5 class="card-title">단지 정보</h5>
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<tr>
<th>단지명</th>
<td><?= $detail_hscp['aptName']; ?></td>
<th>소재주소</th>
<td><?= $detail_hscp['addr']; ?></td>
<th>상세주소</th>
<td><?= $detail_hscp['dtlAddr']; ?></td>
<th>사용승인일</th>
<td><?= $detail_hscp['useAprvYmd']; ?></td>
<th>단지 총 동수</th>
<td><?= $detail_hscp['dongCount']; ?></td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
<?php
if (in_array($detail_hscp['aptType'], $villa_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
<h5 class="card-title">단지 정보</h5>
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<tr>
<th>단지명</th>
<td><?= $detail_hscp['villaName']; ?></td>
<th>단지타입명</th>
<td colspan="3"><?= $detail_hscp['villaTypeName']; ?></td>
<th>단지 총 세대수</th>
<td><?= $detail_hscp['totHsehCnt']; ?></td>
<th>단지 총 동수 </th>
<td><?= $detail_hscp['totDongCnt']; ?></td>
<?php
if (in_array($detail_hscp['aptType'], $villa_rlet_type_cd)):
?>
<div class="main-card mb-3 card">
<div class="card-body ">
<h5 class="card-title">단지 정보</h5>
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<tr>
<th>단지명</th>
<td><?= $detail_hscp['villaName']; ?></td>
<th>단지타입명</th>
<td colspan="3"><?= $detail_hscp['villaTypeName']; ?></td>
<th>단지 총 세대수</th>
<td><?= $detail_hscp['totHsehCnt']; ?></td>
<th>단지 총 동수 </th>
<td><?= $detail_hscp['totDongCnt']; ?></td>
<th>주소(광역시/도)</th>
<td><?= $detail_hscp['city']; ?></td>
<th>주소(시군구)</th>
<td><?= $detail_hscp['dvsn']; ?></td>
<th>주소(광역시/도)</th>
<td><?= $detail_hscp['city']; ?></td>
<th>주소(시군구)</th>
<td><?= $detail_hscp['dvsn']; ?></td>
<th>주소(읍면동)</th>
<td><?= $detail_hscp['sec']; ?></td>
<th>소재 동이하 상세주소</th>
<td><?= $detail_hscp['dtlAddr']; ?></td>
</tr>
<tr>
<th>소재 주소(전체)</th>
<td colspan="17"><?= $detail_hscp['addr']; ?></td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
<th>주소(읍면동)</th>
<td><?= $detail_hscp['sec']; ?></td>
<th>소재 동이하 상세주소</th>
<td><?= $detail_hscp['dtlAddr']; ?></td>
</tr>
<tr>
<th>소재 주소(전체)</th>
<td colspan="17"><?= $detail_hscp['addr']; ?></td>
</tr>
</table>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<div class="main-card mb-3 card">
<div class="card-body ">
<h5 class="card-title">상태변경</h5>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<button class="mb-2 me-2 btn btn-light"
onclick="fn_status_change(<?= $data['vr_sq'] ?>, '<?= $c['cd'] ?>', '<?= $c['cd_nm'] ?>');"><?= $c['cd_nm'] ?></button>
<?php endif; ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<button class="mb-2 me-2 btn btn-light"
onclick="fn_status_change(<?= $data['vr_sq'] ?>, '<?= $c['cd'] ?>', '<?= $c['cd_nm'] ?>');"><?= $c['cd_nm'] ?></button>
<?php endif; ?>
<?php endforeach; ?>
</div>
</div>
@@ -644,59 +644,59 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<div id="douc_img_dis" class="py-2">
<?php if (!empty($data['confirm_doc_img_url'])): ?>
<?php if ($data['confirm_doc_img_url_save_yn'] == 'Y'):
$img_path = $record['file_path'] . $record['file_name'];
$ext = $record['file_ext'];
<?php if ($data['confirm_doc_img_url_save_yn'] == 'Y'):
$img_path = $record['file_path'] . $record['file_name'];
$ext = $record['file_ext'];
if (strtolower($ext) == '.pdf'):
if (strtolower($ext) == '.pdf'):
?>
<iframe src="<?= $server_addr ?><?= $img_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php elseif (!in_array($ext, ['.zip', '.ZIP', '.pdf', '.PDF'])): ?>
<?php foreach ($arrRecord as $row):
$arr_img_path = $row['file_path'] . $row['file_name'];
?>
<iframe src="<?= $server_addr ?><?= $img_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php elseif (!in_array($ext, ['.zip', '.ZIP', '.pdf', '.PDF'])): ?>
<?php foreach ($arrRecord as $row):
$arr_img_path = $row['file_path'] . $row['file_name'];
?>
<a href="<?= $arr_img_path ?>">
<?php if (strcmp($img_path, $arr_img_path) == 0): ?>
<img id="photo-display" src="<?= $img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php endif; ?>
</a>
<?php endforeach; ?>
<?php endif; ?>
<?php else:
$img_path = $data['confirm_doc_img_url'];
$ext = strrchr($data['confirm_doc_img_url'], "."); //맨뒤에.부터 자른다
if (strtolower($ext) == '.pdf'):
?>
<iframe src="<?= $img_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe>
<?php else: ?>
<?php endif; ?>
<img id="photo-display" src="<?= $img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<a href="<?= $arr_img_path ?>">
<?php if (strcmp($img_path, $arr_img_path) == 0): ?>
<img id="photo-display" src="<?= $img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php endif; ?>
</a>
<?php endforeach; ?>
<?php endif; ?>
<?php else:
$img_path = $data['confirm_doc_img_url'];
$ext = strrchr($data['confirm_doc_img_url'], "."); //맨뒤에.부터 자른다
if (strtolower($ext) == '.pdf'):
?>
<iframe src="<?= $img_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe>
<?php else: ?>
<?php endif; ?>
<img id="photo-display" src="<?= $img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php endif; ?>
<?php else: ?>
<a href="#" rel="lightbox[gallery]">
<img id="photo-display" src="/plugin/img/photo.gif" alt="Image"
style="width:100%; max-width:945px; border:0;">
</a>
<a href="#" rel="lightbox[gallery]">
<img id="photo-display" src="/plugin/img/photo.gif" alt="Image"
style="width:100%; max-width:945px; border:0;">
</a>
<?php endif; ?>
</div>
<?php if (empty($data['confirm_doc_img_url'])): ?>
<div id="div_fild_upload" class="text-end">
<label class="btn btn-sm btn-outline-secondary mb-0">
<i class="fa fa-upload me-1"></i> 업로드
<input type="file" id="docu_file" name="docu_file" class="d-none"
onchange="myfile_onchange(event)" />
</label>
</div>
<div id="div_fild_upload" class="text-end">
<label class="btn btn-sm btn-outline-secondary mb-0">
<i class="fa fa-upload me-1"></i> 업로드
<input type="file" id="docu_file" name="docu_file" class="d-none"
onchange="myfile_onchange(event)" />
</label>
</div>
<?php endif; ?>
</td>
@@ -721,11 +721,11 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
name="fax_conf_res_d11">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CONFIRM_RESULT_D11"): ?>
<option value="<?= $c['cd'] ?>" <?= ($c['cd'] === $data['result_d11']) ? 'selected' : '' ?>>
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php if ($c['category'] === "CONFIRM_RESULT_D11"): ?>
<option value="<?= $c['cd'] ?>" <?= ($c['cd'] === $data['result_d11']) ? 'selected' : '' ?>>
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php endforeach; ?>
</select>
</td>
@@ -768,23 +768,23 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
}
?>
<td style="border: 0; padding:2px 0 2px 0; height:18px;">
<div class="form-check d-flex align-items-center mb-0">
<input class="form-check-input mt-0" type="checkbox"
id="comment_<?= $key ?>" disabled>
<label class="form-check-label ms-1 small"
for="price_ignore1">
<?= $value['cd_nm'] ?>
</label>
</div>
</td>
<td style="border: 0; padding:2px 0 2px 0; height:18px;">
<div class="form-check d-flex align-items-center mb-0">
<input class="form-check-input mt-0" type="checkbox"
id="comment_<?= $key ?>" disabled>
<label class="form-check-label ms-1 small"
for="price_ignore1">
<?= $value['cd_nm'] ?>
</label>
</div>
</td>
<?php $nCnt++;
<?php $nCnt++;
} ?>
<?php if ($nCnt > 0) { ?>
</tr>
</tr>
<?php } ?>
</table>
</td>
@@ -898,11 +898,11 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<select class="form-select" name="tel_agree" id="tel_agree">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CONFIRM_RESULT_T11"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['tel_agree']) {
echo "selected";
} ?>><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php if ($c['category'] === "CONFIRM_RESULT_T11"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['tel_agree']) {
echo "selected";
} ?>><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
</select>
</td>
@@ -928,15 +928,15 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<!-- 기존 업로드된 파일 정보 -->
<?php if (!empty($tel)) { ?>
<div class="mb-2 small">
<div class="d-flex align-items-center gap-2 flex-wrap">
<a href="<?= $tel['file_url'] ?? '#' ?>" class="text-decoration-none">
<i class="fa fa-file-audio-o me-1"></i><?= $tel['file_name'] ?>
</a>
<span class="badge text-dark"><?= $tel['file_size'] ?>kb</span>
<span class="text-muted"><?= $tel['insert_tm'] ?></span>
</div>
<div class="mb-2 small">
<div class="d-flex align-items-center gap-2 flex-wrap">
<a href="<?= $tel['file_url'] ?? '#' ?>" class="text-decoration-none">
<i class="fa fa-file-audio-o me-1"></i><?= $tel['file_name'] ?>
</a>
<span class="badge text-dark"><?= $tel['file_size'] ?>kb</span>
<span class="text-muted"><?= $tel['insert_tm'] ?></span>
</div>
</div>
<?php } ?>
<!-- 파일 업로드 -->
@@ -1060,11 +1060,11 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<td class="d-flex gap-2">
<select class="form-select" name="tel_fail_cause" id="tel_fail_cause">
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "TEL_FAIL_CAUSE"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['tel_fail_cause']) {
echo 'selected';
} ?>><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php if ($c['category'] === "TEL_FAIL_CAUSE"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['tel_fail_cause']) {
echo 'selected';
} ?>><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
</select>
@@ -1076,10 +1076,10 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<?php
if ($usr_level == '1') {
?>
<button class="btn btn-sm btn-light" style="white-space: nowrap;" onclick="saveTel();">
저장
</button>
<?php
<button class="btn btn-sm btn-light" style="white-space: nowrap;" onclick="saveTel();">
저장
</button>
<?php
}
?>
</div>
@@ -1101,77 +1101,77 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<!-- 좌측 : 이미지 -->
<td>
<?php if (!empty($data['cert_register'])): ?>
<?php if ($data['cert_register_save_yn'] == 'Y'): ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $server_addr ?><?= $regi_pdf_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br />
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arrRegist)) { ?>
<img id="photo-display2" src="/img/photo.gif" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arrRegist as $row) {
$img_path = $row['file_path'] . $row['file_name']; ?>
<a href="<?= $img_path ?>" class="default_val" target="_blank"
rel="lightbox[gallery1]">
<img id="photo-display2" src="'.$img_path.'" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</a>
<?php }
} ?>
</div><br />
<?php } ?>
<?php else: ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $regi_pdf_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arr_cert_register)) { ?>
<img id="photo-display2" src="/plugin/img/photo.gif" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arr_cert_register as $img_path) { ?>
<a href="<?= $img_path ?>" class="default_val" target="_blank"
rel="lightbox[gallery1]">
<img id="photo-display2" src="'.$img_path.'" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</a>
<?php }
} ?>
</div><br />
<?php } ?>
<?php endif; ?>
<?php if ($data['cert_register_save_yn'] == 'Y'): ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $server_addr ?><?= $regi_pdf_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br />
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arrRegist)) { ?>
<img id="photo-display2" src="/img/photo.gif" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arrRegist as $row) {
$img_path = $row['file_path'] . $row['file_name']; ?>
<a href="<?= $img_path ?>" class="default_val" target="_blank"
rel="lightbox[gallery1]">
<img id="photo-display2" src="'.$img_path.'" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</a>
<?php }
} ?>
</div><br />
<?php } ?>
<?php else: ?>
<?php if (strtolower($file_pdf) == 'pdf') { ?>
<iframe src="<?= $regi_pdf_path ?>" frameborder="0"
style="padding: 10px 0;width:100%; height:800px;"></iframe><br>
<?php } else { ?>
<div id="regi_file_dis" style="padding: 10px 0px; height: 730px; overflow-y: auto;">
<?php if (empty($arr_cert_register)) { ?>
<img id="photo-display2" src="/plugin/img/photo.gif" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
<?php } else {
foreach ($arr_cert_register as $img_path) { ?>
<a href="<?= $img_path ?>" class="default_val" target="_blank"
rel="lightbox[gallery1]">
<img id="photo-display2" src="'.$img_path.'" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</a>
<?php }
} ?>
</div><br />
<?php } ?>
<?php endif; ?>
<?php else: ?>
<?php if (empty($regist)) {
<?php if (empty($regist)) {
$regi_img_path = '/plugin/img/photo.gif';
} else {
if (empty($regist['file_path']) || empty($regist['file_name'])) {
$regi_img_path = '/plugin/img/photo.gif';
} else {
if (empty($regist['file_path']) || empty($regist['file_name'])) {
$regi_img_path = '/plugin/img/photo.gif';
} else {
$regi_img_path = $regist['file_path'] . $regist['file_name'];
$regi_img_path = $regist['file_path'] . $regist['file_name'];
if ($regist['cloud_upload_yn'] === "Y") {
$regi_img_path = NCLOUD_OBJECT_STORAGE_URL . $regi_img_path;
}
if ($regist['cloud_upload_yn'] === "Y") {
$regi_img_path = NCLOUD_OBJECT_STORAGE_URL . $regi_img_path;
}
}
?>
<div id="regi_file_dis" style="padding: 10px 0;">
<img id="photo-display2" src="<?= $regi_img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</div>
<div id="regi_file_pdf" style="padding: 10px 0; display:none;">
<a href="<?= $regi_pdf_path ?>" class="embed"></a>
</div>
<a href="<?= $regi_img_path ?>" class="default_val" target="_blank">등기부등본
보기</a>&nbsp;&nbsp;&nbsp;
<a href="" class="default_val" target="_blank" rel="lightbox" id="hongbo"
onclick="chk_hongbo(event); return false;">홍보확인서 보기</a>
}
?>
<div id="regi_file_dis" style="padding: 10px 0;">
<img id="photo-display2" src="<?= $regi_img_path ?>" alt="Image"
style="width:100%;max-width:945px;min-width:100%;border:0;" />
</div>
<div id="regi_file_pdf" style="padding: 10px 0; display:none;">
<a href="<?= $regi_pdf_path ?>" class="embed"></a>
</div>
<a href="<?= $regi_img_path ?>" class="default_val" target="_blank">등기부등본
보기</a>&nbsp;&nbsp;&nbsp;
<a href="" class="default_val" target="_blank" rel="lightbox" id="hongbo"
onclick="chk_hongbo(event); return false;">홍보확인서 보기</a>
<?php endif; ?>
</td>
@@ -1244,18 +1244,18 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
</tr>
<?php if ($data['vrfc_type_cd'] == "N"): ?>
<tr>
<th>소유자명 확인</th>
<td>
<select class="form-select" name="ownerVerifiable" id="ownerVerifiable">
<option value="">-선택-</option>
<option value="1" <?php if ($data['owner_verifiable'] == "1")
echo "selected"; ?>>일치</option>
<option value="0" <?php if ($data['owner_verifiable'] == "0")
echo "selected"; ?>>불일치</option>
</select>
</td>
</tr>
<tr>
<th>소유자명 확인</th>
<td>
<select class="form-select" name="ownerVerifiable" id="ownerVerifiable">
<option value="">-선택-</option>
<option value="1" <?php if ($data['owner_verifiable'] == "1")
echo "selected"; ?>>일치</option>
<option value="0" <?php if ($data['owner_verifiable'] == "0")
echo "selected"; ?>>불일치</option>
</select>
</td>
</tr>
<?php endif; ?>
<tr>
<th>메모</th>
@@ -1312,14 +1312,14 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<!-- 왼쪽 버튼 영역 -->
<?php if (empty($data['cert_register'])): ?>
<div class="d-flex gap-1">
<button class="btn btn-sm btn-outline-success" id="btnUploadModal">
<i class="fa fa-fw" aria-hidden="true"></i> 파일업로드
</button>
<!-- <button class="btn btn-sm btn-outline-secondary">
<div class="d-flex gap-1">
<button class="btn btn-sm btn-outline-success" id="btnUploadModal">
<i class="fa fa-fw" aria-hidden="true"></i> 파일업로드
</button>
<!-- <button class="btn btn-sm btn-outline-secondary">
저장
</button> -->
</div>
</div>
<?php endif; ?>
<!-- 오른쪽 버튼 영역 -->
@@ -1331,13 +1331,13 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
&& $data['stat_cd'] != '49')
|| $usr_level == '1'
): ?>
<button type="button" class="btn btn-light btn-sm" onclick="saveFinalRegi();">
최종실패
</button>
<button type="button" class="btn btn-light btn-sm" onclick="saveFinalRegi();">
최종실패
</button>
<button type="button" class="btn btn-primary btn-sm" onclick="saveRegi();">
저장
</button>
<button type="button" class="btn btn-primary btn-sm" onclick="saveRegi();">
저장
</button>
<?php endif; ?>
</div>
@@ -1361,15 +1361,15 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<th style="text-align: center;">세부내용</th>
</tr>
<?php if (!empty($history)) { ?>
<?php foreach ($history as $h) { ?>
<tr>
<td style="text-align: center;"><?= $h['stat_cd_nm'] ?></td>
<td style="text-align: center;"><?= $h['chg_type'] ?></td>
<td style="text-align: center;"><?= $h['insert_id'] ?></td>
<td style="text-align: center;"><?= $h['insert_tm'] ?></td>
<td><?= $h['memo'] ?></td>
<?php foreach ($history as $h) { ?>
<tr>
<td style="text-align: center;"><?= $h['stat_cd_nm'] ?></td>
<td style="text-align: center;"><?= $h['chg_type'] ?></td>
<td style="text-align: center;"><?= $h['insert_id'] ?></td>
<td style="text-align: center;"><?= $h['insert_tm'] ?></td>
<td><?= $h['memo'] ?></td>
<?php } ?>
<?php } ?>
<?php } ?>
</table>
</div>
@@ -1726,31 +1726,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
});
dz.on("queuecomplete", function () {
let result = lastUploadResponse;
if (typeof result === "string") {
try {
result = JSON.parse(result);
} catch (e) {
result = { code: "-1", msg: result };
}
}
if (String(result.code) === "0") {
swal.fire({
title: "업로드가 완료되었습니다.",
icon: "success",
});
location.reload();
return;
}
const msg = result.msg ? result.msg : "업로드 실패";
swal.fire({
title: msg,
icon: "error",
draggable: true
});
location.reload();
});
dz.on("successmultiple", function () {
@@ -2525,14 +2501,14 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
}
<?php if ($data['vrfc_type_cd'] == "N") { ?>
if (frm.ownerVerifiable.value == "") {
swal.fire({
text: "소유자명 확인 결과를 선택해 주세요",
icon: "warning"
});
frm.ownerVerifiable.focus();
return false;
}
if (frm.ownerVerifiable.value == "") {
swal.fire({
text: "소유자명 확인 결과를 선택해 주세요",
icon: "warning"
});
frm.ownerVerifiable.focus();
return false;
}
<?php } ?>
if (frm.reg_conf_yn_2.value == "20000") {