Commit Graph

2507 Commits

Author SHA1 Message Date
yarzar_code
a7f9fc1199 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2020-06-11 16:49:31 +06:30
NyanLinHtut
f6a35d214f fixed payment methods & license 2020-06-10 18:12:15 +06:30
yarzar_code
62fb440850 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2020-06-08 15:48:13 +06:30
NyanLinHtut
f9db23b500 Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2020-06-08 10:14:17 +06:30
NyanLinHtut
98ca01533e change hardcoded payment methods 2020-06-08 10:13:55 +06:30
Zin Moe
67b4cf870e place expire warning in top 2020-06-08 09:53:48 +06:30
Zin Moe
5001d2f4ca Merge branch 'r-1902001-01' of gitlab.com:code2lab/SXRestaurant into r-1902001-01 2020-06-04 10:10:39 +06:30
Zin Moe
bd18958b96 license renew page 2020-06-04 10:10:04 +06:30
Thein Lin Kyaw
51932b8a86 other payments 2020-06-01 15:46:27 +06:30
Thein Lin Kyaw
4a3d429a53 dashboard sale revenue 2020-05-28 12:05:42 +06:30
NyanLinHtut
d8a99d2d76 fixed sub category at inventory 2020-03-04 16:11:34 +06:30
yarzar_code
7a09ed0108 Menu Item Groups 2020-01-30 11:57:28 +06:30
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