Bugzilla – Attachment 4221 Details for
Bug 6070
On a new order defined from suggestion some fields were missing.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-BZ6070-On-a-new-order-defined-from-suggestion-some-f.patch (text/plain), 4.78 KB, created by
Paul Poulain
on 2011-05-23 08:12:28 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-05-23 08:12:28 UTC
Size:
4.78 KB
patch
obsolete
>From 7aa55a83711d2fad211989e92ed8886402465187 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Mon, 23 May 2011 10:11:56 +0200 >Subject: [PATCH] BZ6070 On a new order defined from suggestion some fields were missing > >The missing fields : publicationyear, place, collectiontitle. >(MT4937) >--- > acqui/neworderempty.pl | 6 ++-- > .../prog/en/modules/acqui/neworderempty.tt | 29 ++++++++++++++++--- > 2 files changed, 27 insertions(+), 8 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 386dda7..15a29e1 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -98,7 +98,7 @@ my $title = $input->param('title'); > my $author = $input->param('author'); > my $publicationyear = $input->param('publicationyear'); > my $bookseller = GetBookSellerFromId($booksellerid); # FIXME: else ERROR! >-my $ordernumber = $input->param('ordernumber') || ''; >+my $ordernumber = $input->param('ordernumber') || ''; > my $biblionumber = $input->param('biblionumber'); > my $basketno = $input->param('basketno'); > my $suggestionid = $input->param('suggestionid'); >@@ -368,6 +368,7 @@ $template->param( > budget_loop => $budget_loop, > isbn => $data->{'isbn'}, > seriestitle => $data->{'seriestitle'}, >+ collectiontitle => $data->{'collectiontitle'}, > quantity => $data->{'quantity'}, > quantityrec => $data->{'quantity'}, > rrp => $data->{'rrp'}, >@@ -376,9 +377,8 @@ $template->param( > ecost => $data->{'ecost'}, > notes => $data->{'notes'}, > publishercode => $data->{'publishercode'}, >- >+ place => $data->{'place'}, > import_batch_id => $import_batch_id, >- > # CHECKME: gst-stuff needs verifing, mason. > gstrate => $bookseller->{'gstrate'} // C4::Context->preference("gist") // 0, > gstreg => $bookseller->{'gstreg'}, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >index d6c8459..72ca68d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt >@@ -215,19 +215,29 @@ $(document).ready(function() > </li> > <li> > [% IF ( biblionumber ) %] >- <span class="label">Publisher: </span> >+ <span class="label">Published by: </span> > <input type="hidden" size="50" name="publishercode" id="publishercode" value="[% publishercode %]" />[% publishercode %] > [% ELSE %] >- <label for="publishercode"> Publisher: </label> >+ <label for="publishercode"> Published by: </label> > <input type="text" size="50" name="publishercode" id="publishercode" value="[% publishercode %]" /> > [% END %] > </li> > <li> >- [% IF ( biblionumber ) %] >- <span class="label">Publication year: </span> >+ <span>[% IF ( biblionumber ) %] >+ <span class="label"> At: </span> >+ <input type="hidden" size="20" name="place" id="place" value="[% place %]" -->" />[% place %] >+ [% ELSE %] >+ <label for="place"> At: </label> >+ <input type="text" size="20" name="place" id="place" value="[% place %]" /> >+ [% END %] >+ </span> >+ </li> >+ <li> >+ <span> [% IF ( biblionumber ) %] >+ <span class="label"> On: </span> > <input type="hidden" size="10" name="publicationyear" id="publicationyear" value="[% publicationyear %]" />[% publicationyear %] > [% ELSE %] >- <label for="publicationyear">Publication year: </label> >+ <label for="publicationyear"> On: </label> > <input type="text" size="10" name="publicationyear" id="publicationyear" value="[% publicationyear %]" /> > [% END %] > </li> >@@ -249,6 +259,15 @@ $(document).ready(function() > <input type="text" size="50" name="series" id="series" value="[% seriestitle %]" /> > [% END %] > </li> >+ <li> >+ [% IF ( biblionumber ) %] >+ <span class="label">Collection: </span> >+ <input type="hidden" size="50" name="collectiontitle" id="collectiontitle" value="[% collectiontitle %]" />[% collectiontitle %] >+ [% ELSE %] >+ <label for="collectiontitle">collectiontitle: </label> >+ <input type="text" size="50" name="collectiontitle" id="collectiontitle" value="[% collectiontitle %]" /> >+ [% END %] >+ </li> > </ol> > </fieldset> > [% IF ( items ) %] >-- >1.7.4.1 >
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 6070
:
3707
|
3830
|
4221
|
4222
|
4239
|
4796
|
17493
|
27015