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

(-)a/C4/Serials.pm (-1 / +2 lines)
Lines 841-847 sub GetLatestSerials { Link Here
841
    my $dbh = C4::Context->dbh;
841
    my $dbh = C4::Context->dbh;
842
842
843
    # status = 2 is "arrived"
843
    # status = 2 is "arrived"
844
    my $strsth = "SELECT   serialid,serialseq, status, planneddate, notes
844
    my $strsth = "SELECT   serialid,serialseq, status, planneddate, publisheddate, notes
845
                        FROM     serial
845
                        FROM     serial
846
                        WHERE    subscriptionid = ?
846
                        WHERE    subscriptionid = ?
847
                        AND      (status =2 or status=4)
847
                        AND      (status =2 or status=4)
Lines 853-858 sub GetLatestSerials { Link Here
853
    while ( my $line = $sth->fetchrow_hashref ) {
853
    while ( my $line = $sth->fetchrow_hashref ) {
854
        $line->{ "status" . $line->{status} } = 1;                        # fills a "statusX" value, used for template status select list
854
        $line->{ "status" . $line->{status} } = 1;                        # fills a "statusX" value, used for template status select list
855
        $line->{"planneddate"} = format_date( $line->{"planneddate"} );
855
        $line->{"planneddate"} = format_date( $line->{"planneddate"} );
856
        $line->{"publisheddate"} = format_date( $line->{"publisheddate"} );
856
        push @serials, $line;
857
        push @serials, $line;
857
    }
858
    }
858
859
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +3 lines)
Lines 631-637 function verify_images() { Link Here
631
            <table>
631
            <table>
632
                <tr>
632
                <tr>
633
                    <th>Issue #</th>
633
                    <th>Issue #</th>
634
                    <th>Date</th>
634
                    <th>Date arrived</th>
635
                    <th>Date published</th>
635
                    <th>Status</th>
636
                    <th>Status</th>
636
                    <th>Note</th>
637
                    <th>Note</th>
637
                </tr>
638
                </tr>
Lines 639-644 function verify_images() { Link Here
639
                <tr>
640
                <tr>
640
                    <td>[% latestserial.serialseq %]</td>
641
                    <td>[% latestserial.serialseq %]</td>
641
                    <td>[% latestserial.planneddate %]</td>
642
                    <td>[% latestserial.planneddate %]</td>
643
                    <td>[% latestserial.publisheddate%]</td>
642
                    <td>
644
                    <td>
643
                      [% IF ( latestserial.status1 ) %]Expected[% END %]
645
                      [% IF ( latestserial.status1 ) %]Expected[% END %]
644
                      [% IF ( latestserial.status2 ) %]Arrived[% END %]
646
                      [% IF ( latestserial.status2 ) %]Arrived[% END %]
645
- 

Return to bug 10356