Commit Graph

33 Commits

Author SHA1 Message Date
Thein Lin Kyaw
2ee1fc2423 Merge branch 'r-1902001-01' into foodcourt 2020-07-11 04:00:55 +06:30
Thein Lin Kyaw
7e9b4f7120 update license 2020-06-19 10:46:52 +06:30
Zin Moe
420d384845 modify current login employee action 2020-01-15 12:28:25 +06:30
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
Thein Lin Kyaw
98d88218f2 update login_verification 2020-01-13 16:41:09 +06:30
Thein Lin Kyaw
3088aa3016 update multi_tenancy and current shop 2020-01-13 16:35:57 +06:30
yarzar_code
dff2c69627 Read NFC 2020-01-12 20:07:28 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +06:30
Nweni
e0b912bfa0 current shop 2019-12-03 13:43:26 +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
Nweni
3a85f1e319 current shop changes 2019-11-28 18:33:56 +06:30
Nweni
d41d957688 fixed conflict after merge with dev 2019-11-28 16:47:12 +06:30
Myat Zin Wai Maw
fe5dc6bb5a card payment 2019-11-27 15:05:42 +06:30
Nweni
845d6662c9 Verify 2019-11-27 09:36:30 +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
phyusin
ccd9855281 shop_detail func: update in base 2019-01-07 16:05:18 +06:30
Aung Myo
87502ec0f2 update inventory and shop and seed 2018-10-09 16:12:52 +06:30
phyusin
de5448b7a0 check function for order and bank 2018-08-07 14:13:00 +06:30
Yan
1187ddba37 move check license to action controler 2018-04-19 16:40:59 +06:30
Yan
510e3aabec check current user session 2018-03-20 14:32:08 +06:30
Yan
908b590ed1 nothing change 2018-02-27 15:34:58 +06:30
phyusin
adefd8c034 remove conflict data 2018-02-27 14:35:21 +06:30
Yan
ac470c5747 license and local move to base action and update other base 2018-02-27 11:41:24 +06:30
Yan
13b7b1f800 add action base and update base ctrls 2018-02-26 17:42:54 +06:30
Yan
a6abfb2f49 update token mismatch 2018-02-23 15:49:29 +06:30
Yan
25a212bb70 update base controllers 2018-02-23 14:45:53 +06:30
Yan
3d2d304654 license update for token 2018-02-21 16:30:14 +06:30
Yan
cd95d1d5c9 license test 2018-02-21 10:12:05 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Min Zeya Phyo
e1e102fd15 user role scoped layout and controller 2017-04-20 22:29:39 +06:30
Min Zeya Phyo
0a97947259 api integrated 2017-04-19 19:39:58 +06:30