Merge branch 'Development' of https://github.com/Focuslinkstech/phpnuxbill into Development

This commit is contained in:
Focuslinkstech
2024-05-17 09:52:20 +01:00
parent cd34a68cf3
commit 67a4d7f534
20 changed files with 2929 additions and 2618 deletions

View File

@ -175,7 +175,7 @@ class Package
};
$time = date("23:59:00");
} else if ($p['validity_unit'] == 'Days') {
$datetime = date("Y-m-d H:i:s", strtotime('+' . $p['validity'] . ' day'));
$datetime = explode(' ', date("Y-m-d H:i:s", strtotime('+' . $p['validity'] . ' day')));
$date_exp = $datetime[0];
$time = $datetime[1];
} else if ($p['validity_unit'] == 'Hrs') {