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