weizong song 3 months ago
parent c52b576bd2
commit cd457884ff

@ -874,8 +874,8 @@ class OrdersController extends CommonController
});
$price_changed_last_month_paid_items = $price_changed_paid_items->filter(function ($item) {
return false;
//return date("Ym", strtotime($item->paid_at)) != date("Ym");
//return false;
return date("Ym", strtotime($item->paid_at)) != date("Ym");
});
$total_increased = $price_changed_paid_items->count() * $request->price - $price_changed_paid_items->sum("total");

Loading…
Cancel
Save