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 383-389 if ( defined $from_subscriptionid ) { Link Here
383
        $basket = GetBasket( $input->param('basketno') );
384
        $basket = GetBasket( $input->param('basketno') );
384
    }
385
    }
385
386
386
    $template->param( subscriptionid => $from_subscriptionid );
387
    my $subscription = Koha::Subscriptions->find($from_subscriptionid);
388
    $template->param(
389
        subscriptionid => $from_subscriptionid,
390
        subscription   => $subscription,
391
    );
387
}
392
}
388
393
389
# Find the items.barcode subfield for barcode validations
394
# Find the items.barcode subfield for barcode validations
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +10 lines)
Lines 321-326 Link Here
321
                [% END %]
321
                [% END %]
322
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
322
                <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, usefull when receiveing an order -->
323
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
323
                <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
324
325
                [% IF subscription %]
326
                    <br/>
327
                    <span class="hint">
328
                        Frequency: [% subscription.frequency.description | html %] |
329
                        [% IF subscription.numberlength %]Number of issues: [% subscription.numberlength | html %][% END %]
330
                        [% IF subscription.weeklength   %]Number of weeks: [% subscription.weeklength | html %][% END %]
331
                        [% IF subscription.monthlength  %]Number of months: [% subscription.monthlength | html %][% END %]
332
                    </span>
333
                [% END %]
324
            </li>
334
            </li>
325
            <li>
335
            <li>
326
                [% IF ( close ) %]
336
                [% IF ( close ) %]
327
- 

Return to bug 21467