Thein Lin Kyaw
37380f6bfb
Fix json rendering error
2019-12-03 19:37:59 +06:30
Thein Lin Kyaw
c8c39b0636
update origami/home/index
2019-12-03 16:15:48 +06:30
Thein Lin Kyaw
108415ed3f
update dine-in pay bill
2019-12-03 10:02:49 +06:30
Thein Lin Kyaw
1607cb70d3
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 detail: https://github.com/ErwinM/acts_as_tenant
2019-12-02 18:02:39 +06:30
Thein Lin Kyaw
5d10d4b6a1
fix origami dashboard
2019-11-29 17:47:16 +06:30
Thein Lin Kyaw
18cb9ba23c
fix sub menu category error
2019-11-29 15:47:15 +06:30
Thein Lin Kyaw
e3501cd43c
fix stock check error
2019-11-29 14:49:36 +06:30
Thein Lin Kyaw
b2508ac20a
fix bugs and update code
...
Merge branch 'r-1902001-01-dev' into r-1902001-01
2019-11-29 14:36:57 +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
NyanLinHtut
3c5755a028
fixed set items in origami
2019-11-28 17:27:28 +06:30
Nweni
f035c2fe10
fixed conflict
2019-11-28 14:19:37 +06:30
Thein Lin Kyaw
2010b6a4bb
update number_formattable. update dashboard query.
2019-11-28 14:13:00 +06:30
Thein Lin Kyaw
47c12c6faa
dashboard check current_user for sales
2019-11-26 17:07:56 +06:30
Thein Lin Kyaw
2892dcfe4c
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-26 01:07:16 +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
ecd1bb7931
fixed service charges & commercial tax
2019-11-25 16:24:04 +06:30
NyanLinHtut
ba340292ab
fixed no tax
2019-11-25 13:13:31 +06:30
NyanLinHtut
a36e170d94
inventory for set items
2019-11-20 15:14:09 +06:30
Nweni
b45c376ebc
fixed conflict
2019-11-20 09:45:55 +06:30
Nweni
336e32f1a6
fixed daliy sales report - payment method error
2019-11-20 09:44:49 +06:30
Aung Ye Kyaw
0ed10a0c64
Update Gemfile for Ruby version 2.4.1
2019-11-19 11:53:02 +00:00
Nweni
2b5105672a
gem file
2019-11-19 09:33:54 +06:30
Nweni
18425b8036
Merge branch 'r-1902001-01' of https://gitlab.com/code2lab/SXRestaurant into r-1902001-01
2019-11-19 09:17:17 +06:30
Thein Lin Kyaw
f2b4114ad5
change config for local server
2019-11-19 00:08:56 +06:30
NyanLinHtut
b87563fb4b
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-18 15:48:50 +06:30
NyanLinHtut
8638a53f12
fixed foc
2019-11-18 15:48:35 +06:30
Thein Lin Kyaw
74e29f7c39
remove def total_account from sale
2019-11-18 14:00:52 +06:30
Nweni
55f489cabb
gem
2019-11-18 13:10:32 +06:30
Thein Lin Kyaw
5702819b8b
fix dashboard error for cashier
2019-11-18 11:16:14 +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
NyanLinHtut
77d0e0a56c
add readme
2019-11-18 10:22:54 +06:30
Thein Lin Kyaw
8adac56959
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-18 10:10:35 +06:30
Thein Lin Kyaw
a3e4cc8993
optimize for dashboards
2019-11-18 10:09:40 +06:30
NyanLinHtut
07123a25f2
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-18 09:58:26 +06:30
NyanLinHtut
0d9e363648
add staff meal
2019-11-18 09:57:55 +06:30
Thein Lin Kyaw
d94dde63fe
fix report for receipt, daily sales and credit sales.
2019-11-15 17:12:50 +06:30
git_code2lab
acb101a7f1
fixed conflict
2019-11-15 14:26:37 +06:30
git_code2lab
6bfaea9f34
fixed conflict
2019-11-15 14:24:54 +06:30
Nweni
af2d69c0b5
gem
2019-11-15 14:20:59 +06:30
git_code2lab
213644d8ef
commit from production server
2019-11-15 14:17:50 +06:30
Nweni
cc8cf0a48c
fixed conflict
2019-11-15 14:11:39 +06:30
Nweni
b1ff773ac7
fixed conflict/
2019-11-15 13:54:28 +06:30
Nweni
6bb545d382
gem
2019-11-15 13:53:31 +06:30
Nweni
99b3606c2d
dump
2019-11-15 09:50:23 +06:30
Thein Lin Kyaw
dd6e8142b4
optimize query for credit payment report
2019-11-14 18:25:48 +06:30
Thein Lin Kyaw
8ebeff9477
Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev
2019-11-13 15:44:28 +06:30
Thein Lin Kyaw
36b61a9d51
optmize daily sales report
2019-11-13 15:43:56 +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