Commit Graph

19 Commits

Author SHA1 Message Date
Nweni
be8cf2c34e api controller 2019-12-03 16:46:52 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +06:30
Nweni
de73bf9f7d fixed conflict 2019-12-02 17:43:02 +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
cac6994ccb separate foodcourt module 2019-12-02 16:10:51 +06:30
Nweni
3a85f1e319 current shop changes 2019-11-28 18:33:56 +06:30
NyanLinHtut
216dfe4f2f add loader service api 2019-11-13 13:34:11 +06:30
Myat Zin Wai Maw
1c478ae632 update order 2019-06-21 16:01:05 +06:30
Myat Zin Wai Maw
c06f0aade8 sx cash payment api 2019-06-20 15:00:39 +06:30
Yan
403f70480d api cloud update 2018-04-23 16:23:00 +06:30
Yan
835231bd61 edit api cntr 2018-04-20 20:27:08 +06:30
Yan
c22fc3e86e add pdf viewer and test doemal 2018-04-18 14:17:37 +06:30
Yan
b730c78afe doemal or other api token added 2018-04-11 17:20:17 +06:30
Yan
04ae741462 cloud for api and doemal 2018-04-11 11:27:05 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Yan
464e72012b waiter and cashier in api/bill_controller 2017-06-27 15:26:02 +06:30
Min Zeya Phyo
6a84a34a9f sale receipt generation and bill api 2017-04-17 13:09:54 +06:30
Min Zeya Phyo
5ca9615e38 API login/logout with http header token 2017-04-14 23:22:58 +06:30
Min Zeya Phyo
0ddc7bdb44 basic layout template 2017-04-05 08:24:21 +06:30