Commit Graph

7 Commits

Author SHA1 Message Date
Thein Lin Kyaw
5d9281e196 fix timezone 2023-02-10 14:50:30 +06:30
Thein Lin Kyaw
944f7a7259 fix timezone 2023-02-09 14:55:43 +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
phyusin
c4ab456176 credit payment for quick service 2018-07-11 18:32:09 +06:30
phyusin
bf0f76ebc7 credit payment function 2018-07-10 18:12:25 +06:30
phyusin
794c4e9ed2 credit payment view 2018-07-05 17:03:29 +06:30
phyusin
2d05886be4 UI for credit payment 2018-07-04 18:46:13 +06:30