Commit Graph

1357 Commits

Author SHA1 Message Date
Thein Lin Kyaw
2ee1fc2423 Merge branch 'r-1902001-01' into foodcourt 2020-07-11 04:00:55 +06:30
Thein Lin Kyaw
13fcb69dee member credit payment 2020-07-10 13:04:12 +06:30
yarzar_code
3d2d18a330 payment method changed in report 2020-07-09 14:46:18 +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
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
Thein Lin Kyaw
51932b8a86 other payments 2020-06-01 15:46:27 +06:30
Thein Lin Kyaw
7c2dd165fc Merge branch 'r-1902001-01' into foodcourt 2020-05-29 13:32:16 +06:30
NyanLinHtut
871403382e validate foodcourt origami cashier 2020-05-18 14:23:33 +06:30
Zin Moe
b8d66044cc out of stock in cashier page 2020-03-18 17:50:48 +06:30
Zin Moe
944838c739 hide left_sidebar and auto_scroll to item in add order table 2020-02-28 17:49:54 +06:30
Zin Moe
0868697b11 fix page scroll 2020-02-27 10:54:10 +06:30
Myat Zin Wai Maw
0582587f75 access code in foodcourt payment(void,waste&spoile,edit,change tax) 2020-02-05 12:09:04 +06:30
Zin Moe
bca6fabaaf fix cashier page height & breadcrumb helper 2020-01-27 16:30:58 +06:30
Zin Moe
397d99b942 add cashier change tax require manager access code 2020-01-15 17:41:12 +06:30
Zin Moe
f6ad197358 add cashier change tax require manager access code 2020-01-15 14:27:22 +06:30
yarzar_code
dff2c69627 Read NFC 2020-01-12 20:07:28 +06:30
NyanLinHtut
314cc507a3 merge with r-19 2020-01-11 11:08:33 +06:30
Thein Lin Kyaw
5e7e92edb8 hide change tax button after first bill 2020-01-03 13:25:32 +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
Myat Zin Wai Maw
949835ffdc Merge branch 'foodcourt' of gitlab.com:code2lab/SXRestaurant into foodcourt 2019-12-13 10:12:45 +06:30
Myat Zin Wai Maw
f45849de49 shop 2019-12-13 10:12:08 +06:30
NyanLinHtut
afe3c995ae fixed conflit 2019-12-13 10:09:25 +06:30
NyanLinHtut
c6c605bb01 add out of stock 2019-12-13 10:07:20 +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
Nweni
7afddcdf2b shop code 2019-12-04 10:49:46 +06:30
Thein Lin Kyaw
c8c39b0636 update origami/home/index 2019-12-03 16:15:48 +06:30
Nweni
78838a7718 current shop 2019-12-03 14:54:53 +06:30
Nweni
417d64ecae fixed conflict after merch dev for current shop 2019-12-02 19:30:24 +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
937f40e7c1 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 details: https://github.com/ErwinM/acts_as_tenant
2019-12-02 17:19:28 +06:30
Thein Lin Kyaw
18cb9ba23c fix sub menu category error 2019-11-29 15:47:15 +06:30
NyanLinHtut
3c5755a028 fixed set items in origami 2019-11-28 17:27:28 +06:30
Nweni
d41d957688 fixed conflict after merge with dev 2019-11-28 16:47:12 +06:30
Thein Lin Kyaw
2010b6a4bb update number_formattable. update dashboard query. 2019-11-28 14:13:00 +06:30
Nweni
a0b7557f06 fixed conflict after merge with dev branch for report query updated 2019-11-27 14:09: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
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +06:30
Myat Zin Wai Maw
8b2da5e3da - 2019-11-19 10:28:40 +06:30
Thein Lin Kyaw
a3e4cc8993 optimize for dashboards 2019-11-18 10:09:40 +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
Myat Zin Wai Maw
719d5637c2 button disabled 2019-09-12 11:03:25 +06:30
Myat Zin Wai Maw
4668c974fd nett 2019-09-11 18:17:16 +06:30