Merge branch 'master' of /mnt/git/v2.tiantianxinye.365care

master
songweizong 3 years ago
commit 2145d1b177

@ -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}已锁定";
}
}

Loading…
Cancel
Save