Commit Graph

87 Commits

Author SHA1 Message Date
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
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
33670b450e prevent order append to previous sale 2019-10-07 10:43:43 +06:30
Thein Lin Kyaw
327a6e17bf fix first bill amount less than actual sales 2019-09-27 20:35:05 +06:30
Zoey
b7368314c5 print receipt bill 2019-07-03 13:49:54 +06:30
Myat Zin Wai Maw
c06f0aade8 sx cash payment api 2019-06-20 15:00:39 +06:30
Myat Zin Wai Maw
f7213b1213 calculate induties in bill 2019-06-19 17:12:44 +06:30
phyusin
b750547066 change future checkin time flow 2018-11-28 10:54:37 +06:30
phyusin
11b4bdc804 api for cashier app 2018-10-12 15:18:23 +06:30
phyusin
03fd7c79b8 food court and Booking ID for order and receipt 2018-10-08 17:41:22 +06:30
phyusin
f4b85ad4cc add req bill and payment #left order and sale 2018-09-24 10:29:08 +06:30
San Wai Lwin
61e4b930c8 edit in check time 2018-08-14 15:22:49 +06:30
San Wai Lwin
671aa155cd Edit for checkin pdf 2018-08-13 14:37:41 +06:30
phyusin
a0f81af75b check req bil 2018-08-08 09:48:21 +06:30
San Wai Lwin
e9b26f1684 Edit in bill and request bill controller 2018-08-07 14:41:18 +06:30
Aung Myo
7945da99ed update sale audit all process in origami 2018-07-12 13:10:11 +06:30
phyusin
86916fb7e7 check induties process 2018-06-26 18:22:53 +06:30
San Wai Lwin
555ff6e684 Delect Lookup for check in out 2018-06-19 10:48:56 +06:30
San Wai Lwin
25a8381681 Add Check in out pdf 2018-06-18 16:05:54 +06:30
Yan
0d2f609b07 ac test 2018-05-18 14:38:31 +06:30
Aung Myo
9b0a564b9a update cable for cloud 2018-04-25 13:18:54 +06:30
Aung Myo
6e3a5300a6 close cable in cloud mode 2018-04-23 15:39:56 +06:30
Aung Myo
0e5269c66f update request bill msg box error 2018-04-10 17:29:02 +06:30
phyusin
2e81de1ea7 bill channel for request bill and creditnote payment duoble amt 2018-04-04 16:37:10 +06:30
Aung Myo
2a88bd4409 updae session error 2018-03-23 18:02:41 +06:30
phyusin
a9c8eb4e93 check tax profile 2018-03-19 11:35:43 +06:30
phyusin
0edc92d066 Merge branch 'adminbsb_ui_changes' of bitbucket.org:code2lab/sxrestaurant 2018-03-14 09:16:14 +06:30
Aung Myo
44389d485a update request bill reload in quick service 2018-03-13 17:38:25 +06:30
phyusin
bd06e80b37 remove conflict data 2018-03-05 16:24:45 +06:30
San Wai Lwin
07c3bcd7a7 Change Dashboard, Account in login, Shop name, Reference no for other charges 2018-02-28 15:31:55 +06:30
Aung Myo
f4f5915532 update waiter view add order 2018-02-26 09:19:14 +06:30
Aung Myo
4ebe353182 update conflix for request bill 2018-02-20 16:24:06 +06:30
Aung Myo
98c4737a2a fixed minor issuse 2018-02-20 16:09:11 +06:30
Aung Myo
8f239cbb0b update conflix for request bill 2018-02-20 13:32:27 +06:30
Aung Myo
a5640877a3 update request bill 2018-02-20 11:59:57 +06:30
Aung Myo
31adc0e993 update request bill for another role in request_bill_con and sale.rb 2018-02-20 11:13:49 +06:30
Aung Myo
6d7da7f997 update request bill controller 2018-02-20 11:07:00 +06:30
Aung Myo
a2d0aee1ab update applicaton contro and request bill 2018-02-20 09:37:30 +06:30
San Wai Lwin
3f247f731e Shop name in navbar,linke to shop info 2018-02-05 18:11:45 +06:30
Yan
25fef8e61c check req bill cntrl 2017-11-16 21:12:16 +06:30
yamin
1aea52619a UI change 2017-10-23 11:38:10 +06:30
Yan
5ba3a69c3f Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into staging 2017-10-11 10:03:30 +06:30
Yan
8933dde41d add promotion activation in cashier req bill 2017-10-10 15:53:08 +06:30
Aung Myo
444b270dd1 update ui design 2017-09-29 13:42:41 +06:30
Yan
23faf65af6 add shift id after req bill 2017-08-01 18:41:53 +06:30
Yan
c73cfa4c2d control to req bill and discount ui update 2017-07-08 23:29:31 +06:30
Nweni
e3c2f02c81 fixed conflict 2017-06-29 13:39:37 +06:30
Nweni
618a89472a shift open/close 2017-06-29 13:35:09 +06:30
Yan
9991970203 add first bill 2017-06-29 11:34:13 +06:30