View | Details | Raw Unified | Return to bug 12285
Collapse All | Expand All

(-)a/C4/Members.pm (-1 / +4 lines)
Lines 698-703 WHERE borrowernumber = 0 AND DATEDIFF( NOW(), timestamp ) > ?|; Link Here
698
sub FineSlip {
698
sub FineSlip {
699
    my ($borrowernumber, $branch) = @_;
699
    my ($borrowernumber, $branch) = @_;
700
700
701
    my $patron = Koha::Patrons->find( $borrowernumber );
702
    return unless $patron;
703
701
    my $lines = Koha::Account::Lines->search({ borrowernumber => $borrowernumber });
704
    my $lines = Koha::Account::Lines->search({ borrowernumber => $borrowernumber });
702
    my $total = $lines->total_outstanding;
705
    my $total = $lines->total_outstanding;
703
    my @issueslist;
706
    my @issueslist;
Lines 733-738 sub FineSlip { Link Here
733
        module => 'circulation',
736
        module => 'circulation',
734
        letter_code => 'FINESLIP',
737
        letter_code => 'FINESLIP',
735
        branchcode => $branch,
738
        branchcode => $branch,
739
        lang => $patron->lang,
736
        tables => {
740
        tables => {
737
            'branches'    => $branch,
741
            'branches'    => $branch,
738
            'borrowers'   => $borrowernumber,
742
            'borrowers'   => $borrowernumber,
739
- 

Return to bug 12285