Commit Graph

10 Commits

Author SHA1 Message Date
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
Myat Zin Wai Maw
5a3f328789 test 2019-11-19 14:59:45 +06:30
Aung Myo
0e7db08bfc update process payment for current user 2018-08-07 16:27:32 +06:30
phyusin
dd4db6d2e7 remove conflict data 2018-07-12 15:54:30 +06:30
Aung Myo
eef4af4cc6 update sale audit 2018-07-12 13:55:27 +06:30
phyusin
bf0f76ebc7 credit payment function 2018-07-10 18:12:25 +06:30
Yan
0ff340cac2 shop upate for 20 files 2018-04-10 18:10:40 +06:30
phyusin
6a9fd67bff check payment method 2018-03-30 15:24:51 +06:30