24 Commits

Author SHA1 Message Date
Zin Moe
270c2a821e delete shop scope in model 2020-01-13 18:41:37 +06:30
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
Zin Moe
66c375cc38 clean shop code 2020-01-13 16:23:33 +06:30
Thein Lin Kyaw
d379c05298 edit for shop_code query 2020-01-13 15:28:26 +06:30
yarzar_code
dff2c69627 Read NFC 2020-01-12 20:07:28 +06:30
NyanLinHtut
314cc507a3 merge with r-19 2020-01-11 11:08:33 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +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
NyanLinHtut
9d330bb28c fixed invetory 2019-09-25 11:54:54 +06:30
Aung Myo
1816b76028 update inventory 2018-10-04 14:42:02 +06:30
Aung Myo
63fe7591bf update inventory form 2018-09-17 11:12:12 +06:30
San Wai Lwin
d1852d24c3 Pull from master 2018-08-20 11:26:07 +06:30
phyusin
2dda29c5cc add shop detail info in inventory 2018-02-23 15:29:22 +06:30
yamin
382e9fd4fa inventory definition.coffee 2017-10-23 11:40:37 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Aung Myo
f8279084ea update admin bsb for layout inventory 2017-10-23 10:54:34 +06:30
Aung Myo
33f03b2e05 update adminbsb theme all theme setting 2017-10-10 14:11:38 +06:30
Zin Lin Phyo
31021813b0 inventory list and stock check 2017-09-05 16:47:50 +06:30
Nweni
83ec17a3df inventory development 2017-08-28 09:37:36 +06:30
Nweni
b99c503afa inventory 2017-08-25 09:40:59 +06:30
Nweni
81f430b5c6 inventory setup 2017-08-24 18:04:42 +06:30