Bug 29684: (QA follow-up) paycollect.pl don't needs borrower_data at all
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
4f969c8be1
commit
36f80b99f8
|
|
@ -124,7 +124,7 @@
|
|||
<input type="hidden" name="amount" id="amount" value="[% amount | html %]" />
|
||||
<input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding | html %]" />
|
||||
<input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id | html %]" />
|
||||
<input type="hidden" name="title" id="title" value="[% borrower_data.title | html %]" />
|
||||
<input type="hidden" name="title" id="title" value="[% patron.title | html %]" />
|
||||
<input type="hidden" name="change_given" id="change_given" />
|
||||
|
||||
<fieldset class="rows">
|
||||
|
|
@ -203,7 +203,7 @@
|
|||
<input type="hidden" name="debit_type_code" id="debit_type_code" value="[% debit_type_code | html %]" />
|
||||
<input type="hidden" name="amount" id="amount" value="[% amount | html %]" />
|
||||
<input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id | html %]" />
|
||||
<input type="hidden" name="title" id="title" value="[% borrower_data.title | html %]" />
|
||||
<input type="hidden" name="title" id="title" value="[% patron.title | html %]" />
|
||||
<input type="hidden" name="payment_note" id="payment_note" value="[% payment_note | html %]" />
|
||||
<input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding | html %]" />
|
||||
<input type="hidden" name="confirm_writeoff" id="confirm_writeoff" value="1" />
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ my $logged_in_user = Koha::Patrons->find( $loggedinuser );
|
|||
my $patron = Koha::Patrons->find( $borrowernumber );
|
||||
output_and_exit_if_error( $input, $cookie, $template, { module => 'members', logged_in_user => $logged_in_user, current_patron => $patron } );
|
||||
|
||||
my $borrower = $patron->unblessed;
|
||||
my $account = $patron->account;
|
||||
my $category = $patron->category;
|
||||
my $user = $input->remote_user;
|
||||
|
|
@ -239,8 +238,6 @@ if ( $total_paid and $total_paid ne '0.00' ) {
|
|||
$total_paid = '0.00'; #TODO not right with pay_individual
|
||||
}
|
||||
|
||||
$template->param(borrower_data => $borrower);
|
||||
|
||||
if ( $input->param('error_over') ) {
|
||||
$template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue