From ea38e25d871d69f555057224bb67b61c402b5d33 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Mon, 4 May 2009 16:48:53 +0200 Subject: [PATCH] (bug #3184) show the creator and the budget, received a shipment Content-Type: text/plain; charset="utf-8" this patch just show the creator and the budget id in the orderreceive page. --- acqui/orderreceive.pl | 5 +++++ .../prog/en/modules/acqui/orderreceive.tmpl | 2 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl index 02df0d3..4005d60 100755 --- a/acqui/orderreceive.pl +++ b/acqui/orderreceive.pl @@ -168,6 +168,9 @@ if ( $count == 1 ) { $results[0]->{'unitprice'} = ''; } # $results[0]->{'copyrightdate'} = format_date( $results[0]->{'copyrightdate'} ); # this usu fails. + # fill the name of the user who send the order + my $member = GetMember($results[0]->{'authorisedby'}); + $template->param( branchloop => \@branchloop, count => 1, @@ -194,6 +197,8 @@ if ( $count == 1 ) { rrp => $results[0]->{'rrp'}, ecost => $results[0]->{'ecost'}, unitprice => $results[0]->{'unitprice'}, + memberfirstname => $member->{firstname}, + membersurname => $member->{surname}, invoice => $invoice, datereceived => $datereceived->output(), datereceived_iso => $datereceived->output('iso'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl index 5247c3e..d8badb8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tmpl @@ -107,6 +107,8 @@ fieldset.rows .itemblock fieldset.action { padding:.5em; } Accounting details
  1. +
  2. +
  3. ,
  4. -- 1.6.0.4