Commit Graph

321 Commits

Author SHA1 Message Date
Zin Moe
682ff6bb23 add methos to api customer controller 2020-07-23 18:19:25 +06:30
Thein Lin Kyaw
4e61eba843 remove get_tax_profiles from api_controller and create tax_profiles api 2020-07-20 00:26:47 +06:30
Zin Moe
8ee27a9c35 add tax profiles api 2020-07-14 17:56:45 +06:30
yarzar_code
62fb440850 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2020-06-08 15:48:13 +06:30
Thein Lin Kyaw
306b430299 update check_in_process 2020-02-20 11:07:06 +06:30
yarzar_code
7a09ed0108 Menu Item Groups 2020-01-30 11:57:28 +06:30
Thein Lin Kyaw
d87ffee65b update seed generator and remove hard-coded customer id 2019-12-20 10:35:31 +06:30
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +06:30
Thein Lin Kyaw
3a99e1bb09 update for order process
Add activereocrd-import gem for bulk insert
2019-12-09 10:33:19 +06:30
Thein Lin Kyaw
67e7658e56 Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-12-09 10:30:13 +06:30
Thein Lin Kyaw
dc1f464b7f update api/resturant/menu 2019-12-04 15:49:03 +06:30
Nweni
3b5b6c78f3 fixed conflict 2019-12-04 10:37:52 +06:30
Thein Lin Kyaw
37380f6bfb Fix json rendering error 2019-12-03 19:37:59 +06:30
Thein Lin Kyaw
1607cb70d3 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 detail: https://github.com/ErwinM/acts_as_tenant
2019-12-02 18:02: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
NyanLinHtut
891995f531 Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-11-13 13:35:34 +06:30
NyanLinHtut
216dfe4f2f add loader service api 2019-11-13 13:34:11 +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
Thein Lin Kyaw
33670b450e prevent order append to previous sale 2019-10-07 10:43:43 +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
Zoey
79d8eb94ef kbzpay 2019-06-26 11:42:51 +06:30
Zoey
01fcb64da1 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-06-24 14:02:18 +06:30
Nweni
259ef75295 Merge branch 'r-1902001-01-dev' of https://gitlab.com/code2lab/SXRestaurant into r-1902001-01-dev 2019-06-24 10:10:25 +06:30
Nweni
ae373fe365 callback kbzpay 2019-06-24 10:10:01 +06:30
Myat Zin Wai Maw
1c478ae632 update order 2019-06-21 16:01:05 +06:30
NyanLinHtut
0bef0da992 - 2019-06-21 15:10:25 +06:30
Myat Zin Wai Maw
c10dd611d7 fix 2019-06-21 14:45:35 +06:30
Nweni
e9b6feb332 sale payment 2019-06-21 14:24:34 +06:30
Myat Zin Wai Maw
db30ff9fcb Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2019-06-21 14:21:29 +06:30
Myat Zin Wai Maw
efd2e84bcc update mobilepayment 2019-06-21 14:21:03 +06:30
Nweni
2a71794529 mobile payment 2019-06-21 10:47:48 +06:30
Zoey
ebf0397bf3 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2019-06-21 10:04:48 +06:30
Zoey
f21d144111 before sync 2019-06-21 10:04:35 +06:30
Myat Zin Wai Maw
3716cbdda7 customer update 2019-06-20 18:26:10 +06:30
Myat Zin Wai Maw
55c9e0c578 fix conflict 2019-06-20 15:22:06 +06:30
NyanLinHtut
7de795ee27 second display 2019-06-20 15:07:18 +06:30
Myat Zin Wai Maw
c06f0aade8 sx cash payment api 2019-06-20 15:00:39 +06:30
Zoey
a01a3b7835 sync records 2019-06-13 14:51:25 +06:30
Zoey
2a04fb4065 sync data records 2019-06-13 12:50:07 +06:30
Zoey
e1bb948a3d sync data record 2019-06-12 18:03:31 +06:30
PPK
9440bcfa7e Update Reort 2019-05-29 17:34:43 +06:30
Aung Kyaw Phyoe
7ad4a38398 order reservation null issue checked 2019-01-14 13:48:13 +06:30
phyusin
f675179060 receipt bill order pdf 2018-12-12 11:32:26 +06:30
phyusin
9c45ee0b8b order reservation receipt bill" 2018-12-05 16:04:01 +06:30
phyusin
301f25e468 tax calculation for view order api 2018-12-04 17:54:07 +06:30
phyusin
27f76e291b order reservation pdf setting 2018-11-29 13:19:29 +06:30
phyusin
ed6310d462 check time 2018-11-28 18:44:08 +06:30
phyusin
b78d391e2b remove checkin time checked 2018-11-28 18:11:41 +06:30
phyusin
e5e62129ab add booking id in checkin process 2018-11-28 18:07:00 +06:30