From 2d41a7e975e50405390e9f07fbed67a61e0b4eaa Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Mon, 20 Oct 2025 11:33:59 +0900 Subject: [PATCH] dbmsv3 init...1 --- app/Views/admin/client/detail.php | 32 ++++++++++++++++++++++++----- app/Views/admin/popup/index.php | 2 +- app/Views/cells/service/payment.php | 13 +++++++++++- app/Views/layouts/admin/top.php | 2 +- 4 files changed, 41 insertions(+), 8 deletions(-) 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 @@ diff --git a/app/Views/admin/popup/index.php b/app/Views/admin/popup/index.php index 45b4d30..aeacbd5 100644 --- a/app/Views/admin/popup/index.php +++ b/app/Views/admin/popup/index.php @@ -36,7 +36,7 @@ - + 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 @@ -
- - +
getTitle() ?>
+
+ "/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", + ] + ); + ?> +
getPK(), $viewDatas['totalAmounts']) ? number_format($viewDatas['totalAmounts'][$viewDatas['entity']->getPK()]) : 0 ?>원
getPK(), $viewDatas['unPaids'])): ?> - 총 getPK()]['cnt'] ?>건/getPK()]['amount']) ?>원 - - 0원 + 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", + ] + ); + ?>
getHelper()->getListButton('modify', $num, $viewDatas) ?> getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?>getHelper()->getFieldView($field, $entity->$field, $viewDatas) ?> 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'])): ?> - 총 getPK()]['cnt'] ?>건/getPK()]['amount']) ?>원 + 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", + ] + ); + ?>