Commit Graph

58 Commits

Author SHA1 Message Date
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
09e7650452 order from app 2019-11-28 15:52:50 +06:30
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +06:30
Thein Lin Kyaw
8046b7210b request bill error on promotion. fix for compute sale's totals on promotion. 2019-11-08 20:35:26 +06:30
phyusin
398f97f244 check duplicate paypar account no issue 2018-12-27 16:08:34 +06:30
phyusin
11b4bdc804 api for cashier app 2018-10-12 15:18:23 +06:30
phyusin
5a0473d777 reservation data 2018-09-28 15:54:17 +06:30
phyusin
94a65a749f change tax profile structure 2018-07-25 17:19:00 +06:30
phyusin
4783e35942 add dashboard settings and customer create 2018-07-13 18:00:49 +06:30
San Wai Lwin
c037c85055 Edit pagination 2018-06-12 17:11:43 +06:30
phyusin
0f1ce09416 change customer and sale tax for takeaway 2018-05-09 15:40:13 +06:30
Aung Myo
5816a48d32 update dinga and paymal 2018-04-18 14:40:53 +06:30
phyusin
0413d56a83 add paymal and dinga with account no 2018-04-11 16:18:42 +06:30
phyusin
a2e4863c9d check user agent and token when webview is loaded 2018-04-06 15:36:08 +06:30
phyusin
0977363518 check tax profile process 2018-03-21 11:53:27 +06:30
San Wai Lwin
9228168ebc route changes 2018-03-13 14:51:07 +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
Aung Myo
47ffc5fa51 update no table quick srevice 2018-02-14 18:21:10 +06:30
Aung Myo
aeafbb4fae update pull split bill 2018-02-09 14:31:34 +06:30
Aung Myo
85020d91bf update table box 2018-02-06 09:52:27 +06:30
San Wai Lwin
3f247f731e Shop name in navbar,linke to shop info 2018-02-05 18:11:45 +06:30
phyusin
30dac06c8a add membership type in customer 2017-12-29 12:02:40 +06:30
Aung Myo
393d0badc3 update customer transaction list 2017-11-17 11:47:42 +06:30
Aung Myo
56940d7f00 update sale audit 2017-10-31 12:08:27 +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
79c7b46ab7 update adminbsb design 2017-10-09 18:17:45 +06:30
Aung Myo
444b270dd1 update ui design 2017-09-29 13:42:41 +06:30
Aung Myo
7b90acd2c1 update jade integration card use for all shop 2017-08-24 11:29:04 +06:30
Aung Myo
352037641b update jade integration 2017-08-23 19:55:17 +06:30
Aung Myo
07b13d8f87 update jade integration 2017-08-23 19:46:00 +06:30
Aung Myo
67b6da92ab Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into staging 2017-08-14 15:04:28 +06:30
Aung Myo
a691eb8d64 update 2017-08-14 15:01:44 +06:30
Yan
0e93eb3765 fix for customer tax ui and calc tax after bind customer 2017-08-11 12:13:30 +06:30
Yan
2794103e52 update customer tax calc 2017-08-09 17:54:22 +06:30
Yan
bf3e30c70f control for member create and member discount 2017-07-27 18:53:41 +06:30
Yan
a5546920b6 nfc done 2017-07-18 16:06:36 +06:30
Aung Myo
b78119f848 update print 2017-07-02 11:41:47 +06:30
Yan
adf06cf6f5 Merge branch 'crm' of bitbucket.org:code2lab/sxrestaurant 2017-06-26 17:02:25 +06:30
Aung Myo
6e77a71946 update customer seed shop and receipt bill 2017-06-26 16:50:04 +06:30
Yan
ecc9ab53ec Merge branch 'cancan' of bitbucket.org:code2lab/sxrestaurant 2017-06-26 09:59:16 +06:30
Aung Myo
f5f0f9e077 update crm customer and bind customer and queue 2017-06-23 17:03:52 +06:30
Aung Myo
25b6a893f2 first cancan 2017-06-22 15:33:55 +06:30
Aung Myo
187caa5253 update customre 2017-06-22 11:58:16 +06:30
Aung Myo
54526230aa update customerbind in origami 2017-06-22 10:25:40 +06:30
Aung Myo
ed3f97a2af upadte customer and sale void 2017-06-15 13:17:58 +06:30
Aung Myo
3db6252304 update search and crm 2017-06-14 00:09:54 +06:30