Lines 136-141
sub _choose_branch {
Link Here
|
136 |
return $branch; |
136 |
return $branch; |
137 |
} |
137 |
} |
138 |
|
138 |
|
|
|
139 |
=head3 Koha::RefundLostItemFeeRules->find(); |
140 |
|
141 |
Inherit from Koha::Objects->find(), but forces rule_name => 'refund' |
142 |
|
143 |
=cut |
144 |
|
145 |
sub find { |
146 |
my ( $self, @pars ) = @_; |
147 |
|
148 |
$pars[0]->{rule_name} = 'refund'; |
149 |
|
150 |
return $self->SUPER::find(@pars); |
151 |
} |
152 |
|
139 |
=head3 _default_rule (internal) |
153 |
=head3 _default_rule (internal) |
140 |
|
154 |
|
141 |
This function returns the default rule defined for refunding lost |
155 |
This function returns the default rule defined for refunding lost |