parent
000efdd4d4
commit
cb73f3e8b4
|
|
@ -677,13 +677,12 @@ class DailyService extends CONF {
|
|||
// --------------------------------------------------
|
||||
// 1) c_fpickup 처리
|
||||
// --------------------------------------------------
|
||||
if (!empty($orderdate)) {
|
||||
|
||||
$currentFpickup = $customer['c_fpickup'] ?? '';
|
||||
|
||||
if (empty($currentFpickup) || $currentFpickup < $orderdate) {
|
||||
$updateFields[] = "c_fpickup = '{$orderdate}'";
|
||||
}
|
||||
if (
|
||||
empty($customer['c_fpickup']) &&
|
||||
!empty($orderdate) &&
|
||||
$thisQuantity >= 10
|
||||
) {
|
||||
$updateFields[] = "c_fpickup = '{$orderdate}'";
|
||||
}
|
||||
|
||||
// --------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue