|
|
|
|
@ -865,9 +865,9 @@ class OrdersController extends CommonController
|
|
|
|
|
$warnings[] = "将对" . $price_changed_paid_items->count() . "天已付款的子订单进行价格更改";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
foreach ($price_changed_paid_items as $price_changed_paid_item) {
|
|
|
|
|
if (date("Ym", strtotime($price_changed_paid_item->service_date)) < date("Ym", strtotime("-1 month", time()))) {
|
|
|
|
|
$errors[] = "子订单{$price_changed_paid_item->id}超期价格锁定";
|
|
|
|
|
foreach ($order_items as $_item) {
|
|
|
|
|
if (date("Ym", strtotime($_item->service_date)) < date("Ym", strtotime("-1 month", time()))) {
|
|
|
|
|
$errors[] = "子订单{$_item->id}已锁定";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|