Commit Graph

14 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
78838a7718 current shop 2019-12-03 14:54:53 +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
Zoey
79d8eb94ef kbzpay 2019-06-26 11:42:51 +06:30
Nweni
ae373fe365 callback kbzpay 2019-06-24 10:10:01 +06:30
Myat Zin Wai Maw
c10dd611d7 fix 2019-06-21 14:45:35 +06:30
Nweni
e9b6feb332 sale payment 2019-06-21 14:24:34 +06:30
Myat Zin Wai Maw
efd2e84bcc update mobilepayment 2019-06-21 14:21:03 +06:30
Nweni
2a71794529 mobile payment 2019-06-21 10:47:48 +06:30
Myat Zin Wai Maw
3716cbdda7 customer update 2019-06-20 18:26:10 +06:30
Myat Zin Wai Maw
c06f0aade8 sx cash payment api 2019-06-20 15:00:39 +06:30