Bugzilla – Attachment 3707 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), 6.35 KB, created by
Paul Poulain
on 2011-04-05 15:30:32 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2011-04-05 15:30:32 UTC
Size:
6.35 KB
patch
obsolete
>From a0ccd88874a260d411d44be87a515ec49306f7fa Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Tue, 5 Apr 2011 17:29:57 +0200 >Subject: [PATCH] BZ6070 On a new order defined from suggestion some fields were missing. > (MT4937) > The missing fields : publicationyear, place, collectiontitle. More the layout has been modified. > >--- > acqui/neworderempty.pl | 3 +- > .../prog/en/modules/acqui/neworderempty.tmpl | 26 ++++++++++++++----- > .../prog/en/modules/suggestion/suggestion.tmpl | 1 + > 3 files changed, 22 insertions(+), 8 deletions(-) > >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 5adffad..9c5d30b 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -372,6 +372,7 @@ $template->param( > isbn => $data->{'isbn'}, > seriestitle => $data->{'seriestitle'}, > itemtypeloop => \@itemtypes, >+ collectiontitle => $data->{'collectiontitle'}, > quantity => $data->{'quantity'}, > quantityrec => $data->{'quantity'}, > rrp => $data->{'rrp'}, >@@ -380,7 +381,7 @@ $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. >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >index 57a2f38..8c0f809 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl >@@ -213,21 +213,33 @@ $(document).ready(function() > </li> > <li> > <!-- TMPL_IF name="biblionumber" --> >- <span class="label">Publisher: </span> >+ <span class="label">Published by: </span> > <input type="hidden" size="50" name="publishercode" id="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->" /><!-- TMPL_VAR NAME="publishercode" --> > <!-- TMPL_ELSE --> >- <label for="publishercode"> Publisher: </label> >+ <label for="publishercode"> Published by: </label> > <input type="text" size="50" name="publishercode" id="publishercode" value="<!-- TMPL_VAR NAME="publishercode" -->" /> > <!-- /TMPL_IF --> > </li> > <li> >+ <span><!-- TMPL_IF name="biblionumber" --> >+ <span class="label"> At: </span> >+ <input type="hidden" size="20" name="place" id="place" value="<!-- TMPL_VAR NAME="place" -->" /><!-- TMPL_VAR NAME="place" --> >+ <!-- TMPL_ELSE --> >+ <label for="place"> At: </label> >+ <input type="text" size="20" name="place" id="place" value="<!-- TMPL_VAR NAME="place" -->" /> >+ <!-- /TMPL_IF --> >+ </span> >+ </li> >+ <li> >+ <span> > <!-- TMPL_IF name="biblionumber" --> >- <span class="label">Publication year: </span> >+ <span class="label"> On: </span> > <input type="hidden" size="10" name="publicationyear" id="publicationyear" value="<!-- TMPL_VAR NAME="publicationyear" -->" /><!-- TMPL_VAR NAME="publicationyear" --> > <!-- TMPL_ELSE --> >- <label for="publicationyear">Publication year: </label> >- <input type="text" size="10" name="publicationyear" id="publicationyear" value="<!-- TMPL_VAR NAME="publicationyear" -->" /> >+ <label for="publicationyear"> On: </label> >+ <input type="text" size="4" name="publicationyear" id="publicationyear" value="<!-- TMPL_VAR NAME="publicationyear" -->" /> > <!-- /TMPL_IF --> >+ </span> > </li> > <li> > <!-- TMPL_IF name="biblionumber" --> >@@ -241,10 +253,10 @@ $(document).ready(function() > <li> > <!-- TMPL_IF name="biblionumber" --> > <span class="label">Series: </span> >- <input type="hidden" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="seriestitle" -->" /><!-- TMPL_VAR NAME="seriestitle" --> >+ <input type="hidden" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="collectiontitle" -->" /><span class="title"><!-- TMPL_VAR NAME="collectiontitle" --></span> > <!-- TMPL_ELSE --> > <label for="series">Series: </label> >- <input type="text" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="seriestitle" -->" /> >+ <input type="text" size="50" name="series" id="series" value="<!-- TMPL_VAR NAME="collectiontitle" -->" /> > <!-- /TMPL_IF --> > </li> > </li> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl >index d085062..7611bac 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl >@@ -161,6 +161,7 @@ $(document).ready(function() { calcNewsuggTotal(); }); > <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="<!--TMPL_VAR Name="copyrightdate"-->" /></li> > <li><label for="isbn">ISBN or ISSN or other standard number:</label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="<!--TMPL_VAR Name="isbn"-->"/></li> > <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="<!--TMPL_VAR Name="publishercode"-->"/></li> >+ <li><label for="publicationyear"> Publication year:</label><input type="text" id="publicationyear" name="publicationyear" size="4" maxlength="80" value="<!-- TMPL_VAR name="publicationyear"-->" /></li> > <li><label for="place">Publication Place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="<!--TMPL_VAR Name="place"-->"/></li> > <li><label for="collectiontitle">Collection Title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="<!--TMPL_VAR Name="collectiontitle"-->"/></li> > <li><label for="itemtype">Document Type:</label> >-- >1.7.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