mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 17:07:01 +01:00
Fix calcolo scadenze
This commit is contained in:
parent
9dfc589068
commit
9f5a59d9ec
@ -60,7 +60,7 @@ class Pagamento extends Model
|
||||
// Ultimo del mese
|
||||
elseif ($rata['giorno'] < 0) {
|
||||
// Offset della rata in mesi
|
||||
$date->modify('+'.$rata['num_giorni']);
|
||||
$date->modify('+'.($rata['num_giorni'].' day'));
|
||||
$date->modify('last day of this month');
|
||||
|
||||
// Opzione ultimo del mese più X giorni
|
||||
|
Loading…
x
Reference in New Issue
Block a user