check req bil

This commit is contained in:
phyusin
2018-08-08 09:48:21 +06:30
parent 5b1374b3ee
commit a0f81af75b
3 changed files with 22 additions and 20 deletions

View File

@@ -12,8 +12,8 @@ class SalePayment < ApplicationRecord
self.sale = invoice
self.received_amount = cash_amount
self.payment_reference = remark
puts action_by
puts "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
# puts action_by
# puts "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
self.action_by = action_by
#get all payment for this invoices
if payment_for