Commit Graph

2541 Commits

Author SHA1 Message Date
yarzar_code
4c69c1d5d2 Print close cashier 2020-01-14 14:21:46 +06:30
Zin Moe
270c2a821e delete shop scope in model 2020-01-13 18:41:37 +06:30
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
yarzar_code
dff2c69627 Read NFC 2020-01-12 20:07:28 +06:30
NyanLinHtut
314cc507a3 merge with r-19 2020-01-11 11:08:33 +06:30
Thein Lin Kyaw
8b5478cf27 update receipt no detail report 2020-01-03 16:43:05 +06:30
yarzar_code
4cc138b115 Fixed Excel File 2020-01-03 14:37:03 +06:30
Thein Lin Kyaw
5e7e92edb8 hide change tax button after first bill 2020-01-03 13:25:32 +06:30
yarzar_code
0202bc7827 Changed raw SQL query to activerecord 2020-01-03 10:16:45 +06:30
Myat Zin Wai Maw
ce419891dd menu item by id 2020-01-02 16:09:40 +06:30
NyanLinHtut
23f922b5d1 fixed daily sale ui 2019-12-27 15:19:46 +06:30
NyanLinHtut
358ff50934 daily & hourly report 2019-12-23 14:51:37 +06:30
NyanLinHtut
c87a2e579b - 2019-12-23 09:48:11 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +06:30
Myat Zin Wai Maw
54109c5273 fix conflict 2019-12-20 14:17:23 +06:30
Myat Zin Wai Maw
e3207ed1d5 quick service tax 2019-12-20 14:12:57 +06:30
Thein Lin Kyaw
d87ffee65b update seed generator and remove hard-coded customer id 2019-12-20 10:35:31 +06:30
yarzar_code
8273c46cdb Payment Method fixed 2019-12-18 17:48:48 +06:30
yarzar_code
41d9c1375c Payment Method 2019-12-18 15:05:28 +06:30
Myat Zin Wai Maw
16485875c1 add to existing order 2019-12-18 10:15:24 +06:30
Myat Zin Wai Maw
cd9756d061 Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt 2019-12-17 13:50:10 +06:30
Myat Zin Wai Maw
4d0f13106d foodcourt 2019-12-17 13:49:15 +06:30
NyanLinHtut
6568c09135 fixed out of stock 2019-12-16 11:32:51 +06:30
Myat Zin Wai Maw
949835ffdc Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt 2019-12-13 10:12:45 +06:30
Myat Zin Wai Maw
f45849de49 shop 2019-12-13 10:12:08 +06:30
NyanLinHtut
afe3c995ae fixed conflit 2019-12-13 10:09:25 +06:30
NyanLinHtut
c6c605bb01 add out of stock 2019-12-13 10:07:20 +06:30
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +06:30
Thein Lin Kyaw
b0452030b0 fix menu attributes error 2019-12-10 16:34:58 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +06:30
Myat Zin Wai Maw
c606ca73db foodcourt 2019-12-10 13:37:06 +06:30
Myat Zin Wai Maw
5b3a62917d void 2019-12-09 17:27:38 +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
Myat Zin Wai Maw
fabf3f613e app 2019-12-05 11:06:12 +06:30
Myat Zin Wai Maw
7a4db5e0f4 app order with order 2019-12-04 16:18:06 +06:30
Thein Lin Kyaw
dc1f464b7f update api/resturant/menu 2019-12-04 15:49:03 +06:30
Myat Zin Wai Maw
7e7f8f173f app order 2019-12-04 14:37:21 +06:30
Myat Zin Wai Maw
6c1b6fe79f app 2019-12-04 14:18:37 +06:30
Nweni
8b5d28524e shop code 2019-12-04 13:57:26 +06:30
Myat Zin Wai Maw
0b98f3a149 Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt 2019-12-04 13:33:31 +06:30
Myat Zin Wai Maw
08f5689841 print 2019-12-04 13:33:13 +06:30
Nweni
7afddcdf2b shop code 2019-12-04 10:49:46 +06:30
Myat Zin Wai Maw
840f0f9c43 Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt 2019-12-03 17:49:21 +06:30
Myat Zin Wai Maw
fe56286c76 app order 2019-12-03 17:49:01 +06:30
Thein Lin Kyaw
c8c39b0636 update origami/home/index 2019-12-03 16:15:48 +06:30
Nweni
78838a7718 current shop 2019-12-03 14:54:53 +06:30
Nweni
e0b912bfa0 current shop 2019-12-03 13:43:26 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +06:30
Nweni
a59c662188 Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt 2019-12-02 18:02:50 +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