parent
ff9d77ab26
commit
be9a6fc156
|
|
@ -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 = [])
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
?>
|
||||
|
||||
<?
|
||||
|
|
|
|||
Loading…
Reference in New Issue