bankserv 0.6.9 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ module Bankserv
|
|
13
13
|
ref = trans.reference.gsub(service.config[:client_abbreviated_name], "")
|
14
14
|
|
15
15
|
credits = Bankserv::Credit.where(record_type: 'standard', action_date: trans.data[:transmission_date].to_date,
|
16
|
-
amount: trans.data[:amount].to_i).where('lower(user_ref) = ?', ref.downcase).select do |credit|
|
16
|
+
status: ['accepted', 'pending'], amount: trans.data[:amount].to_i).where('lower(user_ref) = ?', ref.downcase).select do |credit|
|
17
17
|
|
18
18
|
branch_code = if trans.data[:homing_branch_code] == "0" then "" else trans.data[:branch_code] end
|
19
19
|
|
data/lib/bankserv/version.rb
CHANGED