Commit Graph

144 Commits

Author SHA1 Message Date
Thein Lin Kyaw
bd65edcba3 update close cashier pdf 2020-08-24 16:07:25 +06:30
NyanLinHtut
d5323f603b fixed otherpayment & redeem 2020-06-22 09:56:49 +06:30
NyanLinHtut
f6a35d214f fixed payment methods & license 2020-06-10 18:12:15 +06:30
NyanLinHtut
98ca01533e change hardcoded payment methods 2020-06-08 10:13:55 +06:30
Myat Zin Wai Maw
08cc58682d receipt no detail 2020-01-15 14:15:11 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +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
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
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
NyanLinHtut
2e342d7859 fixed star printer setting 2019-06-03 10:59:16 +06:30
NyanLinHtut
bd55069c2d add star printer setting 2019-05-31 15:39:21 +06:30
NyanLinHtut
bc7af679fd Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2019-05-30 14:05:11 +06:30
NyanLinHtut
a3e8509ea5 fixed report print 2019-05-30 14:04:46 +06:30
Zoey
b45c639631 sale items pdf 2019-05-30 13:28:24 +06:30
code2lab
0fef2d5ba2 wt updated 2019-05-29 18:37:58 +06:30
Zoey
5a0b6df0e8 Sale Item Pdf added 2019-05-22 17:34:12 +06:30
Zoey
ae1779adf3 sale_items pdf 2019-05-22 13:51:55 +06:30
NyanLinHtut
647517b27c add close cashier print setting 2019-05-22 13:47:23 +06:30
phyusin
cd33da68fa update shift query for payment method 2018-11-20 10:02:39 +06:30
phyusin
19fa2ecf54 add credit note payment process for online order 2018-09-17 11:15:34 +06:30
phyusin
aeb729c8f4 change query for report 2018-08-30 17:45:51 +06:30