70 lines
2.7 KiB
PHP
70 lines
2.7 KiB
PHP
<?= $this->extend(LAYOUTS[$viewDatas['layout']]['path']) ?>
|
|
<?= $this->section('content') ?>
|
|
<div id="container" class="content">
|
|
<link href="/css/<?= $viewDatas['layout'] ?>/form.css" media="screen" rel="stylesheet" type="text/css" />
|
|
<div class="action_form">
|
|
<!-- 청구서 정보 -->
|
|
<table class="table table-bordered">
|
|
<tbody>
|
|
<tr>
|
|
<th>메일 제목</th>
|
|
<td colspan="3">서비스 요금 청구서 </td>
|
|
</tr>
|
|
<tr>
|
|
<th>발신자</th>
|
|
<td><?= $viewDatas['helper']->getFieldView('site_email', $viewDatas) ?></td>
|
|
<th>발행일</th>
|
|
<td><?= date("Y-m-d") ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<!-- 서비스 테이블 -->
|
|
<tr>
|
|
<th>고객코드</th>
|
|
<td><?= $viewDatas['helper']->getFieldView('ownerinfo_uid', $viewDatas) ?></td>
|
|
<th>고객명</th>
|
|
<td><?= $viewDatas['helper']->getFieldView('client_name', $viewDatas) ?></td>
|
|
</tr>
|
|
<table class="table table-bordered text-center align-middle">
|
|
<thead class="table-light">
|
|
<tr>
|
|
<th>서비스 코드</th>
|
|
<th>서비스 종류</th>
|
|
<th>총 결제 금액</th>
|
|
<th>납부 기한</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td><?= $viewDatas['helper']->getFieldView('service_title', $viewDatas) ?></td>
|
|
<td><?= $viewDatas['helper']->getFieldView('service_type', $viewDatas) ?></td>
|
|
<td class="fw-bold"><?= $viewDatas['helper']->getFieldView('total_amount', $viewDatas) ?>원</td>
|
|
<td><?= $viewDatas['helper']->getFieldView('billing_at', $viewDatas) ?></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="4" class="text-start">
|
|
<table class="table table-bordered text-center align-middle">
|
|
<thead class="table-light">
|
|
<tr>
|
|
<?php foreach ($viewDatas['item_fields'] as $field): ?>
|
|
<th><?= $viewDatas['helper']->getFieldLabel($field, $viewDatas) ?></th>
|
|
<?php endforeach; ?>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($viewDatas['entities'] as $entity): ?>
|
|
<?php $viewDatas['entity'] = $entity; ?>
|
|
<tr>
|
|
<?php foreach ($viewDatas['item_fields'] as $field): ?>
|
|
<td><?= $viewDatas['helper']->getFieldView($field, $viewDatas['entity']->$field, $viewDatas) ?></td>
|
|
<?php endforeach; ?>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<?= $this->endSection() ?>
|