diff --git a/app/Helpers/CommonHelper.php b/app/Helpers/CommonHelper.php index b76c81a..a09118c 100644 --- a/app/Helpers/CommonHelper.php +++ b/app/Helpers/CommonHelper.php @@ -234,15 +234,11 @@ class CommonHelper foreach ($viewDatas['control']['field_optons'][$field] as $key => $entity) { $isSelected = $key == $value ? ' selected' : ''; $isDisabled = ""; - if (in_array($viewDatas['control']['action'], ['create_form', 'index'])) { - if ($entity->getStatus() != $entity::DEFAULT_STATUS) - $isDisabled = " disabled"; - } $attribute = ""; foreach ($attributes as $attribute_tag => $attribute_value) { $attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $attribute_value); } - $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "X." : ""; + $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : ""; $title .= $entity->getCustomTitle(); $html .= sprintf("", $key, $isSelected, $isDisabled, $attribute, $title); } diff --git a/app/Helpers/Customer/ServiceHelper.php b/app/Helpers/Customer/ServiceHelper.php index 613c5e8..da2291a 100644 --- a/app/Helpers/Customer/ServiceHelper.php +++ b/app/Helpers/Customer/ServiceHelper.php @@ -29,7 +29,7 @@ class ServiceHelper extends CustomerHelper foreach ($attributes as $attribute_tag => $attribute_value) { $attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof ServerEntity ? $entity->$attribute_value() : $attribute_value); } - $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "X." : ""; + $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : ""; $title .= $entity->getCustomTitle(); $html .= sprintf("", $key, $isSelected, $isDisabled, $attribute, $title); } diff --git a/app/Helpers/Equipment/ServerPartHelper.php b/app/Helpers/Equipment/ServerPartHelper.php index ee8f690..7bcd614 100644 --- a/app/Helpers/Equipment/ServerPartHelper.php +++ b/app/Helpers/Equipment/ServerPartHelper.php @@ -29,7 +29,7 @@ class ServerPartHelper extends EquipmentHelper foreach ($attributes as $attribute_tag => $attribute_value) { $attribute .= sprintf(" %s=\"%s\"", $attribute_tag, $entity instanceof PartEntity ? $entity->$attribute_value() : $attribute_value); } - $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "X." : ""; + $title = $entity->getStatus() != $entity::DEFAULT_STATUS ? "사용중." : ""; $title .= $entity->getCustomTitle(); $html .= sprintf("", $key, $isSelected, $isDisabled, $attribute, $title); } diff --git a/app/Views/admin/service/index.php b/app/Views/admin/service/index.php index 0f20c91..5b60cd6 100644 --- a/app/Views/admin/service/index.php +++ b/app/Views/admin/service/index.php @@ -38,7 +38,7 @@ = $viewDatas['service']->getHelper()->getListLabel('site', lang("{$viewDatas['class_path']}.label.site"), $viewDatas) ?>