47 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
Myat Zin Wai Maw
b0f6368248 shop_code 2019-12-05 14:56:47 +06:30
Nweni
78838a7718 current shop 2019-12-03 14:54:53 +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
d41d957688 fixed conflict after merge with dev 2019-11-28 16:47:12 +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
NyanLinHtut
9d330bb28c fixed invetory 2019-09-25 11:54:54 +06:30
NyanLinHtut
e0b54728f7 fixed inventory 2019-09-12 14:50:14 +06:30
Aung Myo
87502ec0f2 update inventory and shop and seed 2018-10-09 16:12:52 +06:30
Aung Myo
1816b76028 update inventory 2018-10-04 14:42:02 +06:30
Aung Myo
b66bee810a update stock taking form 2018-09-26 16:38:49 +06:30
Aung Myo
0158f007fa update sotck check 2018-09-24 15:55:35 +06:30
Aung Myo
5a155f596d update inventory form and list 2018-09-20 16:52:15 +06:30
Aung Myo
63fe7591bf update inventory form 2018-09-17 11:12:12 +06:30
phyusin
e820f564ea change some func: 2018-08-23 14:23:08 +06:30
phyusin
49ace265dc change query 2018-08-20 16:53:00 +06:30
phyusin
c7ed453c61 change query 2018-08-20 16:05:56 +06:30
phyusin
a2fd489ec4 remove conflict 2018-08-20 12:08:51 +06:30
San Wai Lwin
d486bcc0d2 pull from master 2018-08-20 12:00:13 +06:30
phyusin
49fd427225 change inv query 2018-08-20 11:56:47 +06:30
San Wai Lwin
d1852d24c3 Pull from master 2018-08-20 11:26:07 +06:30
phyusin
dee3c89ad3 change query and some func: in inv: 2018-08-17 17:57:13 +06:30
phyusin
b91ad06f35 change query for inventory 2018-08-16 17:40:49 +06:30
phyusin
899f118541 change stock check report and some structure 2018-08-16 15:49:20 +06:30
phyusin
5ba98d76be add change tax in table/room and check-in for room 2018-06-22 13:33:01 +06:30
phyusin
2dda29c5cc add shop detail info in inventory 2018-02-23 15:29:22 +06:30
Aung Myo
7ce71a1960 update inventory hide and cancan update 2017-11-30 11:19:15 +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
5e1e0cd5b9 stock_check report template 2017-09-06 18:27:58 +06:30
Zin Lin Phyo
31021813b0 inventory list and stock check 2017-09-05 16:47:50 +06:30
Nweni
12c8be597d Inventory Stock Check Print 2017-08-31 15:29:36 +06:30
Nweni
cabc78c373 inventory 2017-08-30 14:19:24 +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