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

(-)a/members/maninvoice.pl (-2 / +1 lines)
Lines 78-84 if ($add){ Link Here
78
        my $amount=$input->param('amount');
78
        my $amount=$input->param('amount');
79
        my $type=$input->param('type');
79
        my $type=$input->param('type');
80
        my $note    = $input->param('note');
80
        my $note    = $input->param('note');
81
        my $error   = manualinvoice( $borrowernumber, $itemnum, $desc, $type, $amount, $note );
81
        my $error   = C4::Accounts::manualinvoice( $borrowernumber, $itemnum, $desc, $type, $amount, $note );
82
        if ($error) {
82
        if ($error) {
83
            if ( $error =~ /FOREIGN KEY/ && $error =~ /itemnumber/ ) {
83
            if ( $error =~ /FOREIGN KEY/ && $error =~ /itemnumber/ ) {
84
                $template->param( 'ITEMNUMBER' => 1 );
84
                $template->param( 'ITEMNUMBER' => 1 );
85
- 

Return to bug 22533