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

(-)a/C4/Letters.pm (+1 lines)
Lines 801-806 sub _parseletter_sth { Link Here
801
        : ( $table eq 'reserves' )               ? "SELECT * FROM $table WHERE borrowernumber = ? and biblionumber = ?"
801
        : ( $table eq 'reserves' )               ? "SELECT * FROM $table WHERE borrowernumber = ? and biblionumber = ?"
802
        : ( $table eq 'borrowers' )              ? "SELECT * FROM $table WHERE borrowernumber = ?"
802
        : ( $table eq 'borrowers' )              ? "SELECT * FROM $table WHERE borrowernumber = ?"
803
        : ( $table eq 'branches' )               ? "SELECT * FROM $table WHERE     branchcode = ?"
803
        : ( $table eq 'branches' )               ? "SELECT * FROM $table WHERE     branchcode = ?"
804
	: ( $table eq 'categories' )             ? "SELECT * FROM $table WHERE categorycode = ?"
804
        : ( $table eq 'suggestions' )            ? "SELECT * FROM $table WHERE   suggestionid = ?"
805
        : ( $table eq 'suggestions' )            ? "SELECT * FROM $table WHERE   suggestionid = ?"
805
        : ( $table eq 'aqbooksellers' )          ? "SELECT * FROM $table WHERE             id = ?"
806
        : ( $table eq 'aqbooksellers' )          ? "SELECT * FROM $table WHERE             id = ?"
806
        : ( $table eq 'aqorders' )               ? "SELECT * FROM $table WHERE    ordernumber = ?"
807
        : ( $table eq 'aqorders' )               ? "SELECT * FROM $table WHERE    ordernumber = ?"
(-)a/Koha/Account.pm (+1 lines)
Lines 140-145 sub pay { Link Here
140
                tables                 => {
140
                tables                 => {
141
                    borrowers => $self->{patron_id},
141
                    borrowers => $self->{patron_id},
142
                    branches  => $library_id,
142
                    branches  => $library_id,
143
		    categories => $patron->categorycode,
143
                },
144
                },
144
                substitute => {
145
                substitute => {
145
                    credit  => $payment,
146
                    credit  => $payment,
(-)a/tools/letter.pl (-2 / +1 lines)
Lines 250-256 sub add_form { Link Here
250
    );
250
    );
251
251
252
    my $field_selection;
252
    my $field_selection;
253
    push @{$field_selection}, add_fields('branches');
253
    push @{$field_selection}, add_fields('branches','categories');
254
    if ( $module eq 'reserves' ) {
254
    if ( $module eq 'reserves' ) {
255
        push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' );
255
        push @{$field_selection}, add_fields( 'borrowers', 'reserves', 'biblio', 'biblioitems', 'items' );
256
    } elsif ( $module eq 'acquisition' ) {
256
    } elsif ( $module eq 'acquisition' ) {
257
- 

Return to bug 41914