weizong song 3 years ago
parent 5b551af567
commit 7c8c475652

@ -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 "未扣款";

Loading…
Cancel
Save