Lines 595-604
sub UpdateFine {
Link Here
|
595 |
)->store(); |
595 |
)->store(); |
596 |
|
596 |
|
597 |
# FIXME: BOGUS query cannot ensure uniqueness w/ LIKE %x% !!! |
597 |
# FIXME: BOGUS query cannot ensure uniqueness w/ LIKE %x% !!! |
598 |
# LIMIT 1 added to prevent multiple affected lines |
598 |
# LIMIT 1 added to prevent multiple affected lines |
599 |
# FIXME: accountlines table needs unique key!! Possibly a combo of borrowernumber and accountline. |
599 |
# FIXME: accountlines table needs unique key!! Possibly a combo of borrowernumber and accountline. |
600 |
# But actually, we should just have a regular autoincrementing PK and forget accountline, |
600 |
# But actually, we should just have a regular autoincrementing PK and forget accountline, |
601 |
# including the bogus getnextaccountno function (doesn't prevent conflict on simultaneous ops). |
601 |
# including the bogus getnextaccountno function (doesn't prevent conflict on simultaneous ops). |
602 |
# FIXME: Why only 2 account types here? |
602 |
# FIXME: Why only 2 account types here? |
603 |
} |
603 |
} |
604 |
} else { |
604 |
} else { |
605 |
- |
|
|