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

(-)a/circ/overdue.pl (-2 / +5 lines)
Lines 238-244 if ($noreport) { Link Here
238
        borrowers.branchcode,
238
        borrowers.branchcode,
239
        items.itemcallnumber,
239
        items.itemcallnumber,
240
        items.replacementprice,
240
        items.replacementprice,
241
        items.enumchron
241
        items.enumchron,
242
        items.itemnotes_nonpublic
242
      FROM issues
243
      FROM issues
243
    LEFT JOIN borrowers   ON (issues.borrowernumber=borrowers.borrowernumber )
244
    LEFT JOIN borrowers   ON (issues.borrowernumber=borrowers.borrowernumber )
244
    LEFT JOIN items       ON (issues.itemnumber=items.itemnumber)
245
    LEFT JOIN items       ON (issues.itemnumber=items.itemnumber)
Lines 308-315 if ($noreport) { Link Here
308
            author                 => $data->{author},
309
            author                 => $data->{author},
309
            homebranchcode         => $data->{homebranchcode},
310
            homebranchcode         => $data->{homebranchcode},
310
            holdingbranchcode      => $data->{holdingbranchcode},
311
            holdingbranchcode      => $data->{holdingbranchcode},
312
            branchcode             => $data->{branchcode},
311
            itemcallnumber         => $data->{itemcallnumber},
313
            itemcallnumber         => $data->{itemcallnumber},
312
            replacementprice       => $data->{replacementprice},
314
            replacementprice       => $data->{replacementprice},
315
            itemnotes_nonpublic    => $data->{itemnotes_nonpublic},
313
            enumchron              => $data->{enumchron},
316
            enumchron              => $data->{enumchron},
314
            patron_attr_value_loop => \@patron_attr_value_loop,
317
            patron_attr_value_loop => \@patron_attr_value_loop,
315
        };
318
        };
Lines 359-365 sub build_csv { Link Here
359
    # build header ...
362
    # build header ...
360
    my @keys =
363
    my @keys =
361
      qw ( duedate title author borrowertitle firstname surname phone barcode email address address2 zipcode city country
364
      qw ( duedate title author borrowertitle firstname surname phone barcode email address address2 zipcode city country
362
      branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype);
365
      branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice itemnotes_nonpublic streetnumber streettype);
363
    my $csv = Text::CSV_XS->new();
366
    my $csv = Text::CSV_XS->new();
364
    $csv->combine(@keys);
367
    $csv->combine(@keys);
365
    push @lines, $csv->string();
368
    push @lines, $csv->string();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt (-2 / +4 lines)
Lines 2-7 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE KohaDates %]
3
[% USE KohaDates %]
4
[%- USE Branches -%]
4
[%- USE Branches -%]
5
[%- USE Price -%]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>Koha &rsaquo; Circulation &rsaquo; Items overdue as of [% todaysdate | html %]</title>
8
<title>Koha &rsaquo; Circulation &rsaquo; Items overdue as of [% todaysdate | html %]</title>
Lines 53-58 Link Here
53
          <th>Barcode</th>
54
          <th>Barcode</th>
54
          <th>Call number</th>
55
          <th>Call number</th>
55
          <th>Price</th>
56
          <th>Price</th>
57
          <th>Non-public note</th>
56
        </tr>
58
        </tr>
57
      </thead>
59
      </thead>
58
      [%- BLOCK subject -%]Overdue:[%- END -%]
60
      [%- BLOCK subject -%]Overdue:[%- END -%]
Lines 70-76 Link Here
70
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %]  [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
72
          <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %]  [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td>
71
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | html %]&amp;itemnumber=[% overdueloo.itemnum | html %]#item[% overdueloo.itemnum | html %]">[% overdueloo.barcode | html %]</a></td>
73
          <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | html %]&amp;itemnumber=[% overdueloo.itemnum | html %]#item[% overdueloo.itemnum | html %]">[% overdueloo.barcode | html %]</a></td>
72
          <td>[% overdueloo.itemcallnumber | html %]</td>
74
          <td>[% overdueloo.itemcallnumber | html %]</td>
73
          <td>[% overdueloo.replacementprice | html %]</td>
75
          <td>[% overdueloo.replacementprice | $Price %]</td>
76
          <td>[% overdueloo.itemnotes_nonpublic | html %]</td>
74
        </tr>
77
        </tr>
75
      [% END %]
78
      [% END %]
76
      </tbody>
79
      </tbody>
77
- 

Return to bug 15139