Lines 137-142
if ( $selected_accts ) {
Link Here
|
137 |
} |
137 |
} |
138 |
); |
138 |
); |
139 |
$total_due = $sum->_resultset->first->get_column('total_amountoutstanding'); |
139 |
$total_due = $sum->_resultset->first->get_column('total_amountoutstanding'); |
|
|
140 |
} else { |
141 |
@selected_accountlines = $account->outstanding_debits; |
140 |
} |
142 |
} |
141 |
|
143 |
|
142 |
if ( $total_paid and $total_paid ne '0.00' ) { |
144 |
if ( $total_paid and $total_paid ne '0.00' ) { |
Lines 207-212
if ( $total_paid and $total_paid ne '0.00' ) {
Link Here
|
207 |
{ |
209 |
{ |
208 |
amount => $total_paid, |
210 |
amount => $total_paid, |
209 |
library_id => $library_id, |
211 |
library_id => $library_id, |
|
|
212 |
lines => \@selected_accountlines, |
210 |
note => $note, |
213 |
note => $note, |
211 |
payment_type => $payment_type, |
214 |
payment_type => $payment_type, |
212 |
interface => C4::Context->interface, |
215 |
interface => C4::Context->interface, |
213 |
- |
|
|