diff --git a/app/Helpers/Equipment/ServerHelper.php b/app/Helpers/Equipment/ServerHelper.php index 35b5195..ce4777d 100644 --- a/app/Helpers/Equipment/ServerHelper.php +++ b/app/Helpers/Equipment/ServerHelper.php @@ -32,6 +32,11 @@ class ServerHelper extends EquipmentHelper public function getFieldView(string $field, mixed $value, array $viewDatas, array $extras = []): string|null { switch ($field) { + case 'clientinfo_uid': + if (array_key_exists($value, $viewDatas['control']['field_optons'][$field])) { + $value = "" . $viewDatas['control']['field_optons'][$field][$value]->getTitle() . ""; + } + break; case 'manufactur_at': case 'format_at': $value = $value ? date("Y-m-d", strtotime($value)) : ""; diff --git a/app/Views/admin/welcome/banner.php b/app/Views/admin/welcome/banner.php index de6c486..a6dc64a 100644 --- a/app/Views/admin/welcome/banner.php +++ b/app/Views/admin/welcome/banner.php @@ -132,7 +132,7 @@
-
+
금일 기준 미납 서비스
diff --git a/app/Views/admin/welcome/index.php b/app/Views/admin/welcome/index.php index f6b5005..f33a4c8 100644 --- a/app/Views/admin/welcome/index.php +++ b/app/Views/admin/welcome/index.php @@ -14,10 +14,12 @@ include("{$viewDatas['layout']}/welcome/banner"); ?>
-
+
include("{$viewDatas['layout']}/welcome/total"); ?>
-
+
+
+
include("{$viewDatas['layout']}/welcome/new"); ?>
diff --git a/app/Views/admin/welcome/new.php b/app/Views/admin/welcome/new.php index d0cc1bb..6f340f4 100644 --- a/app/Views/admin/welcome/new.php +++ b/app/Views/admin/welcome/new.php @@ -10,26 +10,31 @@
- - - - - - - + + + + + + + + + + - - + + - + + - + + diff --git a/app/Views/admin/welcome/total.php b/app/Views/admin/welcome/total.php index 42d2005..8f72d79 100644 --- a/app/Views/admin/welcome/total.php +++ b/app/Views/admin/welcome/total.php @@ -10,35 +10,35 @@
서비스코드업체명구분장비번호IP정보등록자
서비스코드업체명구분장비번호스위치정보IP정보CS정보등록자비고
getHelper()->getListButton('new_service_view', '', $viewDatas, ['label' => $entity->getTitle()]) ?>
getCode() ?> getHelper()->getFieldView('clientinfo_uid', $entity->getClientInfoUID(), $viewDatas) ?> getHelper()->getFieldView('type', $entity->getType(), $viewDatas) ?>getHelper()->getFieldView('switchinfo_uid', $entity->getSwitchCode(), $viewDatas) ?>getHelper()->getFieldView('serveripinfo_uid', $entity->getServerEntity()->getCode(), $viewDatas) ?>getHelper()->getFieldView('SWITCH', null, $viewDatas) ?> getHelper()->getFieldView('IP', null, $viewDatas) ?>getHelper()->getFieldView('DEFENCE', null, $viewDatas) ?>getHelper()->getFieldView('CS', null, $viewDatas) ?> getHelper()->getFieldView('user_uid', $entity->getUserUID(), $viewDatas) ?>getHelper()->getFieldView('history', "", $viewDatas) ?>
- - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - + + @@ -55,9 +55,9 @@ - - - + + +
고객명일반방어전용대체테스트합계
고객명일반방어전용대체테스트합계
도쿄치바도쿄치바도쿄치바도쿄치바도쿄치바합계도쿄치바합계
도쿄치바도쿄치바도쿄치바도쿄치바도쿄치바합계도쿄치바합계
PRIME
PRIME
총합계
총합계 0 0 0