diff --git a/app/Views/admin/client/detail.php b/app/Views/admin/client/detail.php index d3d28e0..a44fd5a 100644 --- a/app/Views/admin/client/detail.php +++ b/app/Views/admin/client/detail.php @@ -31,8 +31,21 @@
|
-
-
+ = $viewDatas['entity']->getTitle() ?>
+
+ =
+ 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",
+ ]
+ );
+ ?>
+
=
form_label(
@@ -79,9 +92,18 @@
= array_key_exists($viewDatas['entity']->getPK(), $viewDatas['totalAmounts']) ? number_format($viewDatas['totalAmounts'][$viewDatas['entity']->getPK()]) : 0 ?>원 |
getPK(), $viewDatas['unPaids'])): ?>
- 총 = $viewDatas['unPaids'][$viewDatas['entity']->getPK()]['cnt'] ?>건/= number_format($viewDatas['unPaids'][$viewDatas['entity']->getPK()]['amount']) ?>원
-
- 0원
+ =
+ form_label(
+ 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",
+ ]
+ );
+ ?>
|
| = $viewDatas['service']->getHelper()->getListButton('modify', $num, $viewDatas) ?> | -= $viewDatas['service']->getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?> | += $viewDatas['service']->getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?> | = $viewDatas['service']->getHelper()->getListButton('view', '', $viewDatas) ?> diff --git a/app/Views/cells/service/payment.php b/app/Views/cells/service/payment.php index db9419a..d11f75f 100644 --- a/app/Views/cells/service/payment.php +++ b/app/Views/cells/service/payment.php @@ -11,7 +11,18 @@ | 미납금 | getPK(), $serviceCellDatas['unPaids'])): ?> - 총 = $serviceCellDatas['unPaids'][$serviceEntity->getPK()]['cnt'] ?>건/= number_format($serviceCellDatas['unPaids'][$serviceEntity->getPK()]['amount']) ?>원 + = + 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", + ] + ); + ?> | diff --git a/app/Views/layouts/admin/top.php b/app/Views/layouts/admin/top.php index d8e08c9..6a1f2e1 100644 --- a/app/Views/layouts/admin/top.php +++ b/app/Views/layouts/admin/top.php @@ -1,5 +1,5 @@ -
|---|