Commit Graph

156 Commits

Author SHA1 Message Date
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
Nweni
f035c2fe10 fixed conflict 2019-11-28 14:19:37 +06:30
Nweni
b45c376ebc fixed conflict 2019-11-20 09:45:55 +06:30
Aung Ye Kyaw
0ed10a0c64 Update Gemfile for Ruby version 2.4.1 2019-11-19 11:53:02 +00:00
Nweni
2b5105672a gem file 2019-11-19 09:33:54 +06:30
Nweni
55f489cabb gem 2019-11-18 13:10:32 +06:30
NyanLinHtut
77d0e0a56c add readme 2019-11-18 10:22:54 +06:30
git_code2lab
6bfaea9f34 fixed conflict 2019-11-15 14:24:54 +06:30
git_code2lab
213644d8ef commit from production server 2019-11-15 14:17:50 +06:30
Nweni
b1ff773ac7 fixed conflict/ 2019-11-15 13:54:28 +06:30
Nweni
6bb545d382 gem 2019-11-15 13:53:31 +06:30
Nweni
99b3606c2d dump 2019-11-15 09:50:23 +06:30
Nweni
9b798dc699 fixed conflict 2019-11-08 16:08:45 +06:30
Nweni
41178978d2 gem lock 2019-10-30 10:38:49 +06:30
Nweni
6b6c945af7 gemfile 2019-10-30 10:23:28 +06:30
Min Zeya Phyo
dc1f83ddc9 remove cups installation for cloud in Gemfile 2019-10-25 13:14:49 +06:30
Min Zeya Phyo
af3efbe607 Update Gemfile to use ruby 2.6.5 2019-10-25 13:06:45 +06:30
Min Zeya Phyo
77ed76c368 Update Gemfile to use ruby 2.6.5 2019-10-25 13:04:12 +06:30
Min Zeya Phyo
c0cc166bed production deployment changes 2019-10-25 12:44:17 +06:30
Min Zeya Phyo
b931ad709d cap deployment setup 2019-10-25 12:29:56 +06:30
Aung Ye Kyaw
b025cc2cfd Update Gemfile
Ruby version change 2.3.1 to 2.4.1
(may be someone changed)
2019-10-24 05:40:56 +00:00
Nweni
e2790c1b3b get update 2019-10-16 10:33:19 +06:30
Thein Lin Kyaw
327a6e17bf fix first bill amount less than actual sales 2019-09-27 20:35:05 +06:30
Aung Ye Kyaw
e5917d634d Update Gemfile by AYK
bundle install Error sassc -v '1.12.1'
2019-09-06 07:40:01 +00:00
Zoey
68b16eeee7 kbzpay qrcode 2019-06-24 10:19:10 +06:30
Yan
c22fc3e86e add pdf viewer and test doemal 2018-04-18 14:17:37 +06:30
phyusin
fc8d8eea4a add paymal payment 2018-03-30 16:53:38 +06:30
phyusin
ac5987fbb5 Merge branch 'topup_payment' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes 2018-03-30 16:38:00 +06:30
phyusin
8e14d93c4c merge with master 2018-03-30 15:36:41 +06:30
San Wai Lwin
3ced0f2590 Pull from master 2018-03-29 18:17:10 +06:30
San Wai Lwin
110dc80f0c Add multiple photo upload 2018-03-19 18:35:59 +06:30
Aung Myo
ca817197d9 update menu import and export 2018-03-19 18:13:38 +06:30
Moe Su
aa8e795d45 Topup payment 2018-03-16 17:50:45 +06:30
Aung Myo
e956b54886 update option and menu export csv single 2018-03-16 17:41:30 +06:30
Yan
649711f72d license key api for redis 2018-01-12 15:07:11 +06:30
Yan
66304cfccf cups update 2018-01-09 11:36:36 +06:30
Aung Myo
06acf3acb9 update ruby version 2017-12-28 13:21:23 +06:30
Ye Min
b2b05246d1 Cap setup 2017-12-27 13:11:05 +06:30
Yan
ad66a6570b add popper.js.map and remove .idea 2017-11-21 16:30:56 +06:30
phyusin
9647a28f91 dashboard chart UI 2017-11-15 13:27:42 +06:30
Yan
2e0b2b823a redis 4 to 3 2017-11-06 13:44:21 +06:30
Yan
4ad355bacb update gem file 2017-11-01 16:35:19 +06:30
Aung Myo
56940d7f00 update sale audit 2017-10-31 12:08:27 +06:30
Yan
61c9fd0c81 test for js 2017-10-27 16:53:32 +06:30
Yan
0da1aeaeb9 ui review and edited 2017-10-26 17:54:22 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Yan
d487601802 add aes crypt gem 2017-10-10 11:06:22 +06:30
Zin Lin Phyo
df4caa288d jquery date-time picker 2017-08-30 10:46:46 +06:30
Zin Lin Phyo
5fcfbdc020 fix conflit 2017-08-29 18:42:08 +06:30
Zin Lin Phyo
f03d8654e7 commission report 2017-08-29 18:36:46 +06:30