Bug 5343: Followup: invoicenumber no longer exists, use invoiceid.

A previous patch replaces invoicenumber with invoiceid.

Signed-off-by: Leila Arkab <koha.aixmarseille@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Jonathan Druart 2013-03-20 13:44:25 +01:00 committed by Jared Camins-Esakov
parent bd83d05316
commit 5eceb4706b
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ $(document).ready(function() {
<td>[% budget_name_spent %]</td>
<td>
[% IF ( spent_exists ) %]
<a href="/cgi-bin/koha/acqui/invoice.pl?invoicenumber=[% invoicenumber %]">See invoice informations</a>
<a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">See invoice informations</a>
[% END %]
</td>
</tr>

View File

@ -144,7 +144,7 @@ if ( defined $subscriptionid ) {
$tmpl_infos->{valuegsti_spent} = sprintf( "%.2f", $tmpl_infos->{valuegsti_spent} );
$tmpl_infos->{valuegste_spent} = sprintf( "%.2f", $tmpl_infos->{valuegste_spent} );
$tmpl_infos->{budget_name_spent} = GetBudgetName $lastOrderReceived->{budget_id};
$tmpl_infos->{invoicenumber} = $lastOrderReceived->{booksellerinvoicenumber};
$tmpl_infos->{invoiceid} = $lastOrderReceived->{invoiceid};
$tmpl_infos->{spent_exists} = 1;
}
}