From 7c8c475652d442d37c39edb93a95a026c63dab39 Mon Sep 17 00:00:00 2001 From: weizong song Date: Thu, 31 Aug 2023 17:12:35 +0800 Subject: [PATCH] up --- app/Models/OrderItems.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/OrderItems.php b/app/Models/OrderItems.php index 1ecfbd5..3a906f4 100755 --- a/app/Models/OrderItems.php +++ b/app/Models/OrderItems.php @@ -20,7 +20,7 @@ class OrderItems extends SoftDeletesModel return "未服务"; } if ($this->paid_at) { - $next_month = date("m", strtotime("+1 month", strtotime($this->paid_at))); + $next_month = date("m", strtotime("+1 month", strtotime(date("Y-m", strtotime($this->paid_at))))); return "已扣款,{$next_month}月结工资"; } else { return "未扣款";