select수정

This commit is contained in:
yangsh
2025-12-29 13:57:27 +09:00
parent e0672d325c
commit cd1e4df4eb
3 changed files with 33 additions and 31 deletions

View File

@@ -140,7 +140,7 @@
<tr>
<th style="text-align:center">관할본부</th>
<td style="text-align:center">
<select class="form-control" name="bonbu" id="bonbu">
<select class="form-select" name="bonbu" id="bonbu">
<option value="">선택</option>
<?php foreach (($bonbu ?? []) as $d): ?>
<option value="<?= esc($d['dept_sq']) ?>" <?= (string) ($apt['bonbu'] ?? '') === (string) $d['dept_sq'] ? 'selected' : '' ?>>
@@ -152,7 +152,7 @@
<th style="text-align:center">담당팀</th>
<td style="text-align:center">
<select class="form-control" name="team" id="team">
<select class="form-select" name="team" id="team">
<option value="">선택</option>
<?php foreach (($team ?? []) as $d): ?>
<?php if ((string) ($apt['bonbu'] ?? '') === (string) ($d['pdept_sq'] ?? '')): ?>
@@ -166,7 +166,7 @@
<th style="text-align:center">담당자</th>
<td style="text-align:center">
<select class="form-control" name="user" id="user">
<select class="form-select" name="user" id="user">
<option value="">선택</option>
<?php foreach (($user ?? []) as $d): ?>
<?php if ((string) ($apt['dept_sq'] ?? '') === (string) ($d['dept_sq'] ?? '')): ?>