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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +3 lines)
Lines 126-132 $(document).ready(function() { Link Here
126
            <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
126
            <input type="hidden" name="biblionumber" value="[% serialslis.biblionumber | html %]" />
127
            <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
127
            <input type="hidden" name="itemcount" value="[% serialslis.issuesatonce | html %]" />
128
            <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
128
            <input type="hidden" name="user" value="[% serialslis.librarian | html %]" />
129
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]" value="[% serialslis.serialseq | html %]" size="20" maxlength="100" />
129
            Issue <input type="text" name="serialseq" id="serialseq[% serialslis.serialid | html %]"
130
            value="[% IF ( matches = serialslis.serialseq.match('(.*)Spring(.*)') ) %][% matches.0 | html %]Spring[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Summer(.*)') ) %][% matches.0 | html %]Summer[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Fall(.*)') ) %][% matches.0 | html %]Fall[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Winter(.*)') ) %][% matches.0 | html %]Winter[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Spr(.*)') ) %][% matches.0 | html %]Spr[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Sum(.*)') ) %][% matches.0 | html %]Sum[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Fal(.*)') ) %][% matches.0 | html %]Fal[% matches.1 | html %][% ELSIF ( matches = serialslis.serialseq.match('(.*)Win(.*)') ) %][% matches.0 | html %]Win[% matches.1 | html %][% ELSE %][% serialslis.serialseq | html %][% END %]"
131
            size="20" maxlength="100" />
130
        </td>
132
        </td>
131
        <td>
133
        <td>
132
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="datepicker" />
134
            <input type="text" name="publisheddate" value="[% serialslis.publisheddate | html %]" size="10" maxlength="15" class="datepicker" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-2 / +19 lines)
Lines 308-314 Link Here
308
                            [% FOREACH serialslis IN serialslist %]
308
                            [% FOREACH serialslis IN serialslist %]
309
                                <tr>
309
                                <tr>
310
                                    <td>
310
                                    <td>
311
                                        [% serialslis.serialseq | html %]
311
                                        [% IF ( matches = serialslis.serialseq.match('(.*)Spring(.*)') ) %]
312
                                            [% matches.0 | html %]Spring[% matches.1 | html %]
313
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Summer(.*)') ) %]
314
                                            [% matches.0 | html %]Summer[% matches.1 | html %]
315
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Fall(.*)') ) %]
316
                                            [% matches.0 | html %]Fall[% matches.1 | html %]
317
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Winter(.*)') ) %]
318
                                            [% matches.0 | html %]Winter[% matches.1 | html %]
319
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Spr(.*)') ) %]
320
                                            [% matches.0 | html %]Spr[% matches.1 | html %]
321
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Sum(.*)') ) %]
322
                                            [% matches.0 | html %]Sum[% matches.1 | html %]
323
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Fal(.*)') ) %]
324
                                            [% matches.0 | html %]Fal[% matches.1 | html %]
325
                                        [% ELSIF ( matches = serialslis.serialseq.match('(.*)Win(.*)') ) %]
326
                                            [% matches.0 | html %]Win[% matches.1 | html %]
327
                                        [% ELSE %]
328
                                            [% serialslis.serialseq | html %]
329
                                        [% END %]
312
                                    </td>
330
                                    </td>
313
                                    <td>
331
                                    <td>
314
                                        [% IF serialslis.planneddate %]
332
                                        [% IF serialslis.planneddate %]
315
- 

Return to bug 24172