Commit Graph

14 Commits

Author SHA1 Message Date
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +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
Thein Lin Kyaw
18cb9ba23c fix sub menu category error 2019-11-29 15:47:15 +06:30
NyanLinHtut
3c5755a028 fixed set items in origami 2019-11-28 17:27:28 +06:30
Thein Lin Kyaw
2010b6a4bb update number_formattable. update dashboard query. 2019-11-28 14:13:00 +06:30
Thein Lin Kyaw
a3e4cc8993 optimize for dashboards 2019-11-18 10:09:40 +06:30
phyusin
b557e17558 menu item checked 2018-12-26 10:37:17 +06:30
Aung Myo
a5ebce1c08 update menu for ordering 2018-09-21 17:32:16 +06:30
Aung Myo
7649728c4d update menu json for sort by name 2018-05-24 16:29:51 +06:30
Aung Myo
80e9f4fc36 update menu json for unscope4 2018-05-21 15:59:42 +06:30
Aung Myo
f5ad727c08 update menu cateogry and myanmar font in xls 2018-05-21 15:30:15 +06:30
phyusin
fa4c5d075e check menu is_available, survey id and check status with sale items SUM in receipBill 2018-05-16 17:08:00 +06:30
Aung Myo
efa5350883 cache menu 2018-05-09 16:46:54 +06:30
Aung Myo
2d73e63e7b update cache menu 2018-05-08 15:47:11 +06:30