Commit Graph

262 Commits

Author SHA1 Message Date
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
Thein Lin Kyaw
d379c05298 edit for shop_code query 2020-01-13 15:28:26 +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
NyanLinHtut
b742dfa2a0 fixed accept credit with multi payment 2020-01-15 13:12:00 +06:30
NyanLinHtut
23f922b5d1 fixed daily sale ui 2019-12-27 15:19:46 +06:30
NyanLinHtut
054de3731e add audit for change tax 2019-12-24 11:14:04 +06:30
Thein Lin Kyaw
99c943a865 fix api addorder and foc payment status 2019-12-20 16:38:21 +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
92e467d512 Fix bugs and improvements
fix payment outstanding with amount <= 0
fix payment outstanding with other payments
2019-12-18 15:41:18 +06:30
Thein Lin Kyaw
e6392c3bd4 update for addorder and printer 2019-12-17 15:02:58 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +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
Nweni
7afddcdf2b shop code 2019-12-04 10:49:46 +06:30
Nweni
e0b912bfa0 current shop 2019-12-03 13:43:26 +06:30
Thein Lin Kyaw
108415ed3f update dine-in pay bill 2019-12-03 10:02:49 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +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
Myat Zin Wai Maw
cac6994ccb separate foodcourt module 2019-12-02 16:10:51 +06:30
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +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
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
Nweni
9b798dc699 fixed conflict 2019-11-08 16:08:45 +06:30
Thein Lin Kyaw
155cb0a9eb rounding decimal to print_settings precision 2019-11-06 17:34:42 +06:30
Nweni
359679d419 CBKI 2019-10-30 16:52:16 +06:30
Thein Lin Kyaw
327a6e17bf fix first bill amount less than actual sales 2019-09-27 20:35:05 +06:30
NyanLinHtut
4808947fcd fixed inventory 2019-09-13 21:13:04 +06:30
NyanLinHtut
e0b54728f7 fixed inventory 2019-09-12 14:50:14 +06:30
Zoey
1a11b9e2e7 kbzpay 2019-07-22 15:57:33 +06:30
Zoey
6247e6c37d kbz pay method 2019-07-03 14:01:17 +06:30
Zoey
7e5d90770c fix conflicts 2019-07-03 13:51:41 +06:30
Zoey
b7368314c5 print receipt bill 2019-07-03 13:49:54 +06:30
Myat Zin Wai Maw
f186ddeed9 git merge 2019-06-28 14:41:59 +06:30
Zoey
8a6b8dfa59 foc receipt bill 2019-06-27 17:25:23 +06:30
Zoey
52a375f2a4 kbzpay payment updated 2019-06-26 13:35:27 +06:30
Zoey
2e306a6339 kbz pay fixed 2019-06-26 12:18:17 +06:30
Zoey
b948f10209 kbzpay 2019-06-26 12:05:37 +06:30
Zoey
8cfb88ca73 Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-06-26 11:43:11 +06:30
Zoey
79d8eb94ef kbzpay 2019-06-26 11:42:51 +06:30
Myat Zin Wai Maw
5304270246 fix conflict 2019-06-25 10:30:08 +06:30
Myat Zin Wai Maw
438cefcc49 Inventory report 2019-06-25 10:27:31 +06:30
Zoey
88c5dc2144 kbzpay setting 2019-06-24 14:22:44 +06:30
Zoey
cd2e003945 kbzpay qrcode 2019-06-24 14:10:03 +06:30
Zoey
7c44d7bd81 kbz pay qrcode; 2019-06-24 13:57:46 +06:30
Zoey
68b16eeee7 kbzpay qrcode 2019-06-24 10:19:10 +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
NyanLinHtut
0bef0da992 - 2019-06-21 15:10:25 +06:30
NyanLinHtut
7de795ee27 second display 2019-06-20 15:07:18 +06:30