Bugzilla – Attachment 1151 Details for
Bug 3184
Show creator and budget receiving a document
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bugfix for 3.0.x
0001--bug-3184-show-the-creator-and-the-budget-receive.patch (text/plain), 2.72 KB, created by
Chris Cormack
on 2009-05-04 14:52:00 UTC
(
hide
)
Description:
bugfix for 3.0.x
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2009-05-04 14:52:00 UTC
Size:
2.72 KB
patch
obsolete
>From ea38e25d871d69f555057224bb67b61c402b5d33 Mon Sep 17 00:00:00 2001 >From: Nahuel ANGELINETTI <nahuel.angelinetti@biblibre.com> >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; } > <legend>Accounting details</legend> > <ol> > <li><label for="datereceived">Date received: </label><span class="label"> <!-- TMPL_VAR NAME="datereceived" --> </span></li> >+ <li><label for="bookfund">Budget: </label><span class="label"> <!-- TMPL_VAR NAME="bookfund" --> </span></li> >+ <li><label for="creator">Created by: </label><span> <!-- TMPL_VAR NAME="membersurname" --><!-- TMPL_IF NAME="memberfirstname" -->, <!-- TMPL_VAR NAME="memberfirstname" --><!-- .TMPL_IF --> </span></li> > <li><label for="quantity">Quantity ordered: </label><span class="label"> <!-- TMPL_VAR NAME="quantity" --> </span></li> > <li><label for="quantityrec">Quantity received: </label> > <!-- TMPL_IF NAME="quantityreceived" --> >-- >1.6.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 3184
:
1151
|
1152
|
5020
|
6089
|
6091
|
6095
|
6438
|
6763