Myat Zin Wai Maw
08f5689841
print
2019-12-04 13:33:13 +06:30
Nweni
15361fe4e1
verfication controller
2019-12-03 18:22:38 +06:30
Nweni
bb698789e4
Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt
2019-12-03 17:50:53 +06:30
Nweni
3729c20d05
api_controller
2019-12-03 17:50:42 +06:30
Myat Zin Wai Maw
840f0f9c43
Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt
2019-12-03 17:49:21 +06:30
Myat Zin Wai Maw
fe56286c76
app order
2019-12-03 17:49:01 +06:30
Nweni
be8cf2c34e
api controller
2019-12-03 16:46:52 +06:30
Nweni
78838a7718
current shop
2019-12-03 14:54:53 +06:30
Nweni
23b5d0d344
foodcourt/customers
2019-12-03 14:20:09 +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
a59c662188
Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt
2019-12-02 18:02:50 +06:30
Myat Zin Wai Maw
600d3973cd
app order
2019-12-02 17:48:36 +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
Thein Lin Kyaw
18cb9ba23c
fix sub menu category error
2019-11-29 15:47:15 +06:30
Thein Lin Kyaw
0ef1b4fd87
fix request bill error with show_total_before_tax
2019-11-29 14:24:35 +06:30
Nweni
bf337495c1
dashboard
2019-11-29 12:08:41 +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
Myat Zin Wai Maw
09e7650452
order from app
2019-11-28 15:52:50 +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
98b74af6cf
Merge branch 'foodcourt' of https://gitlab.com/code2lab/SXRestaurant into foodcourt
2019-11-27 09:36:39 +06:30
Nweni
845d6662c9
Verify
2019-11-27 09:36:30 +06:30
Thein Lin Kyaw
47c12c6faa
dashboard check current_user for sales
2019-11-26 17:07:56 +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
Nweni
6fbf30c950
fixed conflict
2019-11-25 09:26:21 +06:30
Myat Zin Wai Maw
d1ab2c194d
shop code
2019-11-22 18:24:02 +06:30
Nweni
3b468b78f4
changes in verification
2019-11-22 18:03:41 +06:30
NyanLinHtut
a36e170d94
inventory for set items
2019-11-20 15:14:09 +06:30
Nweni
fd57d89799
order
2019-11-19 18:15:25 +06:30
Myat Zin Wai Maw
5a3f328789
test
2019-11-19 14:59:45 +06:30
Myat Zin Wai Maw
8b2da5e3da
-
2019-11-19 10:28:40 +06:30
Nweni
aad153a4ef
customer create
2019-11-19 09:16:55 +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
NyanLinHtut
8e462901ad
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-18 10:23:11 +06:30
Thein Lin Kyaw
a3e4cc8993
optimize for dashboards
2019-11-18 10:09:40 +06:30
NyanLinHtut
0d9e363648
add staff meal
2019-11-18 09:57:55 +06:30
Nweni
3253518aae
fixed conflict
2019-11-15 16:23:33 +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
NyanLinHtut
92dd2aeb5a
Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-13 13:34:29 +06:30