Commit Graph

123 Commits

Author SHA1 Message Date
Thein Lin Kyaw
b730da7a75 Merge branch 'r-1902001-01' into foodcourt 2020-09-10 10:31:07 +06:30
Thein Lin Kyaw
1b7a970f1d fix variable 2020-08-27 17:09:22 +06:30
yarzar_code
11b1b02b59 replace employee.role to current user.role 2020-08-27 17:09:13 +06:30
Thein Lin Kyaw
2ee1fc2423 Merge branch 'r-1902001-01' into foodcourt 2020-07-11 04:00:55 +06:30
yarzar_code
3d2d18a330 payment method changed in report 2020-07-09 14:46:18 +06:30
Thein Lin Kyaw
7e9b4f7120 update license 2020-06-19 10:46:52 +06:30
NyanLinHtut
f6a35d214f fixed payment methods & license 2020-06-10 18:12:15 +06:30
NyanLinHtut
219612a3ee fixed menu load 2020-02-28 11:02:02 +06:30
yarzar_code
49e3065866 food court cashier 2020-01-14 18:09:40 +06:30
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
yarzar_code
dff2c69627 Read NFC 2020-01-12 20:07:28 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +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
6ad2f320df shop 2019-12-02 19:11:52 +06:30
Nweni
de73bf9f7d fixed conflict 2019-12-02 17:43:02 +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
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
a0b7557f06 fixed conflict after merge with dev branch for report query updated 2019-11-27 14:09:16 +06:30
Thein Lin Kyaw
47c12c6faa dashboard check current_user for sales 2019-11-26 17:07:56 +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
Thein Lin Kyaw
74e29f7c39 remove def total_account from sale 2019-11-18 14:00:52 +06:30
Nweni
5dc93ef2f8 fixed conflict 2019-11-18 13:14:01 +06:30
Nweni
54ab9e0ca5 shops 2019-11-18 12:22:31 +06:30
Thein Lin Kyaw
a3e4cc8993 optimize for dashboards 2019-11-18 10:09:40 +06:30
NyanLinHtut
5e344dc4a6 waste and spoil report 2019-08-09 14:21:24 +06:30
phyusin
ccd9855281 shop_detail func: update in base 2019-01-07 16:05:18 +06:30
phyusin
11b4bdc804 api for cashier app 2018-10-12 15:18:23 +06:30
phyusin
9ac2044337 open TV script 2018-09-14 10:15:05 +06:30
phyusin
ca14b1e399 change credit payment query for dashboard and daily sales 2018-07-30 16:10:17 +06:30
San Wai Lwin
196946401d Pull from master 2018-07-25 16:06:48 +06:30
phyusin
4783e35942 add dashboard settings and customer create 2018-07-13 18:00:49 +06:30
San Wai Lwin
052d5e8c9c Edit dashboard ligin 2018-07-12 15:07:52 +06:30
Aung Myo
f0df6a80ba update optimzation 2018-07-05 12:50:16 +06:30
phyusin
9a86ff976a dashboard query changes 2018-06-25 16:13:40 +06:30
phyusin
b9a8912f01 reduce query in dashboard 2018-06-18 10:29:30 +06:30
phyusin
86b83125e6 change some fun: for dashboard 2018-06-15 18:19:53 +06:30
phyusin
4a2d4b1007 fixed for reprint and query 2018-06-13 17:40:18 +06:30
Aung Myo
7f249feda2 update origami dashboard 2018-06-05 15:50:06 +06:30
Aung Myo
ec4a0a3f81 update employee active , addorder view 2018-05-22 16:54:18 +06:30
phyusin
b3e17f6936 Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into adminbsb_ui_changes 2018-04-09 09:48:35 +06:30
phyusin
2e19d34ced add dinga payment and new payment type in report 2018-04-09 09:40:08 +06:30
Aung Myo
14b33a6f8d add kitchen role for oqs 2018-04-07 15:53:24 +06:30
phyusin
4b78de3f9a add filter in dashboard and Transaction/Sale 2018-03-26 16:42:17 +06:30