Commit Graph

524 Commits

Author SHA1 Message Date
Myat Zin Wai Maw
fae91f701b tax 2020-01-22 14:26:14 +06:30
Myat Zin Wai Maw
676251a12c tax profiles 2020-01-16 10:05:45 +06:30
Myat Zin Wai Maw
bad510c6b4 - 2020-01-15 12:19:27 +06:30
yarzar_code
48e6afa505 Fixed conflict 2020-01-14 14:25:55 +06:30
yarzar_code
4c69c1d5d2 Print close cashier 2020-01-14 14:21:46 +06:30
Myat Zin Wai Maw
60af9124bb fix 2020-01-14 13:31:54 +06:30
Zin Moe
270c2a821e delete shop scope in model 2020-01-13 18:41:37 +06:30
Zin Moe
66c375cc38 clean shop code 2020-01-13 16:23:33 +06:30
Myat Zin Wai Maw
d794e023b8 payment 2020-01-13 15:08:04 +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
Myat Zin Wai Maw
45326750db search account no,security code check,find order,payment create 2020-01-11 10:37:09 +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
Myat Zin Wai Maw
8af99742a3 bill and tax 2019-12-17 15:06:37 +06:30
Myat Zin Wai Maw
f45849de49 shop 2019-12-13 10:12:08 +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
Myat Zin Wai Maw
5b3a62917d void 2019-12-09 17:27:38 +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
8b5d28524e shop code 2019-12-04 13:57:26 +06:30
Nweni
7afddcdf2b shop code 2019-12-04 10:49:46 +06:30
Nweni
ca92a07919 shop code missing 2019-12-03 20:19:42 +06:30
Thein Lin Kyaw
c8c39b0636 update origami/home/index 2019-12-03 16:15:48 +06:30
Nweni
e0b912bfa0 current shop 2019-12-03 13:43:26 +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
Nweni
de73bf9f7d fixed conflict 2019-12-02 17:43:02 +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
Myat Zin Wai Maw
cac6994ccb separate foodcourt module 2019-12-02 16:10:51 +06:30
Thein Lin Kyaw
5d10d4b6a1 fix origami dashboard 2019-11-29 17:47:16 +06:30
Nweni
3a85f1e319 current shop changes 2019-11-28 18:33:56 +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
f13e05f849 Added shop code 2019-11-27 15:51:06 +06:30
Nweni
a0b7557f06 fixed conflict after merge with dev branch for report query updated 2019-11-27 14:09:16 +06:30
Myat Zin Wai Maw
5dd4c6e7b6 shop code filter for all reports and transactions 2019-11-26 12:06:52 +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
Myat Zin Wai Maw
d1ab2c194d shop code 2019-11-22 18:24:02 +06:30
NyanLinHtut
a36e170d94 inventory for set items 2019-11-20 15:14:09 +06:30
Myat Zin Wai Maw
5a3f328789 test 2019-11-19 14:59:45 +06:30