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

(-)a/circ/transferstoreceive.pl (-1 / +4 lines)
Lines 91-100 foreach my $br ( keys %$branches ) { Link Here
91
91
92
            $getransf{'datetransfer'} = format_date( $num->{'datesent'} );
92
            $getransf{'datetransfer'} = format_date( $num->{'datesent'} );
93
            $getransf{'itemtype'} = $itemtypeinfo ->{'description'};
93
            $getransf{'itemtype'} = $itemtypeinfo ->{'description'};
94
			foreach (qw(title biblionumber itemnumber barcode homebranch holdingbranch itemcallnumber)) {
94
			foreach (qw(title author biblionumber itemnumber barcode homebranch holdingbranch itemcallnumber)) {
95
            	$getransf{$_} = $gettitle->{$_};
95
            	$getransf{$_} = $gettitle->{$_};
96
			}
96
			}
97
97
98
            my $record = GetMarcBiblio($gettitle->{'biblionumber'});
99
            $getransf{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($gettitle->{'biblionumber'}));
100
98
            # we check if we have a reserv for this transfer
101
            # we check if we have a reserv for this transfer
99
            my @checkreserv = GetReservesFromItemnumber($num->{'itemnumber'} );
102
            my @checkreserv = GetReservesFromItemnumber($num->{'itemnumber'} );
100
            if ( $checkreserv[0] ) {
103
            if ( $checkreserv[0] ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl (-10 / +11 lines)
Lines 15-22 $(document).ready(function() { Link Here
15
    $.tablesorter.defaults.widgets = ['zebra'];
15
    $.tablesorter.defaults.widgets = ['zebra'];
16
    $("#transferst<!-- TMPL_VAR NAME="branchcode" -->").tablesorter({<!-- TMPL_IF ="dateformat_metric" -->
16
    $("#transferst<!-- TMPL_VAR NAME="branchcode" -->").tablesorter({<!-- TMPL_IF ="dateformat_metric" -->
17
        dateFormat: 'uk',<!-- /TMPL_IF -->
17
        dateFormat: 'uk',<!-- /TMPL_IF -->
18
        sortList: [[1,0]],
18
        sortList: [[0,0]],
19
        headers: { 1: { sorter: 'articles' },4:{sorter:false}}
19
        headers: { 1: { sorter: 'articles' }}
20
    });
20
    });
21
    <!-- /TMPL_LOOP -->
21
    <!-- /TMPL_LOOP -->
22
});
22
});
Lines 47-54 $(document).ready(function() { Link Here
47
            <thead><tr>
47
            <thead><tr>
48
                <th>Date of transfer</th>
48
                <th>Date of transfer</th>
49
                <th>Title</th>
49
                <th>Title</th>
50
                <th>Reserved by </th>
50
                <th>On hold for</th>
51
                <th>Location</th>
51
                <th>Home library</th>
52
                <th>Call no.</th>
52
            </tr></thead>
53
            </tr></thead>
53
            <tbody><!-- TMPL_LOOP NAME="reserv" -->
54
            <tbody><!-- TMPL_LOOP NAME="reserv" -->
54
                <!-- TMPL_IF NAME="messcompa" -->
55
                <!-- TMPL_IF NAME="messcompa" -->
Lines 59-70 $(document).ready(function() { Link Here
59
                    <td><p><!-- TMPL_VAR NAME="datetransfer" --></p> <!-- TMPL_IF NAME="messcompa" --><span class="error">Transfer is <!-- TMPL_VAR NAME="diff" --> days late</span><!-- /TMPL_IF --></td>
60
                    <td><p><!-- TMPL_VAR NAME="datetransfer" --></p> <!-- TMPL_IF NAME="messcompa" --><span class="error">Transfer is <!-- TMPL_VAR NAME="diff" --> days late</span><!-- /TMPL_IF --></td>
60
                    <td><span style="display:none;"><!-- TMPL_VAR NAME="title" escape="html" --></span><!-- invisible title for tablesorter -->
61
                    <td><span style="display:none;"><!-- TMPL_VAR NAME="title" escape="html" --></span><!-- invisible title for tablesorter -->
61
                        <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
62
                        <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
62
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
63
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_LOOP NAME="subtitle" --><!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --><!-- /TMPL_IF --></a>
63
<!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
64
<!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
64
<a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
65
<a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_LOOP NAME="subtitle" --><!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --><!-- /TMPL_IF --></a>
65
<!-- TMPL_ELSE -->
66
<!-- TMPL_ELSE -->
66
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" -->  <!-- TMPL_VAR NAME="subtitle" --></a><!-- /TMPL_IF -->
67
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_IF NAME="subtitle" --> <!-- TMPL_LOOP NAME="subtitle" --><!-- TMPL_VAR NAME="subfield" --><!-- /TMPL_LOOP --><!-- /TMPL_IF --></a><!-- /TMPL_IF --> <!-- TMPL_IF NAME="author" -->by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
67
                            &nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)
68
                            <!-- TMPL_IF NAME="itemtype" -->&nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)<!-- /TMPL_IF -->
68
                            <br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
69
                            <br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
69
                    </td>
70
                    </td>
70
                    <td><!-- TMPL_IF NAME="borrowername" -->
71
                    <td><!-- TMPL_IF NAME="borrowername" -->
Lines 81-87 $(document).ready(function() { Link Here
81
                        <p>None</p>
82
                        <p>None</p>
82
                    <!-- /TMPL_IF -->
83
                    <!-- /TMPL_IF -->
83
                    </td>
84
                    </td>
84
                    <td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></td>
85
                    <td><!-- TMPL_VAR NAME="homebranch" --></td>
86
                    <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
85
                </tr>
87
                </tr>
86
            <!-- /TMPL_LOOP --></tbody>
88
            <!-- /TMPL_LOOP --></tbody>
87
            </table>
89
            </table>
88
- 

Return to bug 3550