워커 수정

This commit is contained in:
2026-04-27 15:03:36 +09:00
parent b0ec75ae56
commit f8c26acea8
30 changed files with 1317 additions and 1142 deletions

View File

@@ -96,6 +96,12 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<input type="hidden" name="rcpt_atclno" value="<?= $data['rcpt_atclno'] ?>" />
<input type="hidden" name="rcpt_key" value="<?= $data['rcpt_key'] ?>" />
<input type="hidden" name="rcpt_product" id="rcpt_product" value="<?= $data['rcpt_product'] ?>" />
<input type="hidden" name="rcpt_sido" value="<?= $data['rcpt_sido'] ?? '' ?>" />
<input type="hidden" name="rcpt_gugun" value="<?= $data['rcpt_gugun'] ?? '' ?>" />
<input type="hidden" name="rcpt_dong" value="<?= $data['rcpt_dong'] ?? '' ?>" />
<input type="hidden" name="rcpt_hscp_no" value="<?= $data['rcpt_hscp_no'] ?? '' ?>" />
<input type="hidden" name="rcpt_ptp_no" value="<?= $data['rcpt_ptp_no'] ?? '' ?>" />
<div class="main-card mb-3 card">
<div class="card-body">
<h5 class="card-title">매물 정보</h5>
@@ -140,15 +146,14 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<td>
<select class="form-select" id="trade_type" onchange="trade_type_onchange();" disabled>
<option value="">거래구분</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "TRADE_TYPE"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['trade_type']) {
echo "selected";
} ?>>
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php foreach ( $codes['TRADE_TYPE']['items'] as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?php if ($cd === $data['trade_type']) {
echo "selected";
} ?>>
<?= $cdNm ?>
</option>
<?php endforeach; ?>
</select>
</td>
</tr>
@@ -202,7 +207,12 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
</tr>
<tr>
<th>단지명</th>
<td></td>
<td>
<select class="form-select" id="rcpt_hscp_nm" onchange="hscp_nm_onchange();" disabled>
<option value="">단지명</option>
</select>
</td>
<th>가격</th>
<td>
<?php
@@ -211,14 +221,18 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
$v3 = str_replace(',', '', $data['rcpt_product_info3'] ?? '');
$v4 = str_replace(',', '', $data['rcpt_product_info4'] ?? '');
$v5 = str_replace(',', '', $data['rcpt_product_info5'] ?? '');
$v6 = str_replace(',', '', $data['rcpt_product_info6'] ?? '');
// 분양가/프리미엄 노출 조건
$chk_array = ['B01', 'B02', 'B03'];
$show_sale_premium = (in_array(($data['rcpt_product'] ?? ''), $chk_array) || ($data['trade_type'] ?? '') === 'A1');
$hasAmount = ($data['dealAmount'] + $data['warrantyAmount'] + $data['leaseAmount'] + $data['preSaleAmount'] + $data['premiumAmount'] + $data['preSaleOptionAmount']) > 0;
?>
<?php if (!$hasAmount): ?>
<!-- 보증금/금액 -->
<!-- 기존 금액 입력 (데이터 없을 때만 표시) -->
<div style="border: 1px solid #dee2e6; border-radius: 4px; padding: 10px; margin-bottom: 15px;">
<div class="d-flex flex-column gap-1">
<div class="d-flex align-items-center gap-1 flex-wrap">
<input type="text" class="form-control form-control-sm" name="rcpt_product_info2"
@@ -230,35 +244,95 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<div id="div_trade_type_price_monthly">
<div class="d-flex align-items-center gap-1 flex-wrap">
<input type="text" class="form-control form-control-sm" name="rcpt_product_info3"
id="rcpt_product_info3" value="<?= esc($v3) ?>" style="width: 110px;" disabled />
id="rcpt_product_info3" value="<?= esc($v3) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원 (월)</span>
</div>
</div>
<!-- 분양가 / 프리미엄 -->
<?php if ($show_sale_premium): ?>
<div class="d-flex align-items-center gap-2 flex-wrap mt-1">
<div class="d-flex align-items-center gap-1 flex-wrap mt-1">
<span class="small text-nowrap">분양가</span>
<input type="text" class="form-control form-control-sm" name="rcpt_product_info4"
id="rcpt_product_info4" value="<?= esc($v4) ?>" style="width: 110px;" disabled />
<input type="text" class="form-control form-control-sm" name="rcpt_product_info4" id="rcpt_product_info4" value="<?= esc($v4) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
<span class="small text-muted">/</span>
<span class="small text-muted mx-2">/</span>
<span class="small text-nowrap">프리미엄</span>
<input type="text" class="form-control form-control-sm" name="rcpt_product_info5"
id="rcpt_product_info5" value="<?= esc($v5) ?>" style="width: 110px;" disabled />
<input type="text" class="form-control form-control-sm" name="rcpt_product_info5" id="rcpt_product_info5" value="<?= esc($v5) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
<span class="small text-muted mx-2">/</span>
<span class="small text-nowrap">옵션금액</span>
<input type="text" class="form-control form-control-sm" name="rcpt_product_info6" id="rcpt_product_info6" value="<?= esc($v6) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!-- 모든 금액 필드 (hidden으로 초기화) -->
<input type="hidden" name="dealAmount" id="dealAmount" value="<?= $data['dealAmount'] ?>">
<input type="hidden" name="warrantyAmount" id="warrantyAmount" value="<?= $data['warrantyAmount'] ?>">
<input type="hidden" name="leaseAmount" id="leaseAmount" value="<?= $data['leaseAmount'] ?>">
<input type="hidden" name="preSaleAmount" id="preSaleAmount" value="<?= $data['preSaleAmount'] ?>">
<input type="hidden" name="premiumAmount" id="premiumAmount" value="<?= $data['premiumAmount'] ?>">
<input type="hidden" name="preSaleOptionAmount" id="preSaleOptionAmount" value="<?= $data['preSaleOptionAmount'] ?>">
<!-- 거래구분별 가격 표시 (disabled이므로 form submit에 포함 안됨 - hidden input이 대신 전송) -->
<?php switch ($data['rcpt_product_info1']):
case '단기임대':
case '월세':
?>
<div class="d-flex align-items-center gap-1 flex-wrap">
<span class="small text-nowrap">보증금</span>
<input type="text" id="displayWarrantyAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['warrantyAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
<span class="small text-muted mx-2">/</span>
<span class="small text-nowrap">임대료</span>
<input type="text" id="displayLeaseAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['leaseAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
</div>
<?php break; ?>
<?php case '전세': ?>
<div class="d-flex align-items-center gap-1 flex-wrap">
<span class="small text-nowrap">보증금</span>
<input type="text" id="displayWarrantyAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['warrantyAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
</div>
<?php break; ?>
<?php case '매매': ?>
<div class="d-flex align-items-center gap-1 flex-wrap">
<span class="small text-nowrap">매매가</span>
<input type="text" id="displayDealAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['dealAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
</div>
<?php break; ?>
<?php endswitch; ?>
<?php if ( in_array($data['rcpt_product'] , ['B01','B02','B03'] ) ) : ?>
<div class="d-flex align-items-center gap-1 flex-wrap mt-1">
<span class="small text-nowrap">분양가</span>
<input type="text" id="displayPresaleAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['preSaleAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
<span class="small text-muted mx-2">/</span>
<span class="small text-nowrap">프리미엄</span>
<input type="text" id="displayPremiumAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['premiumAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
<span class="small text-muted mx-2">/</span>
<span class="small text-nowrap">옵션금액</span>
<input type="text" id="displayOptionAmount" class="form-control form-control-sm display-price-input" value="<?= esc($data['preSaleOptionAmount']) ?>" style="width: 90px;" disabled />
<span class="small text-nowrap">만원</span>
</div>
<?php endif; ?>
<!-- 버튼 -->
<div class="d-flex align-items-center justify-content-end gap-1 mt-2">
<button type="button" class="btn btn-sm btn-outline-light btn-edit"
onclick="editPriceInfo();">수정</button>
onclick="editPriceInfo();">가격수정</button>
<button type="button" class="btn btn-sm btn-outline-success btn-save"
data-hscp_no="<?php echo $data['rcpt_hscp_no'];?>" data-ptp_no="<?php echo $data['rcpt_ptp_no'];?>"
onclick="modifyPriceInfo(this);">가격수정</button>
onclick="modifyPriceInfo(this);">저장</button>
<button type="button" class="btn btn-sm btn-outline-secondary btn-cancel"
onclick="location.reload();" style="display: none;">취소</button>
</div>
</div>
</td>
@@ -266,7 +340,11 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<tr>
<th>평형</th>
<td></td>
<td>
<select class="form-select" id="rcpt_ptp_nm" disabled>
<option value="">평형 선택</option>
</select>
</td>
<?php
$chk_product_nm = [
'C04', // 전원주택
@@ -295,8 +373,55 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
</td>
</tr>
<tr class="spc">
<th></th>
<td></td>
<th>
<select id="spc_name" class="form-select" disabled="disabled" >
<option value="1" <?php echo ($data['spc_stat'] == '1') ? 'selected' : ''; ?>>전용/공용</option>
<option value="2" <?php echo ($data['spc_stat'] == '2') ? 'selected' : ''; ?>>연면적/대지</option>
<option value="3" <?php echo ($data['spc_stat'] == '3') ? 'selected' : ''; ?>>면적확인불가</option>
</select>
</th>
<td>
<?php
$data['excls_spc1'] ??= $data['excls_spc'];
$data['share_spc1'] ??= $data['share_spc'];
?>
<div class="d-flex align-items-center justify-content-start mt-2" style="gap:88px;">
<span id="exclsspc">전용면적 값 : <?=$data['excls_spc']?>m&#178;</span>
<span id="splyspc">공급면적 값 : <?=$data['sply_spc']?>m&#178;</span>
</div>
<div class="d-flex align-items-center justify-content-end gap-1 mt-2">
<input type="text" class="form-control form-control-sm" name="exclsspc1" id="exclsspc1" value="<?=$data['excls_spc1']?>" size="6" disabled />
<input type="text" class="form-control form-control-sm" name="exclsspc2" id="exclsspc2" value="<?=$data['excls_spc2']?>" size="6" disabled />
<span id="slash1">/</span>
<input type="text" class="form-control form-control-sm" name="sharespc1" id="sharespc1" value="<?=$data['share_spc1']?>" size="4" disabled />
<input type="text" class="form-control form-control-sm" name="sharespc2" id="sharespc2" value="<?=$data['share_spc2']?>" size="4" disabled />
<input type="text" class="form-control form-control-sm" name="sharespc3" id="sharespc3" value="<?=$data['share_spc3']?>" size="4" disabled />
<input type="text" class="form-control form-control-sm" name="sharespc4" id="sharespc4" value="<?=$data['share_spc4']?>" size="4" disabled />
<input type="text" class="form-control form-control-sm" name="sharespc5" id="sharespc5" value="<?=$data['share_spc5']?>" size="4" disabled />
<!-- Hidden fields for additional space info -->
<input type="hidden" name="totspc1" id="totspc1" value="<?=$data['tot_spc1']?>" />
<input type="hidden" name="totspc2" id="totspc2" value="<?=$data['tot_spc2']?>" />
<span id="slash2" style="display:none">/</span>
<input type="hidden" name="grndspc1" id="grndspc1" value="<?=$data['grnd_spc1']?>" />
<input type="hidden" name="grndspc2" id="grndspc2" value="<?=$data['grnd_spc2']?>" />
<input type="hidden" name="grndspc3" id="grndspc3" value="<?=$data['grnd_spc3']?>" />
<input type="hidden" name="grndspc4" id="grndspc4" value="<?=$data['grnd_spc4']?>" />
<input type="hidden" name="grndspc5" id="grndspc5" value="<?=$data['grnd_spc5']?>" />
<input type="hidden" name="nonspc1" id="nonspc1" value="" />
<input type="hidden" name="nonspc2" id="nonspc2" value="" />
<span id="slash3" style="display:none">/</span>
<input type="hidden" name="nonspc3" id="nonspc3" value="" />
<input type="hidden" name="nonspc4" id="nonspc4" value="" />
<input type="hidden" name="nonspc5" id="nonspc5" value="" />
<input type="hidden" name="nonspc6" id="nonspc6" value="" />
<input type="hidden" name="nonspc7" id="nonspc7" value="" />
</div>
</td>
<th>면적확인파일1</th>
<td>
<?php
@@ -417,7 +542,7 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
</td>
<th></th>
<td colspan="2" class="d-flex gap-1 justify-content-end">
<button type="button" class="btn btn-sm btn-outline-light" id="btnSilverReadLatLng" onclick="">
<button type="button" class="btn btn-sm btn-outline-light" id="btnSilverReadLatLng" onclick="editInfo.call(this);">
수정
</button>
@@ -710,17 +835,16 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<td class="d-flex gap-1">
<select class="form-select" name="result_cd2" id="result_cd2" style="width: 100px;">
<option value="">분류1</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "RECEIPT_STATUS2"): ?>
<?php if (substr($c['cd'], 0, 2) == "90"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] === $data['result_cd2']) {
echo "selected";
} ?>>
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php foreach( $codes['RECEIPT_STATUS2']['items'] as $cd => $cdNm): ?>
<?php if (substr($cd, 0, 2) == "90"): ?>
<option value="<?= $cd ?>" <?php if ($cd === $data['result_cd2']) {
echo "selected";
} ?>>
<?= $cdNm ?>
</option>
<?php endif; ?>
<?php endforeach; ?>
</select>
<select class="form-select" name="result_cd3" id="result_cd3" style="width: 100px;">
<option value="">분류2</option>
@@ -1026,10 +1150,8 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
<table class="table table-bordered table-sm tbl_basic2 apt-info-table">
<?php
$smsList = [];
foreach ($codes as $c) {
if ($c['category'] === "SMS_MSG_TYPE") {
array_push($smsList, $c);
}
foreach ($codes['SMS_MSG_TYPE']['items'] as $cd => $cdNm) {
array_push($smsList, ['cd' => $cd, 'cd_nm' => $cdNm]);
}
$smsTot = sizeof($smsList);
@@ -1048,7 +1170,7 @@ $isV2 = (($data['isSiteVRVerification'] ?? '') === 'Y');
?>
<td style="text-align:center">
<a href="javascript:viewSmsPop('<?= $sms1['cd'] ?>');">
<?= $sms1['category_nm'] ?>
<?= $sms1['cd_nm'] ?>
</a>
</td>
<?php

View File

@@ -225,10 +225,8 @@ $usr_nm = session('usr_nm');
<select name="rcpt_stat1" class="form-select form-select-sm">
<option value="">선택</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<!-- <select name="rcpt_stat2" id="srcGugun" class="form-select form-select-sm">
@@ -244,10 +242,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">거래구분</label>
<select class="form-select form-select-sm" name="rcpt_product_info1">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "NHN_DEAL_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['NHN_DEAL_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cdNm ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -283,10 +279,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">CP ID</label>
<select class="form-select form-select-sm" name="rcpt_cpid">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -295,10 +289,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">매물종류</label>
<select class="form-select form-select-sm" name="rcpt_product">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -452,13 +444,12 @@ $usr_nm = session('usr_nm');
const bonbuArr = <?= json_encode($bonbu, JSON_UNESCAPED_UNICODE); ?>;
const teamArr = <?= json_encode($team, JSON_UNESCAPED_UNICODE); ?>;
const userArr = <?= json_encode($user, JSON_UNESCAPED_UNICODE); ?>;
<?php if (isset($srchUser) && !empty($srchUser)): ?>
const srchUser = <?= json_encode($srchUser, JSON_UNESCAPED_UNICODE); ?>;
<?php else: ?>
const srchUser = null;
<?php endif; ?>
const srchUser = <?= json_encode((!empty($srchUser) ? $srchUser : null), JSON_UNESCAPED_UNICODE); ?>;
const sBonbu = "<?= $sBonbu ?? '' ?>";
const sTeam = "<?= $sTeanm ?? '' ?>";
const sTeam = "<?= $sTeam ?? '' ?>";
const userColumns = <?= ($usr_level != '45')
? "[{ data: 'dept_nm' }, { data: 'usr_nm' }]"
: "[]" ?>;
const date = new Date();
var table;
@@ -703,19 +694,15 @@ $usr_nm = session('usr_nm');
{ data: null, render: fn_agent_render , className: 'tw-150' },
{ data: null, render: fn_addr_render },
{ data: null, render: fn_prd_render },
{ data: 'rcpt_product_info1' },
<?php if ($usr_level != "45"):
echo "{ data: 'dept_nm' },
{ data: 'usr_nm' },";
endif; ?>
{ data: 'rcpt_product_info1' }
].concat(userColumns, [
{ data: 'parcel_out_yn' },
{ data: 'conf_img_yn' },
{ data: 'exp_movie_yn' },
{ data: 'ground_plan_yn' },
{ data: 'ground_plan' },
{ data: 'exp_spc_yn' },
],
{ data: 'exp_spc_yn' }
]),
// 옵션들 예시
destroy: true,
deferRender: true,

