View | Details | Raw Unified | Return to bug 6066
Collapse All | Expand All

(-)a/acqui/addorder.pl (+1 lines)
Lines 204-209 if ( $orderinfo->{quantity} ne '0' ) { Link Here
204
                "biblioitems.publishercode"   => $$orderinfo{publishercode}   ? $$orderinfo{publishercode} : "",
204
                "biblioitems.publishercode"   => $$orderinfo{publishercode}   ? $$orderinfo{publishercode} : "",
205
                "biblioitems.publicationyear" => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
205
                "biblioitems.publicationyear" => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
206
                "biblio.copyrightdate"        => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
206
                "biblio.copyrightdate"        => $$orderinfo{publicationyear} ? $$orderinfo{publicationyear}: "",
207
                "biblioitems.itemtype"        => $$orderinfo{itemtype} ? $$orderinfo{itemtype} : "",
207
            });
208
            });
208
209
209
        # create the record in catalogue, with framework ''
210
        # create the record in catalogue, with framework ''
(-)a/acqui/neworderempty.pl (+4 lines)
Lines 324-329 if (C4::Context->preference('AcqCreateItem') eq 'ordering' && !$ordernumber) { Link Here
324
    
324
    
325
    $template->param(items => \@itemloop);
325
    $template->param(items => \@itemloop);
326
}
326
}
327
# Get the item types list, but only if item_level_itype is YES. Otherwise, it will be in the item, no need to display it in the biblio
328
my @itemtypes = C4::ItemType->all unless C4::Context->preference('item-level_itypes');
329
327
330
328
# fill template
331
# fill template
329
$template->param(
332
$template->param(
Lines 369-374 $template->param( Link Here
369
    isbn             => $data->{'isbn'},
372
    isbn             => $data->{'isbn'},
370
    seriestitle      => $data->{'seriestitle'},
373
    seriestitle      => $data->{'seriestitle'},
371
    collectiontitle  => $data->{'collectiontitle'},
374
    collectiontitle  => $data->{'collectiontitle'},
375
    itemtypeloop     => \@itemtypes,
372
    quantity         => $data->{'quantity'},
376
    quantity         => $data->{'quantity'},
373
    quantityrec      => $data->{'quantity'},
377
    quantityrec      => $data->{'quantity'},
374
    rrp              => $data->{'rrp'},
378
    rrp              => $data->{'rrp'},
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +17 lines)
Lines 268-273 $(document).ready(function() Link Here
268
                <input type="text" size="50" name="collectiontitle" id="collectiontitle" value="[% collectiontitle %]" />
268
                <input type="text" size="50" name="collectiontitle" id="collectiontitle" value="[% collectiontitle %]" />
269
            [% END %]
269
            [% END %]
270
        </li>
270
        </li>
271
        </li>
272
            [% UNLESS ( biblionumber ) %]
273
            [% IF ( itemtypeloop ) %]
274
            <li>
275
                <span class="label">Item type:</span>
276
                <select name="itemtype" style="width:12em;">
277
                [% FOREACH itemtype IN itemtypeloop %]
278
                    [% IF ( itemtype.selected ) %]
279
                        <option value="[% itemtype.itemtype %]" selected="selected">[% itemtype.description %]</option>
280
                    [% ELSE %]
281
                        <option value="[% itemtype.itemtype %]">[% itemtype.description %]</option>
282
                    [% END %]
283
                [% END %]
284
                </select>
285
            </li>
286
            [% END %]
287
            [% END %]
271
        </ol>
288
        </ol>
272
    </fieldset>
289
    </fieldset>
273
    [% IF ( items ) %]
290
    [% IF ( items ) %]
274
- 

Return to bug 6066