Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
phyusin
2018-06-11 14:39:29 +06:30

View File

@@ -18,7 +18,7 @@ namespace :clear do
ProductCommission.delete_all
DiningFacility.update_all(status:'available')
CashierTerminal.update_all(is_currently_login: 0)
SeedGenerator.where("id > 1").update(:current => 0, :next => 0)
SeedGenerator.where("id > 1").update(:current => 0, :next => 1)
# Receipt.delete_all
# ReceiptDetail.delete_all
OrderReservation.delete_all