check seedd generator for commission issue
This commit is contained in:
@@ -19,7 +19,7 @@ namespace :clear do
|
|||||||
InDuty.delete_all
|
InDuty.delete_all
|
||||||
DiningFacility.update_all(status:'available')
|
DiningFacility.update_all(status:'available')
|
||||||
CashierTerminal.update_all(is_currently_login: 0)
|
CashierTerminal.update_all(is_currently_login: 0)
|
||||||
SeedGenerator.where("id > 1").update(:current => 0, :next => 1)
|
SeedGenerator.where("model !='Customer' AND model != 'Commission'").update(:current => 0, :next => 1)
|
||||||
# Receipt.delete_all
|
# Receipt.delete_all
|
||||||
# ReceiptDetail.delete_all
|
# ReceiptDetail.delete_all
|
||||||
OrderReservation.delete_all
|
OrderReservation.delete_all
|
||||||
|
|||||||
Reference in New Issue
Block a user