updated lease type to expire at the END of next month

This commit is contained in:
Tóth Richárd committed 2020-02-16 20:02:34 +01:00
1 parent 02b2350828
commit 093c9c25e7
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ class money_deposit {
$expireDate = date('Y-m-t', strtotime($mod->get_mod_money_income()->get_mi_date()));
}
elseif ($lease->get_l_expire_type() == 2) {
$expireDate = date("Y-m-d", strtotime("+1 month", strtotime($mod->get_mod_money_income()->get_mi_date())));
$expireDate = date("Y-m-t", strtotime("+1 month", strtotime($mod->get_mod_money_income()->get_mi_date())));
}
elseif ($lease->get_l_expire_type() == 3) {
//egyedi dátum