워커 수정

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,