v1.2.26
- [INSTALL] Install 드라이버 A 만 표시. - [MAP] Container 교체 요청할 때 created by 누락 수정.
This commit is contained in:
parent
ef26d34239
commit
80cf3d192c
|
|
@ -52,7 +52,7 @@ trait InstallAPI {
|
|||
$c_uid = $_POST['c_uid'] ?? 0;
|
||||
$job_type = $_POST['job_type'] ?? '';
|
||||
$driver_uid = $_POST['driver_uid'] ?? '';
|
||||
$member_uid = $_POST['member_uid'] ?? '';
|
||||
$member_uid = $_SESSION['ss_UID'] ?? 0;
|
||||
$request_note = $_POST['request_note'] ?? '';
|
||||
|
||||
if (!$c_uid || !$job_type) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ if(!$isAdmin){
|
|||
|
||||
// driver list
|
||||
$driverList = [];
|
||||
$sql_member = "SELECT dr_uid, dr_initial FROM tbl_driver WHERE dr_type = 'INSTALL' ORDER BY dr_initial";
|
||||
$sql_member = "SELECT dr_uid, dr_initial FROM tbl_driver WHERE dr_type = 'INSTALL' and dr_status = 'A' ORDER BY dr_initial";
|
||||
$res_member = $jdb->nQuery($sql_member, "Load driver list error");
|
||||
while($row = mysqli_fetch_assoc($res_member)){
|
||||
$driverList[] = $row;
|
||||
|
|
|
|||
|
|
@ -985,7 +985,7 @@ $categoryLabels = [
|
|||
<!-- HEADER : Date + Driver -->
|
||||
<div class="card-header bg-light">
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<div class="d-flex justify-content-between align-items-center flex-grow-1">
|
||||
<!-- Date Navigator -->
|
||||
<div class="d-flex align-items-center gap-2">
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary btn-date-prev">
|
||||
|
|
@ -993,7 +993,7 @@ $categoryLabels = [
|
|||
</button>
|
||||
|
||||
<strong>
|
||||
<input type="text" id="iwMapDate" class="form-control form-control-sm date-picker-form" style="max-height:20px; max-width:120px;" autocomplete="off" placeholder="<?=date('Y-m-d')?>" readonly>
|
||||
<input type="text" id="iwMapDate" class="form-control form-control-sm date-picker-form" style="max-height:20px; max-width:100px;" autocomplete="off" placeholder="<?=date('Y-m-d')?>" readonly>
|
||||
</strong>
|
||||
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary btn-date-next">
|
||||
|
|
@ -1002,7 +1002,7 @@ $categoryLabels = [
|
|||
</div>
|
||||
|
||||
<!-- Center : Toggle -->
|
||||
<div class="d-flex align-items-center ms-auto gap-2">
|
||||
<div class="d-flex align-items-center justify-content-center gap-2 flex-grow-1">
|
||||
<div class="view-toggle iw-ui-control">
|
||||
<label>
|
||||
<input type="radio" name="view_mode" value="map" <?= $view_mode === 'map' ? 'checked' : '' ?>>
|
||||
|
|
@ -1015,7 +1015,7 @@ $categoryLabels = [
|
|||
</div>
|
||||
|
||||
<!-- Driver Selector -->
|
||||
<div class="radio-segment iw-ui-control" style="width:120px;">
|
||||
<div class="radio-segment iw-ui-control" style="max-width:120px;">
|
||||
<?php foreach ($drivers as $i => $d): ?>
|
||||
<label>
|
||||
<input type="radio" name="driver"
|
||||
|
|
|
|||
Loading…
Reference in New Issue