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

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

Return to bug 12285