|
Lines 1191-1202
sub GetMemberAccountRecords {
Link Here
|
| 1191 |
|
1191 |
|
| 1192 |
=head2 GetBorNotifyAcctRecord |
1192 |
=head2 GetBorNotifyAcctRecord |
| 1193 |
|
1193 |
|
| 1194 |
($count, $acctlines, $total) = &GetBorNotifyAcctRecord($params,$notifyid); |
1194 |
($total, $acctlines, $count) = &GetBorNotifyAcctRecord($params,$notifyid); |
| 1195 |
|
1195 |
|
| 1196 |
Looks up accounting data for the patron with the given borrowernumber per file number. |
1196 |
Looks up accounting data for the patron with the given borrowernumber per file number. |
| 1197 |
|
1197 |
|
| 1198 |
(FIXME - I'm not at all sure what this is about.) |
|
|
| 1199 |
|
| 1200 |
C<&GetBorNotifyAcctRecord> returns a three-element array. C<$acctlines> is a |
1198 |
C<&GetBorNotifyAcctRecord> returns a three-element array. C<$acctlines> is a |
| 1201 |
reference-to-array, where each element is a reference-to-hash; the |
1199 |
reference-to-array, where each element is a reference-to-hash; the |
| 1202 |
keys are the fields of the C<accountlines> table in the Koha database. |
1200 |
keys are the fields of the C<accountlines> table in the Koha database. |
|
Lines 1218-1224
sub GetBorNotifyAcctRecord {
Link Here
|
| 1218 |
AND amountoutstanding != '0' |
1216 |
AND amountoutstanding != '0' |
| 1219 |
ORDER BY notify_id,accounttype |
1217 |
ORDER BY notify_id,accounttype |
| 1220 |
"); |
1218 |
"); |
| 1221 |
# AND (accounttype='FU' OR accounttype='N' OR accounttype='M'OR accounttype='A'OR accounttype='F'OR accounttype='L' OR accounttype='IP' OR accounttype='CH' OR accounttype='RE' OR accounttype='RL') |
|
|
| 1222 |
|
1219 |
|
| 1223 |
$sth->execute( $borrowernumber, $notifyid ); |
1220 |
$sth->execute( $borrowernumber, $notifyid ); |
| 1224 |
my $total = 0; |
1221 |
my $total = 0; |
| 1225 |
- |
|
|