diff --git a/app/Models/OrderItems.php b/app/Models/OrderItems.php index fc2b596..1ecfbd5 100755 --- a/app/Models/OrderItems.php +++ b/app/Models/OrderItems.php @@ -20,7 +20,8 @@ class OrderItems extends SoftDeletesModel return "未服务"; } if ($this->paid_at) { - return "已扣款,下月结工资"; + $next_month = date("m", strtotime("+1 month", strtotime($this->paid_at))); + return "已扣款,{$next_month}月结工资"; } else { return "未扣款"; }