Lines 785-791
sub _parseletter_sth {
Link Here
|
785 |
($table eq 'debits' ) ? "SELECT * FROM accountlines WHERE accountlines_id = ?" : |
785 |
($table eq 'debits' ) ? "SELECT * FROM accountlines WHERE accountlines_id = ?" : |
786 |
($table eq 'items' ) ? "SELECT * FROM $table WHERE itemnumber = ?" : |
786 |
($table eq 'items' ) ? "SELECT * FROM $table WHERE itemnumber = ?" : |
787 |
($table eq 'issues' ) ? "SELECT * FROM $table WHERE itemnumber = ?" : |
787 |
($table eq 'issues' ) ? "SELECT * FROM $table WHERE itemnumber = ?" : |
788 |
($table eq 'old_issues' ) ? "SELECT * FROM $table WHERE itemnumber = ? ORDER BY timestamp DESC LIMIT 1" : |
788 |
($table eq 'old_issues' ) ? "SELECT * FROM $table WHERE issue_id = ?" : |
789 |
($table eq 'reserves' ) ? "SELECT * FROM $table WHERE borrowernumber = ? and biblionumber = ?" : |
789 |
($table eq 'reserves' ) ? "SELECT * FROM $table WHERE borrowernumber = ? and biblionumber = ?" : |
790 |
($table eq 'borrowers' ) ? "SELECT * FROM $table WHERE borrowernumber = ?" : |
790 |
($table eq 'borrowers' ) ? "SELECT * FROM $table WHERE borrowernumber = ?" : |
791 |
($table eq 'branches' ) ? "SELECT * FROM $table WHERE branchcode = ?" : |
791 |
($table eq 'branches' ) ? "SELECT * FROM $table WHERE branchcode = ?" : |
Lines 1734-1740
sub _get_tt_params {
Link Here
|
1734 |
module => 'Koha::Old::Checkouts', |
1734 |
module => 'Koha::Old::Checkouts', |
1735 |
singular => 'old_checkout', |
1735 |
singular => 'old_checkout', |
1736 |
plural => 'old_checkouts', |
1736 |
plural => 'old_checkouts', |
1737 |
fk => 'itemnumber', |
1737 |
pk => 'issue_id', |
1738 |
}, |
1738 |
}, |
1739 |
overdues => { |
1739 |
overdues => { |
1740 |
module => 'Koha::Checkouts', |
1740 |
module => 'Koha::Checkouts', |