Commit Graph

156 Commits

Author SHA1 Message Date
Zin Moe
a3edbb07fd replace @shop and shop_details with current_shop 2020-01-13 17:34:48 +06:30
Zin Moe
66c375cc38 clean shop code 2020-01-13 16:23:33 +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
Myat Zin Wai Maw
d43266bd7d - 2020-01-08 15:35:47 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +06:30
Myat Zin Wai Maw
f45849de49 shop 2019-12-13 10:12:08 +06:30
Myat Zin Wai Maw
79598c0126 shop code 2019-12-10 15:18:48 +06:30
Myat Zin Wai Maw
b0f6368248 shop_code 2019-12-05 14:56:47 +06:30
Myat Zin Wai Maw
08f5689841 print 2019-12-04 13:33:13 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +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
d41d957688 fixed conflict after merge with dev 2019-11-28 16:47:12 +06:30
Nweni
a0b7557f06 fixed conflict after merge with dev branch for report query updated 2019-11-27 14:09:16 +06:30
Myat Zin Wai Maw
5dd4c6e7b6 shop code filter for all reports and transactions 2019-11-26 12:06:52 +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
NyanLinHtut
0d9e363648 add staff meal 2019-11-18 09:57:55 +06:30
NyanLinHtut
7c194f8438 fixed hourly sale report 2019-10-09 10:05:46 +06:30
NyanLinHtut
bca0ffc955 add coloum title alphabet in daily sale 2019-10-07 15:22:46 +06:30
NyanLinHtut
b88fded9a9 - 2019-10-04 18:07:17 +06:30
NyanLinHtut
a61c4a1932 add print at receipt no report 2019-10-02 09:24:30 +06:30
NyanLinHtut
26f537a42d fixed conflit 2019-09-11 13:30:45 +06:30
NyanLinHtut
90d0a4ebb1 fixed inventory 2019-09-11 13:26:01 +06:30
Myat Zin Wai Maw
284b451d4e fix conflict 2019-09-02 16:27:55 +06:30
Myat Zin Wai Maw
9b0e77674e update sale item xls 2019-09-02 16:22:09 +06:30
Myat Zin Wai Maw
f0be0d19a1 nothing 2019-08-30 14:03:48 +06:30
NyanLinHtut
e443c5431e hourly sale items report 2019-08-19 10:45:50 +06:30
NyanLinHtut
67793b282e Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-08-09 14:22:08 +06:30
Myat Zin Wai Maw
78af4188d1 sync to cloud 2019-08-14 16:05:41 +06:30
NyanLinHtut
5e344dc4a6 waste and spoil report 2019-08-09 14:21:24 +06:30
Zoey
79d8eb94ef kbzpay 2019-06-26 11:42:51 +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
55c9e0c578 fix conflict 2019-06-20 15:22:06 +06:30
Zoey
a0506f5a4e sync token lookup 2019-06-13 17:02:21 +06:30
Zoey
a01a3b7835 sync records 2019-06-13 14:51:25 +06:30
Zoey
0980923cc7 sync lookup type 2019-06-13 13:03:41 +06:30
Zoey
2a04fb4065 sync data records 2019-06-13 12:50:07 +06:30
Zoey
2a638b2a89 sync order 2019-06-12 18:21:39 +06:30
Zoey
e1bb948a3d sync data record 2019-06-12 18:03:31 +06:30
Myat Zin Wai Maw
98bbf419fe fix conflict 2019-06-12 11:30:53 +06:30
NyanLinHtut
3c89891f2f fixed shift sales print 2019-06-04 18:55:42 +06:30
Zoey
77103d0780 SaleItemsPdf updated 2019-06-04 09:39:30 +06:30
Zoey
b42e43417e SaleItemPdf update 2019-06-03 16:50:54 +06:30
Zoey
4b73920e18 total other amount added to SaleItemsPdf 2019-06-03 16:47:49 +06:30
NyanLinHtut
454ff6392b quick service add order btn 2019-06-03 15:03:30 +06:30