update
Change-Id: I3676a70eafc75aebbb1d747a14298756046d9554
This commit is contained in:
parent
486568e33b
commit
13ff407b47
|
@ -2273,6 +2273,20 @@ class User extends REST_Controller
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}else if($company_id == '4152'){
|
||||||
|
// 乐福米业
|
||||||
|
if(!in_array($dateInfo['dc_type'], ['666700', '666699'])){
|
||||||
|
// 只订午晚餐
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$current_time = date("H:i:s");
|
||||||
|
if($current_time < "06:00:00" || $current_time > "08:30:00"){
|
||||||
|
$message .= "<p><span style='color: red'>预定信息:</span> ".$tomorrow_format."的{$dateInfo['dc_type_name']}不在菜谱预定时间内</p>";
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 根据tb_order_rule规则订餐
|
// 根据tb_order_rule规则订餐
|
||||||
|
|
Loading…
Reference in New Issue