Bug 23442: (RM follow-up) Fix for missing 'uc' in offset_type call
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
ddb51a7f26
commit
83a9c309c8
|
|
@ -382,7 +382,7 @@ sub reduce {
|
|||
$reduction->apply(
|
||||
{
|
||||
debits => [$self],
|
||||
offset_type => $params->{reduction_type}
|
||||
offset_type => uc( $params->{reduction_type} )
|
||||
}
|
||||
);
|
||||
$reduction->status('APPLIED')->store();
|
||||
|
|
@ -394,7 +394,7 @@ sub reduce {
|
|||
{
|
||||
credit_id => $reduction->accountlines_id,
|
||||
debit_id => $self->accountlines_id,
|
||||
type => $params->{reduction_type},
|
||||
type => uc( $params->{reduction_type} ),
|
||||
amount => 0
|
||||
}
|
||||
)->store();
|
||||
|
|
|
|||
Loading…
Reference in New Issue