dbmsv3 init...1
This commit is contained in:
parent
194e5216fa
commit
2d41a7e975
@ -31,8 +31,21 @@
|
|||||||
<table class="table table-bordered table-hover table-striped m-0 p-0">
|
<table class="table table-bordered table-hover table-striped m-0 p-0">
|
||||||
<tr class="text-center">
|
<tr class="text-center">
|
||||||
<th rowspan="2">
|
<th rowspan="2">
|
||||||
<div><a href="/admin/customer/service?site=&location=&clientinfo_uid=<?= $viewDatas['entity']->getPK() ?>"><?= $viewDatas['entity']->getTitle() ?></a></div>
|
<div> <?= $viewDatas['entity']->getTitle() ?></div>
|
||||||
<div><a href=" /admin/customer/payment?clientinfo_uid=<?= $viewDatas['entity']->getPK() ?>">[청구서발행]</a></div>
|
<div>
|
||||||
|
<?=
|
||||||
|
form_label(
|
||||||
|
"[청구서발행]",
|
||||||
|
'payment_invoice',
|
||||||
|
[
|
||||||
|
"data-src" => "/admin/customer/payment?clientinfo_uid=" . $viewDatas['entity']->getPK() . "&ActionTemplate=popup",
|
||||||
|
"data-bs-toggle" => "modal",
|
||||||
|
"data-bs-target" => "#modal_action_form",
|
||||||
|
"class" => "text-primary form-label-sm",
|
||||||
|
]
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
<div class="mt-3">
|
<div class="mt-3">
|
||||||
<?=
|
<?=
|
||||||
form_label(
|
form_label(
|
||||||
@ -79,9 +92,18 @@
|
|||||||
<td><?= array_key_exists($viewDatas['entity']->getPK(), $viewDatas['totalAmounts']) ? number_format($viewDatas['totalAmounts'][$viewDatas['entity']->getPK()]) : 0 ?>원</td>
|
<td><?= array_key_exists($viewDatas['entity']->getPK(), $viewDatas['totalAmounts']) ? number_format($viewDatas['totalAmounts'][$viewDatas['entity']->getPK()]) : 0 ?>원</td>
|
||||||
<td>
|
<td>
|
||||||
<?php if (array_key_exists($viewDatas['entity']->getPK(), $viewDatas['unPaids'])): ?>
|
<?php if (array_key_exists($viewDatas['entity']->getPK(), $viewDatas['unPaids'])): ?>
|
||||||
총 <a href=" /admin/customer/payment?clientinfo_uid=<?= $viewDatas['entity']->getPK() ?>&status=unpaid"><?= $viewDatas['unPaids'][$viewDatas['entity']->getPK()]['cnt'] ?>건/<?= number_format($viewDatas['unPaids'][$viewDatas['entity']->getPK()]['amount']) ?></a>원
|
<?=
|
||||||
<?php else: ?>
|
form_label(
|
||||||
0원
|
sprintf("총:%s건/%s원", $viewDatas['unPaids'][$viewDatas['entity']->getPK()]['cnt'], number_format($viewDatas['unPaids'][$viewDatas['entity']->getPK()]['amount'])),
|
||||||
|
'payment_unpaid',
|
||||||
|
[
|
||||||
|
"data-src" => "/admin/customer/payment?clientinfo_uid={$viewDatas['entity']->getPK()}&status=unpaid&ActionTemplate=popup",
|
||||||
|
"data-bs-toggle" => "modal",
|
||||||
|
"data-bs-target" => "#modal_action_form",
|
||||||
|
"class" => "text-primary form-label-sm",
|
||||||
|
]
|
||||||
|
);
|
||||||
|
?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -36,7 +36,7 @@
|
|||||||
<?php $num = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
<?php $num = $viewDatas['total_count'] - (($viewDatas['page'] - 1) * $viewDatas['per_page'] + $cnt); ?>
|
||||||
<td nowrap><?= $viewDatas['service']->getHelper()->getListButton('modify', $num, $viewDatas) ?></td>
|
<td nowrap><?= $viewDatas['service']->getHelper()->getListButton('modify', $num, $viewDatas) ?></td>
|
||||||
<?php foreach ($viewDatas['control']['actionFields'] as $field): ?>
|
<?php foreach ($viewDatas['control']['actionFields'] as $field): ?>
|
||||||
<td><?= $viewDatas['service']->getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?></td>
|
<td nowrap><?= $viewDatas['service']->getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?></td>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<?= $viewDatas['service']->getHelper()->getListButton('view', '', $viewDatas) ?>
|
<?= $viewDatas['service']->getHelper()->getListButton('view', '', $viewDatas) ?>
|
||||||
|
|||||||
@ -11,7 +11,18 @@
|
|||||||
<th class="fw-bold" nowrap>미납금</th>
|
<th class="fw-bold" nowrap>미납금</th>
|
||||||
<td class="amount-red" nowrap>
|
<td class="amount-red" nowrap>
|
||||||
<?php if (array_key_exists($serviceEntity->getPK(), $serviceCellDatas['unPaids'])): ?>
|
<?php if (array_key_exists($serviceEntity->getPK(), $serviceCellDatas['unPaids'])): ?>
|
||||||
총 <a href="/admin/customer/payment?clientinfo_uid=<?= $serviceEntity->getClientInfoUID() ?>&serviceinfo_uid=<?= $serviceEntity->getPK() ?>"><?= $serviceCellDatas['unPaids'][$serviceEntity->getPK()]['cnt'] ?>건/<?= number_format($serviceCellDatas['unPaids'][$serviceEntity->getPK()]['amount']) ?></a>원
|
<?=
|
||||||
|
form_label(
|
||||||
|
sprintf("총:%s건/%s원", $serviceCellDatas['unPaids'][$serviceEntity->getPK()]['cnt'], number_format($serviceCellDatas['unPaids'][$serviceEntity->getPK()]['amount'])),
|
||||||
|
'payment_unpaid',
|
||||||
|
[
|
||||||
|
"data-src" => "/admin/customer/payment?clientinfo_uid={$serviceEntity->getClientInfoUID()}&serviceinfo_uid={$serviceEntity->getPK()}&status=unpaid&ActionTemplate=popup",
|
||||||
|
"data-bs-toggle" => "modal",
|
||||||
|
"data-bs-target" => "#modal_action_form",
|
||||||
|
"class" => "text-primary form-label-sm",
|
||||||
|
]
|
||||||
|
);
|
||||||
|
?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<!-- top start -->
|
<!-- top start -->
|
||||||
<nav class="navbar navbar-expand-lg">
|
<nav class="navbar navbar-expand-lg fixed-top" style="background-color:#E7E7E7; border-top:1px solid darkgray; border-bottom:1px solid darkgray;">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<nav class="nav"><a class="navbar-brand" href="/admin">DBMS 관리</a></nav>
|
<nav class="nav"><a class="navbar-brand" href="/admin">DBMS 관리</a></nav>
|
||||||
<ul class="nav justify-content-center">
|
<ul class="nav justify-content-center">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user