Lines 145-151
sub to_api_mapping {
Link Here
|
145 |
|
145 |
|
146 |
=head3 claim_returned |
146 |
=head3 claim_returned |
147 |
|
147 |
|
148 |
my $return_claim = $checkout->claim_returned(); |
148 |
my $return_claim = $checkout->claim_returned(); |
|
|
149 |
|
150 |
This method sets the checkout as claimed return. It will: |
151 |
|
152 |
1. Add a new row to the `return_claims` table |
153 |
2. Set the item as lost using the 'ClaimReturnedLostValue' |
154 |
3. Charge a fee depending on the value of ClaimReturnedChargeFee |
155 |
3a. If set to charge, then accruing overdues will be halted |
156 |
3b. If set to charge, then any existing transfers will be cancelled |
157 |
and the holding branch will be set back to 'frombranch'. |
158 |
4. The issue will be marked as returned as per the 'MarkLostItemsAsReturned' preference |
149 |
|
159 |
|
150 |
=cut |
160 |
=cut |
151 |
|
161 |
|
152 |
- |
|
|