Bugzilla – Attachment 144679 Details for
Bug 20473
"Item information" tab should not appear if item is not created upon placing an order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20473: Whitespace
Bug-20473-Whitespace.patch (text/plain), 12.57 KB, created by
Nick Clemens (kidclamp)
on 2022-12-16 14:00:20 UTC
(
hide
)
Description:
Bug 20473: Whitespace
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-12-16 14:00:20 UTC
Size:
12.57 KB
patch
obsolete
>From 0655869164f52c902cce3904e3af8a9d014deb76 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 16 Dec 2022 13:14:51 +0000 >Subject: [PATCH] Bug 20473: Whitespace > >--- > .../prog/en/modules/acqui/addorderiso2709.tt | 102 +++++++++--------- > 1 file changed, 51 insertions(+), 51 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index 2e82165802..1337f402b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -371,60 +371,60 @@ > </div> <!-- /#records_to_import --> > > [% IF ( items ) %] >- <div id="items_info" role="tabpanel" class="tab-pane"> >- <h2>Item information</h2> >- <p>Import all the checked items in the basket with the following parameters:</p> >+ <div id="items_info" role="tabpanel" class="tab-pane"> >+ <h2>Item information</h2> >+ <p>Import all the checked items in the basket with the following parameters:</p> > >- <fieldset class="rows" style="float:none;"> >- <legend>Item</legend> >- [% IF ( NoACQframework ) %] >- <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div> >- [% END %] >- <div class="item_edit_form"> >- [% FOREACH item IN items %] >- <div id="outeritemblock"> >- <div id="itemblock"> >- <ol> >- [% FOREACH iteminformatio IN item.iteminformation %] >- <li style="[% iteminformatio.hidden | html %];"> >- <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]"> >- [% IF (iteminformatio.mandatory) %] >- <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> >- [% ELSE %] >- <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> >- [% END %] >+ <fieldset class="rows" style="float:none;"> >+ <legend>Item</legend> >+ [% IF ( NoACQframework ) %] >+ <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div> >+ [% END %] >+ <div class="item_edit_form"> >+ [% FOREACH item IN items %] >+ <div id="outeritemblock"> >+ <div id="itemblock"> >+ <ol> >+ [% FOREACH iteminformatio IN item.iteminformation %] >+ <li style="[% iteminformatio.hidden | html %];"> >+ <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]"> >+ [% IF (iteminformatio.mandatory) %] >+ <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> >+ [% ELSE %] >+ <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label> >+ [% END %] > >- [% IF ( iteminformatio.marc_value.type == 'select' ) %] >- <select name="field_value" class="input_marceditor"> >- [% FOREACH value IN iteminformatio.marc_value.values %] >- [% IF ( value == iteminformatio.marc_value.default ) %] >- <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option> >- [% ELSE %] >- <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option> >+ [% IF ( iteminformatio.marc_value.type == 'select' ) %] >+ <select name="field_value" class="input_marceditor"> >+ [% FOREACH value IN iteminformatio.marc_value.values %] >+ [% IF ( value == iteminformatio.marc_value.default ) %] >+ <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option> >+ [% ELSE %] >+ <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option> >+ [% END %] > [% END %] >- [% END %] >- </select> >- [% ELSE %] >- [% iteminformatio.marc_value | $raw %] >- [% END %] >- <input type="hidden" name="itemid" value="1" /> >- <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" /> >- <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" /> >- <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" /> >- <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" /> >- [% IF ( iteminformatio.mandatory ) %] >- <span class="required">Required</span> >- [% END %] >- </div> >- </li> >- [% END %] >- </ol> >- </div><!-- /#itemblock --> >- </div> <!-- /#outeritemblock --> >- [% END #/FOREACH item %] >- </div> <!-- /.item_edit_form --> >- </fieldset> >- </div> <!-- /#items_info --> >+ </select> >+ [% ELSE %] >+ [% iteminformatio.marc_value | $raw %] >+ [% END %] >+ <input type="hidden" name="itemid" value="1" /> >+ <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" /> >+ <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" /> >+ <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" /> >+ <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" /> >+ [% IF ( iteminformatio.mandatory ) %] >+ <span class="required">Required</span> >+ [% END %] >+ </div> >+ </li> >+ [% END %] >+ </ol> >+ </div><!-- /#itemblock --> >+ </div> <!-- /#outeritemblock --> >+ [% END #/FOREACH item %] >+ </div> <!-- /.item_edit_form --> >+ </fieldset> >+ </div> <!-- /#items_info --> > [% END # /IF items %] > > <div id="accounting_details" role="tabpanel" class="tab-pane"> >-- >2.30.2
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 20473
:
144676
|
144677
|
144678
|
144679
|
144729
|
144730
|
145824
|
145825