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

(-)a/catalogue/issuehistory.pl (+1 lines)
Lines 67-72 foreach (@$issues){ Link Here
67
	$_->{date_due}   = format_date($_->{date_due});
67
	$_->{date_due}   = format_date($_->{date_due});
68
	$_->{issuedate}  = format_date($_->{issuedate});
68
	$_->{issuedate}  = format_date($_->{issuedate});
69
	$_->{returndate} = format_date($_->{returndate});
69
	$_->{returndate} = format_date($_->{returndate});
70
	$_->{lastreneweddate} = format_date($_->{lastreneweddate});
70
}
71
}
71
$template->param(
72
$template->param(
72
    total        => scalar @$issues,
73
    total        => scalar @$issues,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/issuehistory.tmpl (-26 / +19 lines)
Lines 15-43 Link Here
15
	<div id="yui-main">
15
	<div id="yui-main">
16
	<div class="yui-b">
16
	<div class="yui-b">
17
17
18
<h1>Checkout history for <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_IF NAME="author" -->(<!-- TMPL_VAR NAME="author" -->)<!-- /TMPL_IF --> </h1>
18
<h1>Checkout history for <!-- TMPL_VAR NAME="title" escape="html" --></h1>
19
<!-- TMPL_IF NAME="author" --><h3>by <!-- TMPL_VAR NAME="author" --></h3><!-- /TMPL_IF -->
19
20
20
<div class="searchresults">
21
<div class="searchresults">
21
    <!-- TMPL_IF NAME="issues" -->
22
    <!-- TMPL_IF NAME="issues" -->
22
        <p><b>Has been checked out <!-- TMPL_VAR NAME="total" --> times</b></p>
23
        <h4>Checked out <!-- TMPL_VAR NAME="total" --> times</h4>
23
        <table>
24
        <table>
24
            <tr>
25
            <thead><tr>
25
            <th>Patron</th>
26
            <th>Patron</th>
26
            <th>Barcode</th>
27
            <th>Barcode</th>
27
            <th>Library</th>
28
            <th>Checkout out from</th>
28
            <th>Issuing library</th>
29
            <th>Renewed</th>
29
            <th>Renewed</th>
30
            <th>Checkout on</th>
30
            <th>Checkout on</th>
31
            <th>Due date</th>
31
            <th>Due date</th>
32
            <th>Checkin on</th>
32
            <th>Checkin on</th>
33
            </tr>
33
            </tr></thead>
34
            <tbody>
34
        <!-- TMPL_LOOP NAME="issues" -->
35
        <!-- TMPL_LOOP NAME="issues" -->
35
            <tr>
36
        <!-- TMPL_UNLESS NAME="__odd__" --><tr class="highlight"><!-- TMPL_ELSE
36
                <td><!-- TMPL_IF NAME="issuedate" -->
37
--><tr><!-- /TMPL_UNLESS -->
37
                        <!-- TMPL_VAR NAME="issuedate" -->
38
                    <!-- TMPL_ELSE -->
39
                        &nbsp;
40
                    <!-- /TMPL_IF --></td>
41
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" --><!-- TMPL_IF NAME="firstname" -->, <!-- TMPL_VAR NAME="firstname" --><!-- /TMPL_IF --></a></td>
38
                <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" --><!-- TMPL_IF NAME="firstname" -->, <!-- TMPL_VAR NAME="firstname" --><!-- /TMPL_IF --></a></td>
42
                <td><!-- TMPL_IF NAME="barcode" -->
39
                <td><!-- TMPL_IF NAME="barcode" -->
43
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a>
40
                        <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a>
Lines 49-68 Link Here
49
                    <!-- TMPL_ELSE -->
46
                    <!-- TMPL_ELSE -->
50
                        &nbsp;
47
                        &nbsp;
51
                    <!-- /TMPL_IF --></td>
48
                    <!-- /TMPL_IF --></td>
52
                <td><!-- TMPL_IF NAME="issuingbranch" -->
53
                        <!-- TMPL_VAR NAME="issuingbranch" -->
54
                    <!-- TMPL_ELSE -->
55
                        &nbsp;
56
                    <!-- /TMPL_IF --></td>
57
                <td><!-- TMPL_IF NAME="renewals"-->
49
                <td><!-- TMPL_IF NAME="renewals"-->
58
                        YES<br />
50
                        Yes<!-- TMPL_IF NAME="lastreneweddate" -->, <small>last on: <!-- TMPL_VAR NAME="lastreneweddate" --></small>
59
                        <small>
60
                            <!-- TMPL_IF NAME="lastreneweddate" -->
61
                                last on: <!-- TMPL_VAR NAME="lastreneweddate" -->
62
                            <!-- /TMPL_IF -->
51
                            <!-- /TMPL_IF -->
63
                        </small>
64
                    <!-- TMPL_ELSE -->
52
                    <!-- TMPL_ELSE -->
65
                        NO
53
                        No
54
                    <!-- /TMPL_IF --></td>
55
                <td><!-- TMPL_IF NAME="issuedate" -->
56
                        <!-- TMPL_VAR NAME="issuedate" -->
57
                    <!-- TMPL_ELSE -->
58
                        &nbsp;
66
                    <!-- /TMPL_IF --></td>
59
                    <!-- /TMPL_IF --></td>
67
                <td><!-- TMPL_IF NAME="date_due" -->
60
                <td><!-- TMPL_IF NAME="date_due" -->
68
                        <!-- TMPL_VAR NAME="date_due" -->
61
                        <!-- TMPL_VAR NAME="date_due" -->
Lines 76-85 Link Here
76
                    <!-- /TMPL_IF --></td>
69
                    <!-- /TMPL_IF --></td>
77
           </tr>
70
           </tr>
78
        <!-- /TMPL_LOOP -->
71
        <!-- /TMPL_LOOP -->
72
        </tbody>
79
		</table>
73
		</table>
80
    <!-- TMPL_ELSE -->
74
    <!-- TMPL_ELSE -->
81
        <p>
75
        <div class="dialog message"><p>
82
        <b><!-- TMPL_VAR NAME="title" escape="html" -->(<!-- TMPL_VAR NAME="author" -->)</b> <span class="problem">has never been checked out.</span></p>
76
        <b><!-- TMPL_VAR NAME="title" escape="html" --><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --></b> has never been checked out.</p></div>
83
77
84
    <!-- /TMPL_IF -->
78
    <!-- /TMPL_IF -->
85
</div>
79
</div>
86
- 

Return to bug 4529