This commit is contained in:
2025-08-06 15:42:01 +08:00
parent 9eb1a7fc19
commit b5c73e524a
-1
View File
@@ -10,7 +10,6 @@ class CustomerLogic
public function status(int $id,int $status)
{
$customer = Customer::withTrashed()->find($id);
$customer->restore();
$customer->status = $status;
$res = $customer->save();