Commit Graph

2495 Commits

Author SHA1 Message Date
NyanLinHtut
8aa750712e Merge remote-tracking branch 'origin/r-1902001-01' into r-1902001-01-dev 2020-01-23 14:33:12 +06:30
Zin Moe
397d99b942 add cashier change tax require manager access code 2020-01-15 17:41:12 +06:30
NyanLinHtut
ab70ddb8aa fixed credit transactions 2020-01-15 16:26:55 +06:30
Myat Zin Wai Maw
08cc58682d receipt no detail 2020-01-15 14:15:11 +06:30
Thein Lin Kyaw
8b5478cf27 update receipt no detail report 2020-01-03 16:43:05 +06:30
yarzar_code
4cc138b115 Fixed Excel File 2020-01-03 14:37:03 +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
NyanLinHtut
23f922b5d1 fixed daily sale ui 2019-12-27 15:19:46 +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
Myat Zin Wai Maw
54109c5273 fix conflict 2019-12-20 14:17:23 +06:30
Myat Zin Wai Maw
e3207ed1d5 quick service tax 2019-12-20 14:12:57 +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
58117d0f48 update order and request bill 2019-12-11 17:56:39 +06:30
Thein Lin Kyaw
b0452030b0 fix menu attributes error 2019-12-10 16:34:58 +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
dc1f464b7f update api/resturant/menu 2019-12-04 15:49:03 +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
18cb9ba23c fix sub menu category error 2019-11-29 15:47:15 +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
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
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
336e32f1a6 fixed daliy sales report - payment method error 2019-11-20 09:44:49 +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
d94dde63fe fix report for receipt, daily sales and credit sales. 2019-11-15 17:12:50 +06:30
Thein Lin Kyaw
dd6e8142b4 optimize query for credit payment report 2019-11-14 18:25:48 +06:30
Nweni
9b798dc699 fixed conflict 2019-11-08 16:08:45 +06:30
Thein Lin Kyaw
1e2ff8b1be number with precision in receipt report excel. 2019-11-08 10:21:58 +06:30
Thein Lin Kyaw
834df19e03 use precision for rounding adj in receipt report. bug fixes for discount. 2019-11-08 09:58:52 +06:30
Thein Lin Kyaw
155cb0a9eb rounding decimal to print_settings precision 2019-11-06 17:34:42 +06:30
Min Zeya Phyo
83e7f22b13 menu form is_ordering and is_active to data type boolean 2019-10-29 14:15:43 +06:30
Myat Zin Wai Maw
0b40728b5b receipt report xls 2019-10-21 10:53:24 +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
971b1da98c fix date in sale tran 2019-10-03 09:48:01 +06:30
NyanLinHtut
a61c4a1932 add print at receipt no report 2019-10-02 09:24:30 +06:30
NyanLinHtut
ec9e4fb7eb add delimiter at report 2019-09-26 10:10:07 +06:30
NyanLinHtut
9d330bb28c fixed invetory 2019-09-25 11:54:54 +06:30
NyanLinHtut
f4482aa9af fixed conflit 2019-09-13 21:15:01 +06:30
NyanLinHtut
4808947fcd fixed inventory 2019-09-13 21:13:04 +06:30
Myat Zin Wai Maw
b2ab2c9632 add account name in saleitem xls 2019-09-12 19:29:04 +06:30
Myat Zin Wai Maw
719d5637c2 button disabled 2019-09-12 11:03:25 +06:30