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

(-)a/acqui/addorderiso2709.pl (-3 / +3 lines)
Lines 243-249 if ($op eq ""){ Link Here
243
            }
243
            }
244
244
245
            # Create orderlines from MarcItemFieldsToOrder
245
            # Create orderlines from MarcItemFieldsToOrder
246
            while(my ($budget_id, $infos) = each $budget_hash) {
246
            while(my ($budget_id, $infos) = each %$budget_hash) {
247
                if ($budget_id) {
247
                if ($budget_id) {
248
                    my %orderinfo = (
248
                    my %orderinfo = (
249
                        biblionumber       => $biblionumber,
249
                        biblionumber       => $biblionumber,
Lines 391-397 if ($op eq ""){ Link Here
391
            for (my $qtyloop=1;$qtyloop <= $c_quantity;$qtyloop++) {
391
            for (my $qtyloop=1;$qtyloop <= $c_quantity;$qtyloop++) {
392
                my ( $biblionumber, $bibitemnum, $itemnumber ) = AddItemFromMarc( $record, $biblionumber );
392
                my ( $biblionumber, $bibitemnum, $itemnumber ) = AddItemFromMarc( $record, $biblionumber );
393
                $order->add_item( $itemnumber );
393
                $order->add_item( $itemnumber );
394
	    }
394
                }
395
            } else {
395
            } else {
396
                SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
396
                SetImportRecordStatus( $biblio->{'import_record_id'}, 'imported' );
397
            }
397
            }
Lines 623-629 sub import_biblios_list { Link Here
623
                        locationloop => \@locations,
623
                        locationloop => \@locations,
624
                        itypeloop => \@itypes,
624
                        itypeloop => \@itypes,
625
                        ccodeloop => \@ccodes,
625
                        ccodeloop => \@ccodes,
626
			notforloanloop => \@notforloans,
626
                        notforloanloop => \@notforloans,
627
                    );
627
                    );
628
    batch_info($template, $batch);
628
    batch_info($template, $batch);
629
}
629
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-10 / +8 lines)
Lines 370-386 Link Here
370
                        </select>
370
                        </select>
371
                        </li>
371
                        </li>
372
372
373
                        <li>
373
                        <li><label for="notforloan_item_[% item.item_id %]">notforloan</label><select id="notforloan_item_[% item.item_id %]" name="notforloan_[% item.biblio_count %]">
374
			<label for="notforloan_item_[% item.item_id %]">notforloan</label><select id="notforloan_item_[% item.item_id %]" name="notforloan_[% item.biblio_count %]">
374
                        [% FOREACH n IN notforloanloop %]
375
			[% FOREACH n IN notforloanloop %]
375
                            [% IF n.code == item.notforloan %]
376
                          [% IF n.code == item.notforloan %]
376
                                <option value="[% n.code %]" selected="selected">[% n.description %]</option>
377
                            <option value="[% n.code %]" selected="selected">[% n.description %]</option>
377
                            [% ELSE %]
378
                          [% ELSE %]
378
                                <option value="[% n.code %]">[% n.description %]</option>
379
                            <option value="[% n.code %]">[% n.description %]</option>
379
                            [% END %]
380
                          [% END %]
381
                        [% END %]
380
                        [% END %]
382
                        </select>
381
                        </select>
383
			</li>
382
                        </li>
384
                        <li><label for="uri_item_[% item.item_id %]">uri</label><input type="text" id="uri_item_[% item.item_id %]" name="uri_[% item.biblio_count %]" value="[% item.uri %]"></li>
383
                        <li><label for="uri_item_[% item.item_id %]">uri</label><input type="text" id="uri_item_[% item.item_id %]" name="uri_[% item.biblio_count %]" value="[% item.uri %]"></li>
385
                        <li><label for="copyno_item_[% item.item_id %]">copyno</label><input type="text" id="copyno_item_[% item.item_id %]" name="copyno_[% item.biblio_count %]" value="[% item.copyno %]"></li>
384
                        <li><label for="copyno_item_[% item.item_id %]">copyno</label><input type="text" id="copyno_item_[% item.item_id %]" name="copyno_[% item.biblio_count %]" value="[% item.copyno %]"></li>
386
                        <li><label for="budget_code_item_[% item.item_id %]">budget_code</label><select id="budget_code_item_[% item.item_id %]" name="budget_code_[% item.biblio_count %]">
385
                        <li><label for="budget_code_item_[% item.item_id %]">budget_code</label><select id="budget_code_item_[% item.item_id %]" name="budget_code_[% item.biblio_count %]">
387
- 

Return to bug 15503