Commit Graph

1848 Commits

Author SHA1 Message Date
NyanLinHtut
d2cfe06f3a fixed redeem 2020-01-31 17:36:34 +06:30
NyanLinHtut
4e8049581e fixed redeem 2020-01-31 17:19:36 +06:30
NyanLinHtut
0e59105f5a Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2020-01-15 16:33:08 +06:30
NyanLinHtut
ab70ddb8aa fixed credit transactions 2020-01-15 16:26:55 +06:30
yarzar_code
44b568a5f4 Update shift credit with current_user 2020-01-10 15:05:36 +06:30
yarzar_code
7afb4cf0eb Update shift credit with current user 2020-01-10 15:05:02 +06:30
yarzar_code
2d57faf7cf Update Shift for credit payment 2020-01-10 11:31:59 +06:30
yarzar_code
51cc84d6e4 Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2020-01-10 11:28:06 +06:30
yarzar_code
f1c74f9789 Update shift for credit payment 2020-01-10 11:27:47 +06:30
NyanLinHtut
44d91024db fixed credit report 2020-01-10 10:41:42 +06:30
NyanLinHtut
b742dfa2a0 fixed accept credit with multi payment 2020-01-15 13:12:00 +06:30
yarzar_code
f7305fe58b Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2020-01-09 15:58:05 +06:30
yarzar_code
81474ec68a . 2020-01-09 15:57:56 +06:30
Thein Lin Kyaw
cf7d8c85d6 fix seed generator length 2020-01-07 13:06:29 +06:30
Thein Lin Kyaw
eb65271d35 fix payment amount mismatch 2020-01-07 10:46:45 +06:30
Thein Lin Kyaw
5e7e92edb8 hide change tax button after first bill 2020-01-03 13:25:32 +06:30
yarzar_code
0202bc7827 Changed raw SQL query to activerecord 2020-01-03 10:16:45 +06:30
Thein Lin Kyaw
2a856c3cc1 fix credit_sales 2019-12-30 17:29:50 +06:30
Thein Lin Kyaw
445ba53fc3 change credit sales select 2019-12-30 14:52:39 +06:30
NyanLinHtut
9ac6749efb fixed duplicate other payment 2019-12-27 19:45:40 +06:30
NyanLinHtut
054de3731e add audit for change tax 2019-12-24 11:14:04 +06:30
NyanLinHtut
180c61dc7a Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-12-23 14:51:53 +06:30
NyanLinHtut
358ff50934 daily & hourly report 2019-12-23 14:51:37 +06:30
Thein Lin Kyaw
7f1246c6db fix association error 2019-12-23 14:38:04 +06:30
NyanLinHtut
450c847da6 Merge branch 'r-1902001-01-dev' of gitlab.com:code2lab/SXRestaurant into r-1902001-01-dev 2019-12-23 09:48:20 +06:30
NyanLinHtut
c87a2e579b - 2019-12-23 09:48:11 +06:30
Thein Lin Kyaw
bd91738c3b fix api add orders 2019-12-20 16:54:13 +06:30
Thein Lin Kyaw
99c943a865 fix api addorder and foc payment status 2019-12-20 16:38:21 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +06:30
Thein Lin Kyaw
33afe167f7 fix seed generator 2019-12-20 15:27:54 +06:30
Thein Lin Kyaw
d87ffee65b update seed generator and remove hard-coded customer id 2019-12-20 10:35:31 +06:30
Thein Lin Kyaw
92e467d512 Fix bugs and improvements
fix payment outstanding with amount <= 0
fix payment outstanding with other payments
2019-12-18 15:41:18 +06:30
Thein Lin Kyaw
e6392c3bd4 update for addorder and printer 2019-12-17 15:02:58 +06:30
Thein Lin Kyaw
40ad724e77 update split bill 2019-12-16 11:20:15 +06:30
Thein Lin Kyaw
58117d0f48 update order and request bill 2019-12-11 17:56:39 +06:30
NyanLinHtut
26edf23b46 fixed autoremove tax when discount & precision at receipt no report 2019-12-11 11:34:23 +06:30
Thein Lin Kyaw
3a99e1bb09 update for order process
Add activereocrd-import gem for bulk insert
2019-12-09 10:33:19 +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
e3501cd43c fix stock check error 2019-11-29 14:49:36 +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
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
Thein Lin Kyaw
f2b4114ad5 change config for local server 2019-11-19 00:08:56 +06:30