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

(-)a/members/printfeercpt.pl (-1 / +16 lines)
Lines 56-61 output_and_exit_if_error( Link Here
56
);
56
);
57
57
58
my $letter = C4::Letters::GetPreparedLetter(
58
my $letter = C4::Letters::GetPreparedLetter(
59
    module                 => 'circulation',
60
    letter_code            => $credit->credit_type_code,
61
    branchcode             => C4::Context::mybranch,
62
    message_transport_type => 'print',
63
    lang                   => $patron->lang,
64
    tables                 => {
65
        credits   => $credit_id,
66
        borrowers => $patron->borrowernumber
67
    },
68
    substitute => {
69
        tendered => scalar $input->param('tendered'),
70
        change   => scalar $input->param('change')
71
    }
72
);
73
74
$letter //= C4::Letters::GetPreparedLetter(
59
    module                 => 'circulation',
75
    module                 => 'circulation',
60
    letter_code            => 'ACCOUNT_CREDIT',
76
    letter_code            => 'ACCOUNT_CREDIT',
61
    branchcode             => C4::Context::mybranch,
77
    branchcode             => C4::Context::mybranch,
62
- 

Return to bug 26689