dbms_init...1

This commit is contained in:
choi.jh 2025-06-10 09:27:03 +09:00
parent 922af9dc02
commit 12ffabd8f2
2 changed files with 8 additions and 8 deletions

View File

@ -254,11 +254,11 @@ class CommonHelper
$form = form_textarea($field, $value ?? "", ['id' => $field, 'class' => $extra_class, ...array_diff_key($extras, ['class' => ''])]);
break;
case 'status':
$formOptions = ["" => lang($viewDatas['class_path'] . '.label.' . $field) . ' 선택'];
foreach ($viewDatas['control']['filter_optons'][$field] as $key => $label) {
$formOptions[$key] = $label;
}
$form = form_dropdown($field, $formOptions, $value, $extras);
$formOptions = ["" => lang($viewDatas['class_path'] . '.label.' . $field) . ' 선택'];
foreach ($viewDatas['control']['filter_optons'][$field] as $key => $label) {
$formOptions[$key] = $label;
}
$form = form_dropdown($field, $formOptions, $value, $extras);
break;
default:
if (in_array($field, $viewDatas['control']['filter_fields'])) {
@ -317,7 +317,7 @@ class CommonHelper
default:
if (in_array($field, $viewDatas['control']['filter_fields'])) {
$extras["onChange"] = sprintf(
"location.href='%s/toggle/%s/%s?%s='+this.options[this.selectedIndex].value",
"document.location.href='%s/toggle/%s/%s?%s='+this.options[this.selectedIndex].value",
current_url(),
$viewDatas['entity']->getPK(),
$field,

View File

@ -43,7 +43,7 @@
<?= $viewDatas['helper']->getListButton('delete', $viewDatas) ?>
</td>
</tr>
<tr>
<tr>
<td colspan="<?= count($viewDatas['control']['index_fields']) + 2 ?>">
<table class="table table-bordered table-hover table-striped">
<tr>
@ -58,7 +58,7 @@
</tr>
</table>
</td>
</tr>
</tr>
<?php $cnt++ ?>
<?php endforeach ?>
</tbody>