Commit Graph

509 Commits

Author SHA1 Message Date
yarzar_code
7aef3d7bac daily sale net sales & tax 2020-08-12 14:34:53 +06:30
NyanLinHtut
eed465eab1 fixed report gift-voucher paymentmethod 2020-07-29 18:22:53 +06:30
Thein Lin Kyaw
d2504d8433 fix receipt detail report query 2020-07-21 13:00:57 +06:30
Thein Lin Kyaw
afcb3158fc fix receipt no detail report 2020-07-21 12:43:27 +06:30
Thein Lin Kyaw
567a716fe3 remove member_discount method from sale 2020-07-21 11:38:54 +06:30
Thein Lin Kyaw
ced6a09095 customer name filter 2020-07-19 19:31:14 +06:30
Thein Lin Kyaw
ca51f2a9f9 fix daily sale creditnote 2020-07-09 10:56:08 +06:30
NyanLinHtut
2835797ec5 fixed daily sales query for empty data 2020-06-24 16:14:50 +06:30
NyanLinHtut
ce1c2371f9 fixed sales query for empty data 2020-06-24 15:26:35 +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
Thein Lin Kyaw
115ed3c06b fix rounding adjustment 2020-05-17 13:55:38 +06:30
Thein Lin Kyaw
d60853e9e5 fix shift sale balance 2020-04-29 14:15:41 +06:30
Myat Zin Wai Maw
eb9b4a9ec0 credit 2020-04-22 18:41:10 +06:30
yarzar_code
5f93048a15 FOC fixed 2020-03-25 14:24:43 +06:30
NyanLinHtut
ab70ddb8aa fixed credit transactions 2020-01-15 16:26:55 +06:30
NyanLinHtut
44d91024db fixed credit report 2020-01-10 10:41:42 +06:30
Thein Lin Kyaw
eb65271d35 fix payment amount mismatch 2020-01-07 10:46:45 +06:30
yarzar_code
0202bc7827 Changed raw SQL query to activerecord 2020-01-03 10:16:45 +06:30
NyanLinHtut
358ff50934 daily & hourly report 2019-12-23 14:51:37 +06:30
NyanLinHtut
c87a2e579b - 2019-12-23 09:48:11 +06:30
NyanLinHtut
10c1ba12af - 2019-12-20 15:48:38 +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
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
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
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
74e29f7c39 remove def total_account from sale 2019-11-18 14:00:52 +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
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
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
NyanLinHtut
216dfe4f2f add loader service api 2019-11-13 13:34:11 +06:30
Thein Lin Kyaw
8046b7210b request bill error on promotion. fix for compute sale's totals on promotion. 2019-11-08 20:35:26 +06:30