add coronavirus activate/inactivate
This commit is contained in:
parent
5d847e2538
commit
9d861a9194
@ -44,7 +44,6 @@ class CustomerActivateForm extends Model{
|
|||||||
Card::updateAll(
|
Card::updateAll(
|
||||||
[
|
[
|
||||||
'status' => Card::STATUS_ACTIVE,
|
'status' => Card::STATUS_ACTIVE,
|
||||||
'end' => 'date_add( end, INTERVAL datediff(current_date, c.inactivated_at) DAY )'
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'status' => Card::STATUS_INACTIVE
|
'status' => Card::STATUS_INACTIVE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user