View File

@@ -225,10 +225,8 @@ $usr_nm = session('usr_nm');
<div class="d-flex gap-1">
<select name="rcpt_stat1" class="form-select form-select-sm">
<option value="">예약확인지연</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<select name="rcpt_stat2" id="srcGugun" class="form-select form-select-sm">
@@ -244,10 +242,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">거래구분</label>
<select class="form-select" name="rcpt_product_info1">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "NHN_DEAL_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['NHN_DEAL_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cdNm ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -283,10 +279,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">CP ID</label>
<select class="form-select" name="rcpt_cpid">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -295,10 +289,8 @@ $usr_nm = session('usr_nm');
<label class="form-label mb-1">매물종류</label>
<select class="form-select" name="rcpt_product">
<option value="">전체</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -469,6 +461,9 @@ $usr_nm = session('usr_nm');
const bonbuArr = <?= json_encode($bonbu, JSON_UNESCAPED_UNICODE); ?>;
const teamArr = <?= json_encode($team, JSON_UNESCAPED_UNICODE); ?>;
const userArr = <?= json_encode($user, JSON_UNESCAPED_UNICODE); ?>;
const userColumns = <?= ($usr_level != '45')
? "[{ data: 'dept_nm' }, { data: 'usr_nm' }]"
: "[]" ?>;
const date = new Date();
var table;
@@ -709,14 +704,11 @@ $usr_nm = session('usr_nm');
{ data: null, render: fn_agent_render },
{ data: null, render: fn_addr_render },
{ data: null, render: fn_prd_render },
{ data: 'rcpt_product_info1' },
<?php if ($usr_level != "45"): ?>
{ data: 'dept_nm' },
{ data: 'usr_nm' },
<?php endif; ?>
{ data: 'rcpt_product_info1' }
].concat(userColumns, [
{ data: 'parcel_out_yn' },
{ data: 'conf_img_yn' },
],
{ data: 'conf_img_yn' }
]),
// 옵션들 예시
destroy: true,
deferRender: true,

