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

(-)a/acqui/neworderempty.pl (-1 / +6 lines)
Lines 94-99 use Koha::MarcSubfieldStructures; Link Here
94
use Koha::ItemTypes;
94
use Koha::ItemTypes;
95
use Koha::Patrons;
95
use Koha::Patrons;
96
use Koha::RecordProcessor;
96
use Koha::RecordProcessor;
97
use Koha::Subscriptions;
97
98
98
our $input           = new CGI;
99
our $input           = new CGI;
99
my $booksellerid    = $input->param('booksellerid');	# FIXME: else ERROR!
100
my $booksellerid    = $input->param('booksellerid');	# FIXME: else ERROR!
Lines 380-386 if ( defined $from_subscriptionid ) { Link Here
380
        $basket = GetBasket( $input->param('basketno') );
381
        $basket = GetBasket( $input->param('basketno') );
381
    }
382
    }
382
383
383
    $template->param( subscriptionid => $from_subscriptionid );
384
    my $subscription = Koha::Subscriptions->find($from_subscriptionid);
385
    $template->param(
386
        subscriptionid => $from_subscriptionid,
387
        subscription   => $subscription,
388
    );
384
}
389
}
385
390
386
# Find the items.barcode subfield for barcode validations
391
# Find the items.barcode subfield for barcode validations
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +10 lines)
Lines 322-327 Link Here
322
                [% END %]
322
                [% END %]
323
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
323
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
324
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
324
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
325
326
                [% IF subscription %]
327
                    <br/>
328
                    <span class="hint">
329
                        Frequency: [% subscription.frequency.description | html %] |
330
                        [% IF subscription.numberlength %]Number of issues: [% subscription.numberlength | html %][% END %]
331
                        [% IF subscription.weeklength   %]Number of weeks: [% subscription.weeklength | html %][% END %]
332
                        [% IF subscription.monthlength  %]Number of months: [% subscription.monthlength | html %][% END %]
333
                    </span>
334
                [% END %]
325
            </li>
335
            </li>
326
            <li>
336
            <li>
327
                [% IF ( close ) %]
337
                [% IF ( close ) %]
328
- 

Return to bug 21467