Witam,
czy to możliwe, że przeterminowane zobowiązania są automatycznie usuwane?
tak skrypt lms-payments na samym koncu
# delete old assignments $dbase->do("DELETE FROM liabilities WHERE id IN ( SELECT liabilityid FROM assignments WHERE dateto < $utsfmt - 86400 * 30 AND dateto != 0 AND at < $today - 86400 * 30 AND liabilityid != 0)"); $dbase->do("DELETE FROM assignments WHERE dateto < $utsfmt - 86400 * 30 AND dateto != 0 AND at < $today - 86400 * 30");
Pozdrawiam
W dniu 2012-07-19 11:13, Krzysztof Kulesza pisze:
tak skrypt lms-payments na samym koncu
# delete old assignments $dbase->do("DELETE FROM liabilities WHERE id IN ( SELECT liabilityid FROM assignments WHERE dateto < $utsfmt - 86400 * 30 AND dateto != 0 AND at < $today
- 86400 * 30 AND liabilityid != 0)");
$dbase->do("DELETE FROM assignments WHERE dateto < $utsfmt - 86400 * 30 AND dateto != 0 AND at < $today
- 86400 * 30");
Pozdrawiam
czyli nie da się tym regulować z poziomu pliku ini/ui-config, szkoda
uczestnicy (2)
-
"D.Wesołowski"
-
Krzysztof Kulesza