Commit Graph

15 Commits

Author SHA1 Message Date
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +06:30
Thein Lin Kyaw
937f40e7c1 Single database for multiple shops
Use ActsAsTenant as Multi-tenancy for shops

See below files:
- app/controllers/concern/multi_tenancy.rb
- app/models/application_record.rb
- app/models/shop.rb

An initializer can be created to control option in ActsAsTenant.
config/initializers/acts_as_tenant.rb
require 'acts_as_tenant/sidekiq'
ActsAsTenant.configure do |config|
  config.require_tenant = false # true
end

more details: https://github.com/ErwinM/acts_as_tenant
2019-12-02 17:19:28 +06:30
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +06:30
phyusin
8897f1d052 multiple zone with cashier terminal call waiter noti 2018-10-11 10:22:35 +06:30
Aung Myo
7e8b69aa7c update action cable and other bugs 2018-05-21 13:00:55 +06:30
Aung Myo
9b0a564b9a update cable for cloud 2018-04-25 13:18:54 +06:30
Aung Myo
6e3a5300a6 close cable in cloud mode 2018-04-23 15:39:56 +06:30
Yan
0ff340cac2 shop upate for 20 files 2018-04-10 18:10:40 +06:30
Aung Myo
9efd54e68b update remove job from cable and cup control in print 2018-02-01 15:30:30 +06:30
Aung Myo
e91e15d629 update call waiter 2018-01-02 16:28:38 +06:30
Aung Myo
aec3b17127 upate call waiter print 2017-12-15 17:58:38 +06:30
Aung Myo
9f41be5c99 upate call waiter print 2017-12-15 17:55:02 +06:30
Aung Myo
3354733e41 update call waiter 2017-12-04 19:23:37 +06:30