Lines 2488-2493
subtest 'AddReturn | is_overdue' => sub {
Link Here
|
2488 |
# Cleanup |
2488 |
# Cleanup |
2489 |
Koha::Account::Lines->search({ borrowernumber => $patron->borrowernumber })->delete; |
2489 |
Koha::Account::Lines->search({ borrowernumber => $patron->borrowernumber })->delete; |
2490 |
}; |
2490 |
}; |
|
|
2491 |
|
2492 |
subtest 'enh 23091 | Lost item return policies' => sub { |
2493 |
plan tests => 1; |
2494 |
|
2495 |
# Do nothing |
2496 |
# |
2497 |
# Refund fee |
2498 |
## Without fee |
2499 |
## With fee |
2500 |
# |
2501 |
# Refund fee and restore fine |
2502 |
## Without fee |
2503 |
### Without fine |
2504 |
### With fine (forgiven) |
2505 |
### With fine (unforgiven) |
2506 |
## With fee |
2507 |
### Without fine |
2508 |
### With fine (forgiven) |
2509 |
### With fine (unforgiven) |
2510 |
# |
2511 |
# Refund fee and charge new fine |
2512 |
## Without fee |
2513 |
### Without fine |
2514 |
### With fine (forgiven) |
2515 |
### With fine (unforgiven) |
2516 |
## With fee |
2517 |
### Without fine |
2518 |
### With fine (forgiven) |
2519 |
### With fine (unforgiven) |
2520 |
### Backdated return |
2521 |
}; |
2491 |
}; |
2522 |
}; |
2492 |
|
2523 |
|
2493 |
subtest '_FixAccountForLostAndFound' => sub { |
2524 |
subtest '_FixAccountForLostAndFound' => sub { |
2494 |
- |
|
|