un-comment bookink.checkout_by in sale

This commit is contained in:
Yan
2017-12-07 16:37:59 +06:30
parent ed75030f57
commit b38b53026f

View File

@@ -115,7 +115,7 @@ class Sale < ApplicationRecord
booking.sale_id = self.id
booking.checkout_at = Time.now.utc.getlocal
# booking.checkout_by = requested_by.name
booking.checkout_by = requested_by.name
booking.save
InventoryJob.perform_now(self.id)