From 5eceb4706ba8ea16bf655a5e9a24ecfc5f90e2c2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 20 Mar 2013 13:44:25 +0100 Subject: [PATCH] Bug 5343: Followup: invoicenumber no longer exists, use invoiceid. A previous patch replaces invoicenumber with invoiceid. Signed-off-by: Leila Arkab Signed-off-by: Katrin Fischer Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/serials/subscription-detail.tt | 2 +- serials/subscription-detail.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 80f74e7c23..78ba12d4da 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -150,7 +150,7 @@ $(document).ready(function() { [% budget_name_spent %] [% IF ( spent_exists ) %] - See invoice informations + See invoice informations [% END %] diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 808a3faa49..8a829ed0af 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -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; } } -- 2.39.5