Revision 14949630
Von Joachim Zach vor fast 14 Jahren hinzugefügt
SL/DN.pm | ||
---|---|---|
288 | 288 |
(SELECT SUM(fee) |
289 | 289 |
FROM dunning_config |
290 | 290 |
WHERE dunning_level <= (SELECT dunning_level FROM dunning_config WHERE id = ?)), |
291 |
(SELECT (amount - paid) * (current_date - transdate) FROM ar WHERE id = ?)
|
|
291 |
(SELECT (amount - paid) * (current_date - duedate) FROM ar WHERE id = ?)
|
|
292 | 292 |
* (SELECT interest_rate FROM dunning_config WHERE id = ?) |
293 | 293 |
/ 360, |
294 | 294 |
current_date, |
Auch abrufbar als: Unified diff
Mahnzinsen anhand des Fälligkeitsdatums berechnen
Fix für Bug 1384.
Signed-off-by: Moritz Bunkus <m.bunkus@linet-services.de>