View File

@@ -2276,6 +2276,7 @@ $usr_level = session('usr_level');
}
}
}
// 가격수정 저장
function modifyPriceInfo() {

View File

@@ -160,12 +160,10 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<select class="form-select form-select-sm" name="atcl_vrtc_way"
id="atcl_vrtc_way" disabled>
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>" <?= ($c['cd'] === $data['vrfc_type_cd']) ? 'selected' : '' ?>>
<?= $c['cd_nm'] ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?= ($cd === $data['vrfc_type_cd']) ? 'selected' : '' ?>>
<?= $cdNm ?>
</option>
<?php endif; ?>
<?php endforeach; ?>
</select>
<?= $data['update_res_tm'] ?>
@@ -597,11 +595,9 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<div class="main-card mb-2 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 foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<button class="mb-2 me-2 btn btn-light"
onclick="fn_status_change(<?= $data['vr_sq'] ?>, '<?= $cd ?>', '<?= $cdNm ?>');"><?= $cdNm ?></button>
<?php endforeach; ?>
</div>
</div>
@@ -706,12 +702,10 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<select class="form-select" id="fax_conf_res_d11"
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'] ?>
<?php foreach (($codes['CONFIRM_RESULT_D11']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?= ($cd === $data['result_d11']) ? 'selected' : '' ?>>
<?= $cdNm ?>
</option>
<?php endif; ?>
<?php endforeach; ?>
</select>
</td>
@@ -735,12 +729,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
];
$nCnt = 0;
$code_comment = [];
foreach ($codes as $c) {
if ($c['category'] === "CONSULTANT_COMMENT") {
array_push($code_comment, $c);
}
}
$code_comment = $codes['CONSULTANT_COMMENT']['items'] ?? [];
foreach ($code_comment as $key => $value) {
if ($nCnt % 2 == 0 && $nCnt != 0) {
@@ -760,7 +749,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
id="comment_<?= $key ?>" disabled>
<label class="form-check-label ms-1 small"
for="price_ignore1">
<?= $value['cd_nm'] ?>
<?= $value ?>
</label>
</div>
</td>
@@ -883,12 +872,10 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<td>
<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']) {
<?php foreach (($codes['CONFIRM_RESULT_T11']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?php if ($cd === $data['tel_agree']) {
echo "selected";
} ?>><?= $c['cd_nm'] ?></option>
<?php endif; ?>
} ?>><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</td>
@@ -1031,7 +1018,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<tr>
<th>메모</th>
<td>
<div class="d-flex flex-column gap-1" style="">
<div class="d-flex flex-column gap-1">
<textarea class="form-control" name="memo_tel" id="memo_tel" rows="2"
style="resize: none;"><?= $memo['memo'] ?></textarea>
@@ -1045,14 +1032,11 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
<th>통화실패사유</th>
<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 foreach (($codes['TEL_FAIL_CAUSE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?php if ($cd === $data['tel_fail_cause']) {
echo 'selected';
} ?>><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</td>
</tr>

View File

@@ -38,10 +38,8 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -134,11 +132,9 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<select name="vrfc_type_sub" id="vrfc_type_sub" class="form-select form-select-sm">
<option value="">-선택-</option>
@@ -151,10 +147,8 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -164,10 +158,8 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -36,10 +36,8 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -132,11 +130,9 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<select name="vrfc_type_sub" id="vrfc_type_sub" class="form-select form-select-sm">
<option value="">-선택-</option>
@@ -149,10 +145,8 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -162,10 +156,8 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -53,11 +53,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -159,11 +157,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -183,11 +179,9 @@
<label class="form-label mb-1">팩스업체</label>
<select name="fax_corp" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "FAX_CORP"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['FAX_CORP']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -38,10 +38,8 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -85,12 +83,10 @@
<div class="input-group input-group-sm">
<select name="stat_complete_date" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>">
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>">
<?= $cdNm ?>
</option>
<?php endforeach; ?>
</select>
<input type="date" class="form-control" name="complete_sdate" id="complete_sdate" placeholder="시작일">
@@ -145,10 +141,8 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -158,10 +152,8 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -38,13 +38,11 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>" <?php if ($c['cd'] == "40") {
echo "selected";
} ?>><?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>" <?php if ($cd == "40") {
echo "selected";
} ?>><?= $cdNm ?>
</option>
<?php endforeach; ?>
</select>
</div>
@@ -137,10 +135,8 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<select name="vrfc_type_sub" id="vrfc_type_sub" class="form-select form-select-sm">
@@ -154,10 +150,8 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -167,10 +161,8 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -74,11 +74,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -170,10 +168,8 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -184,11 +180,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -103,11 +103,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -212,11 +210,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -225,11 +221,9 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -48,11 +48,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -157,11 +155,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -170,11 +166,9 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -79,11 +79,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -175,10 +173,8 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
<select name="vrfc_type_sub" id="vrfc_type_sub" class="form-select form-select-sm">
@@ -192,11 +188,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -205,11 +199,9 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -40,11 +40,9 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -135,11 +133,9 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -148,11 +144,9 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php endforeach; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>

View File

@@ -40,10 +40,8 @@
<label class="form-label mb-1">현재상태</label>
<select name="stat_cd" class="form-select form-select-sm">
<option value="">-선택-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "STEP_VERIFICATION"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['STEP_VERIFICATION']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -76,12 +74,10 @@
<div class="d-flex gap-2">
<select name="vrfcreq_way" id="vrfcreq_way" class="form-select form-select-sm">
<option value="">-검증방식-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "VRFCREQ_WAY"): ?>
<option value="<?= $c['cd'] ?>">
<?= $c['cd_nm'] ?>
</option>
<?php endif; ?>
<?php foreach (($codes['VRFCREQ_WAY']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>">
<?= $cdNm ?>
</option>
<?php endforeach; ?>
</select>
<select name="vrfc_type_sub" id="vrfc_type_sub" class="form-select form-select-sm">
@@ -155,10 +151,8 @@
<label class="form-label mb-1">매체사</label>
<select name="rcpt_cpid" class="form-select form-select-sm">
<option value="">-전체-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "CP_ID"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['CP_ID']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>
@@ -168,10 +162,8 @@
<label class="form-label mb-1">매물종류</label>
<select name="rlet_type_cd" class="form-select form-select-sm">
<option value="">-매물종류-</option>
<?php foreach ($codes as $c): ?>
<?php if ($c['category'] === "ARTICLE_TYPE"): ?>
<option value="<?= $c['cd'] ?>"><?= $c['cd_nm'] ?></option>
<?php endif; ?>
<?php foreach (($codes['ARTICLE_TYPE']['items'] ?? []) as $cd => $cdNm): ?>
<option value="<?= $cd ?>"><?= $cdNm ?></option>
<?php endforeach; ?>
</select>
</div>