화면 수정
This commit is contained in:
@@ -32,6 +32,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<?= $this->extend('layouts/main') ?>
|
||||
|
||||
<?= $this->section('content') ?>
|
||||
<link rel="stylesheet" href="/common/css/custom.css">
|
||||
<style>
|
||||
table th {
|
||||
vertical-align: middle;
|
||||
@@ -62,15 +63,6 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
max-width: 180px;
|
||||
}
|
||||
|
||||
.card-header {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.card-header-tab {
|
||||
justify-content: flex-start !important;
|
||||
}
|
||||
|
||||
.table-scroll {
|
||||
max-height: 300px;
|
||||
overflow-y: scroll;
|
||||
@@ -114,23 +106,15 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<div class="col-lg-12">
|
||||
<div class="main-card mb-2 card">
|
||||
<div class="card-header bg-white border-bottom shadow-sm">
|
||||
<div class="d-flex flex-wrap align-items-center gap-3 w-100 card-header-tab">
|
||||
<div>
|
||||
<h4 class="mb-0 fw-bold text-dark">확인매물 상세 내용</h4>
|
||||
</div>
|
||||
<div class="d-flex flex-wrap align-items-center gap-3 ms-auto">
|
||||
<div style="white-space: nowrap;">
|
||||
<span class="text-muted me-2">매물ID:</span>
|
||||
<span class="fw-bold text-primary fs-6"><?= $data['atcl_no'] ?></span>
|
||||
</div>
|
||||
<div style="white-space: nowrap;">
|
||||
<span class="text-muted me-2">CP ID:</span>
|
||||
<span class="fw-bold text-primary fs-6"><?= $data['cpid'] ?></span>
|
||||
</div>
|
||||
<div style="white-space: nowrap;">
|
||||
<span class="text-muted me-2">현재 상태:</span>
|
||||
<span class="fw-bold text-danger fs-6"><?= $data['pre_stat'] ?></span>
|
||||
</div>
|
||||
<div class="d-flex flex-wrap align-items-center w-100 justify-content-between card-header-tab">
|
||||
<h4 class="mb-0 fw-bold text-dark">확인매물 상세 내용</h4>
|
||||
<div class="d-flex align-items-center flex-nowrap gap-4 ms-auto" style="white-space:nowrap;">
|
||||
<span class="text-muted me-2">매물ID:</span>
|
||||
<span class="fw-bold text-primary fs-6 me-4"> <?= $data['atcl_no'] ?> </span>
|
||||
<span class="text-muted me-2">CP ID:</span>
|
||||
<span class="fw-bold text-primary fs-6 me-4"> <?= $data['cpid'] ?> </span>
|
||||
<span class="text-muted me-2">현재 상태:</span>
|
||||
<span class="fw-bold text-danger fs-6"> <?= $data['pre_stat'] ?> </span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -160,10 +144,10 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-sm tbl_basic2 align-middle mb-0 apt-info-table">
|
||||
<colgroup>
|
||||
<col style="width:120px">
|
||||
<col style="width:320px">
|
||||
<col style="width:120px">
|
||||
<col style="width:320px">
|
||||
<col width="15%" />
|
||||
<col width="35%" />
|
||||
<col width="15%" />
|
||||
<col width="35%" />
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
@@ -296,7 +280,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<th>가격</th>
|
||||
<td>
|
||||
<!-- 기본 가격 -->
|
||||
<div class="align-items-center gap-2 mb-2" id="div_trade_type_price"
|
||||
<div class="align-items-center gap-2 mb-0" id="div_trade_type_price"
|
||||
style="display: none;">
|
||||
<div class="input-group input-group-sm" style="max-width: 220px;">
|
||||
<input type="text" class="form-control text-end" name="atcl_amt1"
|
||||
@@ -315,7 +299,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="d-flex align-items-center gap-1 mb-2"
|
||||
<div class="d-flex align-items-center gap-1 mb-0"
|
||||
id="div_trade_type_price_monthly" style="display: none;">
|
||||
<div class="input-group input-group-sm" style="max-width: 220px;">
|
||||
<input type="text" class="form-control text-end" name="atcl_amt2"
|
||||
@@ -641,24 +625,30 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<?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'];
|
||||
|
||||
if (!empty($record)) {
|
||||
$img_path = $record['file_path'] . $record['file_name'];
|
||||
$ext = $record['file_ext'];
|
||||
} else {
|
||||
$img_path = '';
|
||||
$ext = '';
|
||||
}
|
||||
if (strtolower($ext) == '.pdf'):
|
||||
?>
|
||||
<iframe src="<?= $server_addr ?><?= $img_path ?>" frameborder="0" loading="lazy"
|
||||
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'];
|
||||
<?php if (!empty($arrRecord) && is_array($arrRecord)): ?>
|
||||
<?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; ?>
|
||||
<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 endif; ?>
|
||||
|
||||
<?php else:
|
||||
@@ -698,7 +688,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
|
||||
<!-- 우측 : 정보 -->
|
||||
<td valign="top" class="pt-2">
|
||||
<table class="table table-sm w-100 tbl_basic2 table-bordered">
|
||||
<table class="table table-sm tbl_basic2 table-bordered">
|
||||
<colgroup>
|
||||
<col width="30%">
|
||||
<col>
|
||||
@@ -730,7 +720,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
<tr>
|
||||
<th>홍보확인서<br>미확인여부상세</th>
|
||||
<td>
|
||||
<table class="table w-100 tbl_basic2 table-bordered">
|
||||
<table class="table tbl_basic2 table-bordered">
|
||||
<tr>
|
||||
<?php
|
||||
$checks = explode('|', $data['comment']);
|
||||
@@ -860,7 +850,7 @@ if (!empty($data['cert_register']) && $data['cert_register_save_yn'] != 'Y') { /
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-footer d-flex justify-content-end gap-1">
|
||||
<div class="card-footer d-flex justify-content-end">
|
||||
<button type="button" class="btn btn-success btn-sm" onclick="saveDocu();">
|
||||
저장
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user