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 1757-1763
sub _get_tt_params {
Link Here
|
1757 |
module => 'Koha::Old::Checkouts', |
1757 |
module => 'Koha::Old::Checkouts', |
1758 |
singular => 'old_checkout', |
1758 |
singular => 'old_checkout', |
1759 |
plural => 'old_checkouts', |
1759 |
plural => 'old_checkouts', |
1760 |
fk => 'itemnumber', |
1760 |
pk => 'issue_id', |
1761 |
}, |
1761 |
}, |
1762 |
overdues => { |
1762 |
overdues => { |
1763 |
module => 'Koha::Checkouts', |
1763 |
module => 'Koha::Checkouts', |