- [ORDER] 기름 양 입력 후 예상량 리셋 + 픽업날짜 업데이트
This commit is contained in:
Hyojin Ahn 2026-04-06 09:41:09 -04:00
parent ff9d77ab26
commit be9a6fc156
2 changed files with 5 additions and 3 deletions

View File

@ -914,17 +914,19 @@ class DailyService extends CONF {
if ($status !== 'F' || $visit !== 'Y') return;
$customerUid = mysqli_real_escape_string($connect, $after['d_customeruid']);
$orderdate = mysqli_real_escape_string($connect, $after['d_orderdate']);
$sql = "
UPDATE tbl_customer
SET
c_fullquantity = 0
c_fullquantity = 0,
c_lastpickupdate = '{$orderdate}'
WHERE c_uid = '{$customerUid}'
";
mysqli_query($connect, $sql);
error_log("[PickupReset] customer={$customerUid} reset fullquantity");
error_log("[PickupReset] customer={$customerUid} reset fullquantity + lastpickupdate={$orderdate}");
}
public function deleteDaily(string $orderdate, string $accountno, string $jobtype, array $opt = [])

View File

@ -1,7 +1,7 @@
<?php
$destination = isset($_GET['destination']) ? $_GET['destination'] : '';
$mode = isset($_GET['mode']) ? $_GET['mode'] : '';
$appVersion = 'v1.1.5';
$appVersion = 'v1.1.6';
?>
<?