diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php index 658b276..80058ca 100644 --- a/app/Controllers/Admin/Customer/ServiceController.php +++ b/app/Controllers/Admin/Customer/ServiceController.php @@ -41,6 +41,7 @@ class ServiceController extends CustomerController { switch ($this->getService()->getAction()) { case 'view': + case 'list': $this->service = $this->getService(); $this->control = $this->getService()->getControlDatas(); $this->getService()->getHelper()->setViewDatas($this->getViewDatas()); diff --git a/app/Views/admin/service/index.php b/app/Views/admin/service/index.php new file mode 100644 index 0000000..13de445 --- /dev/null +++ b/app/Views/admin/service/index.php @@ -0,0 +1,123 @@ +extend(LAYOUTS[$viewDatas['layout']]['path']) ?> +section('content') ?> +getHelper()->alert($error) ?> +
include(LAYOUTS[$viewDatas['layout']]['path'] . '/top'); ?>
+ + + + + + +
+ + include(LAYOUTS[$viewDatas['layout']]['path'] . '/left_menu'); ?> + + + +
include("templates/{$viewDatas['layout']}/index_header"); ?>
+
+ +
+ "get"]) ?> + + + 'batchjob_form', 'method' => "post"]) ?> + + + + + + + + + + + + + + + + + + + + + getStatus() === $entity::DEFAULT_STATUS ? "" : 'class="table-danger"' ?>> + + + + + + + + + + + + + + + + + +
번호 + getHelper()->getListLabel('site', lang("{$viewDatas['class_path']}.label.site"), $viewDatas) ?> + + getHelper()->getListLabel('location', lang("{$viewDatas['class_path']}.label.location"), $viewDatas) ?>/ + + getHelper()->getListLabel('type', lang("{$viewDatas['class_path']}.label.type"), $viewDatas) ?> + + getHelper()->getListLabel('clientinfo_uid', lang("{$viewDatas['class_path']}.label.clientinfo_uid"), $viewDatas) ?> + + getHelper()->getListLabel('serverinfo_uid', lang("{$viewDatas['class_path']}.label.serverinfo_uid"), $viewDatas) ?> + 부품정보 + getHelper()->getListLabel('billing_at', lang("{$viewDatas['class_path']}.label.billing_at"), $viewDatas) ?> + + getHelper()->getListLabel('amount', lang("{$viewDatas['class_path']}.label.amount"), $viewDatas) ?> + + getHelper()->getListLabel('status', lang("{$viewDatas['class_path']}.label.status"), $viewDatas) ?> + + getHelper()->getListLabel('start_at', lang("{$viewDatas['class_path']}.label.start_at"), $viewDatas) ?> + 작업
getHelper()->getListButton('modify', '', $viewDatas) ?> + getHelper()->getFieldView('site', $entity->site, $viewDatas) ?> + + getHelper()->getFieldView('location', $entity->location, $viewDatas) ?> + + getHelper()->getFieldView('type', $entity->type, $viewDatas) ?> + + getHelper()->getFieldView('clientinfo_uid', $entity->ClientInfoUID(), $viewDatas) ?> + + getHelper()->getFieldView('serverinfo_uid', $entity->ServerInfoUID(), $viewDatas) ?> + + $entity->getPK(), 'types' => SERVERPART['SERVER_PARTTYPES'], 'template' => 'part_service']) ?> + + getHelper()->getFieldView('billing_at', $entity->billing_at, $viewDatas) ?> + + getHelper()->getFieldView('amount', $entity->amount, $viewDatas) ?> + + getHelper()->getFieldView('status', $entity->status, $viewDatas) ?> + getHelper()->getFieldView('start_at', $entity->start_at, $viewDatas) ?> + getHelper()->getListButton('view', '', $viewDatas) ?>  + getHelper()->getListButton('delete', '', $viewDatas) ?> +
+ include("templates/{$viewDatas['layout']}/index_content_bottom"); ?> + +
+
+ + +
+ +
include(LAYOUTS[$viewDatas['layout']]['path'] . '/bottom'); ?>
+endSection() ?> \ No newline at end of file