Commit Graph

25 Commits

Author SHA1 Message Date
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +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
phyusin
5535a5db81 UI changed 2018-10-04 16:47:44 +06:30
Aung Myo
b1480a5066 update payment link with payment method 2018-09-12 17:54:04 +06:30
Aung Myo
0e7db08bfc update process payment for current user 2018-08-07 16:27:32 +06:30
Aung Myo
eef4af4cc6 update sale audit 2018-07-12 13:55:27 +06:30
Yan
0ff340cac2 shop upate for 20 files 2018-04-10 18:10:40 +06:30
phyusin
0edc92d066 Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant 2018-03-14 09:16:14 +06:30
Aung Myo
9f0bef732e update change version v3 for api paymal 2018-03-13 14:23:23 +06:30
San Wai Lwin
07c3bcd7a7 Change Dashboard, Account in login, Shop name, Reference no for other charges 2018-02-28 15:31:55 +06:30
San Wai Lwin
3f247f731e Shop name in navbar,linke to shop info 2018-02-05 18:11:45 +06:30
Aung Myo
5b9182c1d1 update rounding adj 2017-11-30 15:44:48 +06:30
Aung Myo
28dbb75774 update rebate and update api 2017-11-14 18:30:57 +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
ccab11acb2 update admin bsb for layout 2017-10-23 09:38:11 +06:30
Yan
bc2101bf42 merge with staging 2017-10-12 09:59:24 +06:30
Aung Myo
33f03b2e05 update adminbsb theme all theme setting 2017-10-10 14:11:38 +06:30
Aung Myo
444b270dd1 update ui design 2017-09-29 13:42:41 +06:30
Phyo
8caf4b2612 Coupon / Voucher data change 2017-08-21 10:09:23 +06:30
Phyo
25ab7c9701 Payment Voucher UI fix 2017-08-14 13:41:18 +06:30
Phyo
5c2928166d Voucher/Cuopon UI phrase 1 2017-08-11 18:10:57 +06:30