|
Lines 2668-2673
subtest 'AddReturn | is_overdue' => sub {
Link Here
|
| 2668 |
Koha::Account::Lines->search( |
2668 |
Koha::Account::Lines->search( |
| 2669 |
{ borrowernumber => $patron->borrowernumber } )->delete; |
2669 |
{ borrowernumber => $patron->borrowernumber } )->delete; |
| 2670 |
}; |
2670 |
}; |
|
|
2671 |
|
| 2672 |
subtest 'enh 23091 | Lost item return policies' => sub { |
| 2673 |
plan tests => 1; |
| 2674 |
|
| 2675 |
# Do nothing |
| 2676 |
# |
| 2677 |
# Refund fee |
| 2678 |
## Without fee |
| 2679 |
## With fee |
| 2680 |
# |
| 2681 |
# Refund fee and restore fine |
| 2682 |
## Without fee |
| 2683 |
### Without fine |
| 2684 |
### With fine (forgiven) |
| 2685 |
### With fine (unforgiven) |
| 2686 |
## With fee |
| 2687 |
### Without fine |
| 2688 |
### With fine (forgiven) |
| 2689 |
### With fine (unforgiven) |
| 2690 |
# |
| 2691 |
# Refund fee and charge new fine |
| 2692 |
## Without fee |
| 2693 |
### Without fine |
| 2694 |
### With fine (forgiven) |
| 2695 |
### With fine (unforgiven) |
| 2696 |
## With fee |
| 2697 |
### Without fine |
| 2698 |
### With fine (forgiven) |
| 2699 |
### With fine (unforgiven) |
| 2700 |
### Backdated return |
| 2701 |
}; |
| 2671 |
}; |
2702 |
}; |
| 2672 |
|
2703 |
|
| 2673 |
subtest '_RestoreOverdueForLostAndFound' => sub { |
2704 |
subtest '_RestoreOverdueForLostAndFound' => sub { |
| 2674 |
- |
|
|