has_accounts 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/has_accounts/model.rb +1 -4
- data/lib/has_accounts/model.rb~ +1 -2
- metadata +2 -2
data/lib/has_accounts/model.rb
CHANGED
@@ -40,10 +40,7 @@ module HasAccounts
|
|
40
40
|
booking_template = BookingTemplate.find_by_code(template_code)
|
41
41
|
|
42
42
|
# Prepare booking parameters
|
43
|
-
booking_params = {
|
44
|
-
:value_date => value_date,
|
45
|
-
:reference => self
|
46
|
-
}
|
43
|
+
booking_params = {:reference => self}
|
47
44
|
booking_params.merge!(params)
|
48
45
|
|
49
46
|
# Build and assign booking
|
data/lib/has_accounts/model.rb~
CHANGED