setter
parent
aa7d3eeb08
commit
f51c2ec764
|
@ -38,7 +38,7 @@ class OrderActivity extends Base
|
|||
public static function cancel(string $orderCoding): bool
|
||||
{
|
||||
return self::where('coding', $orderCoding)->save([
|
||||
'status' => Order::STATUS_CLOSED,
|
||||
'status' => Order::STATUS_CANCEL,
|
||||
'deleted_at' => date('Y-m-d H:i:s')
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue