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

(-)a/C4/Serials.pm (-2 lines)
Lines 785-792 sub GetLatestSerials { Link Here
785
    my @serials;
785
    my @serials;
786
    while ( my $line = $sth->fetchrow_hashref ) {
786
    while ( my $line = $sth->fetchrow_hashref ) {
787
        $line->{ "status" . $line->{status} } = 1;                        # fills a "statusX" value, used for template status select list
787
        $line->{ "status" . $line->{status} } = 1;                        # fills a "statusX" value, used for template status select list
788
        $line->{planneddate}   = output_pref( { dt => dt_from_string( $line->{planneddate} ),   dateonly => 1 } );
789
        $line->{publisheddate} = output_pref( { dt => dt_from_string( $line->{publisheddate} ), dateonly => 1 } );
790
        push @serials, $line;
788
        push @serials, $line;
791
    }
789
    }
792
790
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 518-525 Link Here
518
            [% FOREACH latestserial IN subscription.latestserials %]
518
            [% FOREACH latestserial IN subscription.latestserials %]
519
                <tr>
519
                <tr>
520
                    <td>[% latestserial.serialseq | html %]</td>
520
                    <td>[% latestserial.serialseq | html %]</td>
521
                    <td>[% latestserial.planneddate | html %]</td>
521
                    <td><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
522
                    <td>[% latestserial.publisheddate | html %]</td>
522
                    <td><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
523
                    <td>
523
                    <td>
524
                      [% IF ( latestserial.status1 ) %]Expected[% END %]
524
                      [% IF ( latestserial.status1 ) %]Expected[% END %]
525
                      [% IF ( latestserial.status2 ) %]Arrived[% END %]
525
                      [% IF ( latestserial.status2 ) %]Arrived[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt (-2 / +7 lines)
Lines 1-3 Link Here
1
[% USE KohaDates %]
1
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Serials &rsaquo; [% title | html %] &rsaquo; [% IF ( op ) %]Create routing list[% ELSE %]Edit routing list[% END %]</title>
4
<title>Koha &rsaquo; Serials &rsaquo; [% title | html %] &rsaquo; [% IF ( op ) %]Create routing list[% ELSE %]Edit routing list[% END %]</title>
Lines 35-42 Link Here
35
	<ol>
36
	<ol>
36
		<li><label for="date_selected">Issue: </label>
37
		<li><label for="date_selected">Issue: </label>
37
<select name="date_selected" id="date_selected">
38
<select name="date_selected" id="date_selected">
38
[% FOREACH date IN dates %]
39
    [% FOREACH date IN dates %]
39
[% IF ( date.selected ) %]<option value="[% date.serialseq | html %] ([% date.publisheddate | html %])" selected="selected">[% date.serialseq | html %] ([% date.publisheddate | html %])</option>[% ELSE %]<option value="[% date.serialseq | html %] ([% date.publisheddate | html %])">[% date.serialseq | html %] ([% date.publisheddate | html %])</option>[% END %]
40
        [% IF ( date.selected ) %]
41
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])" selected="selected">[% date.serialseq | html %] ([% date.publisheddate | $KohaDates %])</option>
42
        [% ELSE %]
43
            <option value="[% date.serialseq | html %] ([% date.publisheddate | html %])">[% date.serialseq | html %] ([% date.publisheddate | $KohaDates %])</option>
44
        [% END %]
40
[% END %]
45
[% END %]
41
</select> [% issue | html %]</li>
46
</select> [% issue | html %]</li>
42
47
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 853-860 Link Here
853
                                        [% FOREACH latestserial IN subscription.latestserials %]
853
                                        [% FOREACH latestserial IN subscription.latestserials %]
854
                                            <tr>
854
                                            <tr>
855
                                                <td class="serialseq">[% latestserial.serialseq | html %]</td>
855
                                                <td class="serialseq">[% latestserial.serialseq | html %]</td>
856
                                                <td class="publisheddate">[% latestserial.publisheddate | html %]</td>
856
                                                <td class="publisheddate"><span title="[% latestserial.publisheddate | html %]">[% latestserial.publisheddate | $KohaDates %]</span></td>
857
                                                <td class="planneddate">[% latestserial.planneddate | html %]</td>
857
                                                <td class="planneddate"><span title="[% latestserial.planneddate | html %]">[% latestserial.planneddate | $KohaDates %]</span></td>
858
                                                <td class="serial_status">
858
                                                <td class="serial_status">
859
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
859
                                                    [% IF (latestserial.status1 ) %]<span>Expected</span>[% END %]
860
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
860
                                                    [% IF (latestserial.status2 ) %]<span>Arrived</span>[% END %]
861
- 

Return to bug 22932