This commit is contained in:
@@ -2,6 +2,17 @@
|
||||
<?= $this->section('content') ?>
|
||||
|
||||
<style>
|
||||
.tbl_basic2 th {
|
||||
padding: 0 10px;
|
||||
height: 27px;
|
||||
border: solid 1px #d8d9de;
|
||||
background-color: #eff0f4;
|
||||
letter-spacing: -1px;
|
||||
font-weight: normal;
|
||||
color: #5a5f69;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.num {
|
||||
font-family: Tahoma;
|
||||
color: #b68556;
|
||||
@@ -42,7 +53,7 @@
|
||||
<div class="card-body">
|
||||
<!-- table 유지 + 반응형 -->
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-sm align-middle mb-0" style="min-width: 900px;">
|
||||
<table class="table table-bordered table-sm tbl_basic2 align-middle mb-0" style="min-width: 900px;">
|
||||
<colgroup>
|
||||
<col style="width: 60%;">
|
||||
<col style="width: 40%;">
|
||||
@@ -95,21 +106,20 @@
|
||||
<div class="d-flex align-items-center w-100">
|
||||
<span class="fw-semibold">기본 정보</span>
|
||||
<div class="ms-auto">
|
||||
<span class="badge bg-light text-dark"
|
||||
id="span_current_stat"></span>
|
||||
<span class="badge text-dark" id="span_current_stat"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm mb-2 align-middle">
|
||||
<table class="table table-sm table-bordered mb-2 tbl_basic2 align-middle">
|
||||
<colgroup>
|
||||
<col style="width: 110px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">매물종류</th>
|
||||
<th>매물종류</th>
|
||||
<td id="write_work_type">
|
||||
<?php
|
||||
|
||||
@@ -130,7 +140,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">매물번호</th>
|
||||
<th>매물번호</th>
|
||||
<td>
|
||||
<form method="post" id="frmSearchArticle"
|
||||
name="frmSearchArticle" onsubmit="return false;">
|
||||
@@ -156,12 +166,12 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">CP ID</th>
|
||||
<th>CP ID</th>
|
||||
<td><span class="num"
|
||||
id="span_cpid"><?= $article['cpid'] ?></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">현재 상태</th>
|
||||
<th>현재 상태</th>
|
||||
<td><span class="num"
|
||||
id="span_current_stat"><?= $article['current_stat'] ?></span>
|
||||
</td>
|
||||
@@ -193,26 +203,26 @@
|
||||
<span class="fw-semibold">공인중개사 정보</span>
|
||||
</div>
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm mb-0 align-middle">
|
||||
<table class="table table-sm table-bordered mb-0 tbl_basic2 align-middle">
|
||||
<colgroup>
|
||||
<col style="width: 120px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">중개사명</th>
|
||||
<th>중개사명</th>
|
||||
<td><span
|
||||
id="span_realtor_nm"><?= $article['realtor_nm'] ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">대표전화/FAX</th>
|
||||
<th>대표전화/FAX</th>
|
||||
<td><span id="span_realtor_tel_no">
|
||||
<?= $article['agent_tel'] . (empty($article['agent_fax']) ? '' : ' / ' . $article['agent_fax']) ?>
|
||||
</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">담당자전화</th>
|
||||
<th>담당자전화</th>
|
||||
<td><span id="span_realtor_tel_no">
|
||||
<?= $article['realtor_tel_no'] ?>
|
||||
</span></td>
|
||||
@@ -229,14 +239,14 @@
|
||||
<span class="fw-semibold">중개인 요청사항</span>
|
||||
</div>
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm mb-0 align-middle" id="info_table">
|
||||
<table class="table table-sm table-bordered mb-0 tbl_basic2 align-middle" id="info_table">
|
||||
<colgroup>
|
||||
<col style="width: 120px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">중개인 요청사항</th>
|
||||
<th>중개인 요청사항</th>
|
||||
<td>
|
||||
<textarea class="form-control" id="request_msg"
|
||||
name="request_msg"
|
||||
@@ -260,35 +270,35 @@
|
||||
<span class="fw-semibold">매물 정보</span>
|
||||
</div>
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm mb-0 align-middle" id="info_table">
|
||||
<table class="table table-sm table-bordered mb-0 tbl_basic2 align-middle" id="info_table">
|
||||
<colgroup>
|
||||
<col style="width: 120px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">등록일시</th>
|
||||
<th>등록일시</th>
|
||||
<td><span id="span_rdate"><?= $article['rdate'] ?></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">의뢰인(매도자)</th>
|
||||
<th>의뢰인(매도자)</th>
|
||||
<td><span
|
||||
id="span_seller_nm"><?= $article['seller_nm'] ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">매물구분</th>
|
||||
<th>매물구분</th>
|
||||
<td><span
|
||||
id="span_rlet_type_nm"><?= $article['rlet_type_nm'] ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">지역구분</th>
|
||||
<th>지역구분</th>
|
||||
<td><span id="span_address1"><?= $article['address1'] ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">단지명</th>
|
||||
<th>단지명</th>
|
||||
<td><span id="span_hscp_nm">
|
||||
<?= $article['hscp_nm'] ?>
|
||||
</span></td>
|
||||
@@ -382,7 +392,7 @@
|
||||
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">리 주소</th>
|
||||
<th>리 주소</th>
|
||||
<td>
|
||||
<input type="text" class="form-control form-control-sm"
|
||||
name="address2a" id="address2a"
|
||||
@@ -390,7 +400,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">상세주소</th>
|
||||
<th>상세주소</th>
|
||||
<td class="d-flex gap-1">
|
||||
<input type="text" class="form-control form-control-sm"
|
||||
name="address2b" id="address2b"
|
||||
@@ -402,7 +412,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">기타주소</th>
|
||||
<th>기타주소</th>
|
||||
<td>
|
||||
<input type="text" class="form-control form-control-sm"
|
||||
name="address4" id="address4"
|
||||
@@ -411,7 +421,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">거래구분/가격</th>
|
||||
<th>거래구분/가격</th>
|
||||
<td>
|
||||
<?php
|
||||
$isSale = (substr($article['trade_type'] ?? '', 0, 1) === 'A'); // 매매(A*) 여부
|
||||
@@ -506,7 +516,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">분양가/프리미엄</th>
|
||||
<th>분양가/프리미엄</th>
|
||||
<td>
|
||||
<div class="d-flex flex-wrap gap-1 align-items-center">
|
||||
<span class="text-muted">분양가</span>
|
||||
@@ -537,7 +547,7 @@
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light"><?= esc($floorLabel) ?></th>
|
||||
<th><?= esc($floorLabel) ?></th>
|
||||
|
||||
<!-- ⚠️ td에 d-flex 주면 table-cell 깨질 수 있어서 내부 div로 감싸는 걸 추천 -->
|
||||
<td>
|
||||
@@ -565,7 +575,7 @@
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">가주소 여부</th>
|
||||
<th>가주소 여부</th>
|
||||
<td <?= $vir_style ?>>
|
||||
|
||||
<?= $article['vir_addr_yn'] ?>
|
||||
@@ -573,7 +583,7 @@
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">소유자명</th>
|
||||
<th>소유자명</th>
|
||||
<td style="color:#FF0000;">
|
||||
<?php
|
||||
if ($article['stat_cd'] == '19' || $article['stat_cd'] == '60' || $article['stat_cd'] == '69') {
|
||||
@@ -595,7 +605,7 @@
|
||||
if (!empty($article['vrfc_type_sub'])):
|
||||
if ($article['vrfc_type_sub'] == 'D2'): ?>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">소유자명 확인</th>
|
||||
<th>소유자명 확인</th>
|
||||
<td>
|
||||
<select class="form-select" name="chkOwnerNm"
|
||||
id="chkOwnerNm" onchange="chkOwnerNm_onchange()">
|
||||
@@ -630,21 +640,21 @@
|
||||
</div>
|
||||
|
||||
<div class="card-body p-2">
|
||||
<table class="table table-sm mb-2 align-middle">
|
||||
<table class="table table-sm table-bordered mb-2 tbl_basic2 align-middle">
|
||||
<colgroup>
|
||||
<col style="width: 140px;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">확인담당자</th>
|
||||
<th>확인담당자</th>
|
||||
<td>
|
||||
<?= session('usr_nm') . ' [' . session('usr_id') . ']'; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">확인여부</th>
|
||||
<th>확인여부</th>
|
||||
<td>
|
||||
<select class="form-select form-select-sm"
|
||||
name="result_d11" id="result_d11"
|
||||
@@ -662,10 +672,11 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">홍보확인서<br>미확인 상세</th>
|
||||
<th>홍보확인서<br>미확인 상세</th>
|
||||
<td>
|
||||
<!-- 체크박스는 테이블 유지하되 bootstrap spacing만 -->
|
||||
<table class="table table-borderless table-sm mb-0">
|
||||
<table
|
||||
class="table table-borderless table-sm mb-0 tbl_basic2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<?php
|
||||
@@ -726,7 +737,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">확인내용</th>
|
||||
<th>확인내용</th>
|
||||
<td>
|
||||
<select class="form-select form-select-sm"
|
||||
name="fax_conf_yn_0" id="fax_conf_yn_0"
|
||||
@@ -739,7 +750,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">매물주소</th>
|
||||
<th>매물주소</th>
|
||||
<td class="d-flex gap-1">
|
||||
<?php
|
||||
switch ($confirm['code_d12'] ?? '') {
|
||||
@@ -775,7 +786,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">가격 거래구분</th>
|
||||
<th>가격 거래구분</th>
|
||||
<td class="d-flex gap-1">
|
||||
<?php
|
||||
switch ($confirm['code_d13'] ?? '') {
|
||||
@@ -811,7 +822,7 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">의뢰인정보</th>
|
||||
<th>의뢰인정보</th>
|
||||
<td class="d-flex gap-1">
|
||||
<?php
|
||||
switch ($confirm['code_d14'] ?? '') {
|
||||
@@ -848,7 +859,7 @@
|
||||
|
||||
<?php if (!empty($article['memo'])): ?>
|
||||
<tr>
|
||||
<th class="text-nowrap bg-light">메모</th>
|
||||
<th>메모</th>
|
||||
<td>
|
||||
<textarea class="form-control form-control-sm"
|
||||
name="memo_cal" id="memo_cal" rows="3"
|
||||
@@ -858,7 +869,7 @@
|
||||
<?php endif; ?>
|
||||
|
||||
<tr id="res_tr" style="display:none">
|
||||
<th class="text-nowrap bg-light">거주여부</th>
|
||||
<th>거주여부</th>
|
||||
<td>
|
||||
<?php $resYn = $article['resYn'] ?? ''; ?>
|
||||
<select class="form-select form-select-sm" name="resYn"
|
||||
@@ -872,7 +883,7 @@
|
||||
</tr>
|
||||
|
||||
<tr id="db_tr" style="display:none">
|
||||
<th class="text-nowrap bg-light">
|
||||
<th>
|
||||
<div id="db_yn1">DB활용동의여부</div>
|
||||
</th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user