Commit Graph

60 Commits

Author SHA1 Message Date
NyanLinHtut
314cc507a3 merge with r-19 2020-01-11 11:08:33 +06:30
Myat Zin Wai Maw
b3a828f709 - 2020-01-02 17:59:03 +06:30
Thein Lin Kyaw
d87ffee65b update seed generator and remove hard-coded customer id 2019-12-20 10:35:31 +06:30
Myat Zin Wai Maw
ce79038668 shop 2019-12-13 10:40:36 +06:30
Myat Zin Wai Maw
f45849de49 shop 2019-12-13 10:12:08 +06:30
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +06:30
NyanLinHtut
26edf23b46 fixed autoremove tax when discount & precision at receipt no report 2019-12-11 11:34:23 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +06:30
Thein Lin Kyaw
d93443ab2a remove undenfined helper 2019-12-09 10:57:43 +06:30
Myat Zin Wai Maw
08f5689841 print 2019-12-04 13:33:13 +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
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
0ef1b4fd87 fix request bill error with show_total_before_tax 2019-11-29 14:24:35 +06:30
Thein Lin Kyaw
5b88d16485 update number_formattable 2019-11-28 19:25:52 +06:30
Nweni
3a85f1e319 current shop changes 2019-11-28 18:33:56 +06:30
Nweni
d41d957688 fixed conflict after merge with dev 2019-11-28 16:47:12 +06:30
Thein Lin Kyaw
2010b6a4bb update number_formattable. update dashboard query. 2019-11-28 14:13:00 +06:30
Nweni
858ddfd93b Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt 2019-11-27 15:51:14 +06:30
Myat Zin Wai Maw
fe5dc6bb5a card payment 2019-11-27 15:05:42 +06:30
Nweni
a0b7557f06 fixed conflict after merge with dev branch for report query updated 2019-11-27 14:09:16 +06:30
Nweni
845d6662c9 Verify 2019-11-27 09:36:30 +06:30
Thein Lin Kyaw
3c1cc737b5 improve receipt/details reports and implement number formatting
1) eager load reports for receipt/details
2) introduce number_format lookups to replace print_settings for number formatting
3) implement NumberFormattable concern, reference number_format lookups or print_settings if not exist, to get number format settings and number formatting
4) replace rails NumberHelper.number_with_precision with NumberFormattable.number_format hopefully to reduce overhead, formatting numbers for huge lists of data
2019-11-25 23:17:53 +06:30
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +06:30
Myat Zin Wai Maw
5a3f328789 test 2019-11-19 14:59:45 +06:30
phyusin
ccd9855281 shop_detail func: update in base 2019-01-07 16:05:18 +06:30
phyusin
bf48376d85 license 2018-10-17 14:25:47 +06:30
Aung Myo
87502ec0f2 update inventory and shop and seed 2018-10-09 16:12:52 +06:30
phyusin
de5448b7a0 check function for order and bank 2018-08-07 14:13:00 +06:30
phyusin
9900ea385a change token,action,secrets 2018-05-12 16:33:28 +06:30
phyusin
1909a73fe0 add docker data 2018-05-12 16:19:18 +06:30
phyusin
050d3379c0 check api issue 2018-05-12 15:20:57 +06:30
phyusin
c7c32ffff4 change order reservation 2018-05-12 11:38:43 +06:30
phyusin
7d45e6ca81 check token for cloud 2018-05-11 17:52:52 +06:30
phyusin
11473c7fcd change order reservation 2018-04-27 13:47:54 +06:30
phyusin
b92889fb23 change base url settings 2018-04-23 14:41:07 +06:30
Aung Myo
095a62f143 Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant 2018-04-19 16:55:58 +06:30
Aung Myo
ed025800c4 update addor for set instance api for addorder and paymal paymant 2018-04-19 16:55:49 +06:30
Yan
1187ddba37 move check license to action controler 2018-04-19 16:40:59 +06:30
Yan
c22fc3e86e add pdf viewer and test doemal 2018-04-18 14:17:37 +06:30
Yan
b730c78afe doemal or other api token added 2018-04-11 17:20:17 +06:30
Yan
04ae741462 cloud for api and doemal 2018-04-11 11:27:05 +06:30
Yan
cb3f9c4cd7 remove skip auth from api and check user modified 2018-04-09 09:58:22 +06:30
Yan
510e3aabec check current user session 2018-03-20 14:32:08 +06:30
Yan
908b590ed1 nothing change 2018-02-27 15:34:58 +06:30
phyusin
adefd8c034 remove conflict data 2018-02-27 14:35:21 +06:30
Yan
ac470c5747 license and local move to base action and update other base 2018-02-27 11:41:24 +06:30
Yan
13b7b1f800 add action base and update base ctrls 2018-02-26 17:42:54 +06:30
Yan
a6abfb2f49 update token mismatch 2018-02-23 15:49:29 +06:30
Yan
25a212bb70 update base controllers 2018-02-23 14:45:53 +06:30