Commit Graph

72 Commits

Author SHA1 Message Date
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +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
Thein Lin Kyaw
327a6e17bf fix first bill amount less than actual sales 2019-09-27 20:35:05 +06:30
Zoey
b7368314c5 print receipt bill 2019-07-03 13:49:54 +06:30
Myat Zin Wai Maw
55c9e0c578 fix conflict 2019-06-20 15:22:06 +06:30
phyusin
2dd940cc2e check no order 2018-11-28 11:29:43 +06:30
phyusin
b750547066 change future checkin time flow 2018-11-28 10:54:37 +06:30
phyusin
00ad7cfeb0 shift for sx cashier app 2018-11-13 14:10:00 +06:30
phyusin
b8f96a1f87 change json format 2018-10-16 15:40:50 +06:30
phyusin
94debfdde9 change json format and void api 2018-10-16 14:35:54 +06:30
phyusin
11b4bdc804 api for cashier app 2018-10-12 15:18:23 +06:30
San Wai Lwin
61e4b930c8 edit in check time 2018-08-14 15:22:49 +06:30
San Wai Lwin
671aa155cd Edit for checkin pdf 2018-08-13 14:37:41 +06:30
phyusin
a0f81af75b check req bil 2018-08-08 09:48:21 +06:30
San Wai Lwin
e9b26f1684 Edit in bill and request bill controller 2018-08-07 14:41:18 +06:30
Aung Myo
81a387e522 update multiple zone with terminal 2018-08-07 09:33:26 +06:30
Aung Myo
b933f959f6 update bill for multiple zone 2018-08-06 17:46:27 +06:30
Aung Myo
f0f19edcd6 update bill request for employee 2018-08-06 12:52:47 +06:30
Aung Myo
6e13aa73a3 update for bill api with order source 2018-08-06 10:56:33 +06:30
phyusin
1deac0107c Merge branch 'ui_ux_changes' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes 2018-06-19 10:53:13 +06:30
San Wai Lwin
555ff6e684 Delect Lookup for check in out 2018-06-19 10:48:56 +06:30
phyusin
eac5f8a7d4 Merge branch 'ui_ux_changes' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes 2018-06-18 17:35:55 +06:30
phyusin
74be50492d check multiple cashier terminal in bill_controller 2018-06-18 16:25:45 +06:30
San Wai Lwin
25a8381681 Add Check in out pdf 2018-06-18 16:05:54 +06:30
Aung Myo
7e8b69aa7c update action cable and other bugs 2018-05-21 13:00:55 +06:30
Aung Myo
9b0a564b9a update cable for cloud 2018-04-25 13:18:54 +06:30
Aung Myo
6e3a5300a6 close cable in cloud mode 2018-04-23 15:39:56 +06:30
Aung Myo
a7dbb4442d upsate 2018-02-20 14:15:01 +06:30
Aung Myo
9ae1fb1084 update requset bill for api 2018-02-20 14:00:18 +06:30
phyusin
41aa840eb2 conflict data 2018-02-06 18:12:59 +06:30
phyusin
991bc48505 order item split bill process 2018-02-06 09:46:30 +06:30
Aung Myo
9efd54e68b update remove job from cable and cup control in print 2018-02-01 15:30:30 +06:30
Yan
69b786a91d shift update 2017-12-07 12:07:06 +06:30
Aung Myo
04b27489dd update bill controler 2017-12-07 08:59:39 +06:30
Yan
c61c7ac98f print bill by cashier zone 2017-10-23 18:39:05 +06:30
Yan
707cae4cf8 add multi cashier logic 2017-10-23 18:10:15 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Yan
f67d4197ec add bill channel for req bill 2017-09-07 15:35:00 +06:30
Nweni
de769f3faf promotion 2017-08-23 17:37:13 +06:30
Nweni
eedf6c39a1 promotion + merge with master 2017-08-23 10:12:41 +06:30
superuser
ca797b8d9c update conflict file 2017-07-02 14:37:21 +06:30
Nweni
acca5b5a1d Update 2017-07-02 11:22:49 +06:30
superuser
f23bbd6936 merge with origin master 2017-06-30 19:33:04 +06:30
superuser
60dee30046 api/bill_controller edited 2017-06-30 19:29:09 +06:30
Yan
fbeab17b3c merge with origin master 2017-06-29 14:08:20 +06:30
Nweni
cf851327b3 fixed conflict 2017-06-29 13:52:55 +06:30
Nweni
e3c2f02c81 fixed conflict 2017-06-29 13:39:37 +06:30
Nweni
618a89472a shift open/close 2017-06-29 13:35:09 +06:30
Yan
8045bb31e9 merge with discount 2017-06-29 11:41:29 +06:30
Yan
9991970203 add first bill 2017-06-29 11:34:13 +06:30