Billing / generation of Invoices finished

This commit is contained in:
Frank Schubert
2024-07-07 12:04:51 +02:00
parent f83ef19e8d
commit 564d5c53b5
18 changed files with 665 additions and 60 deletions
+4
View File
@@ -198,6 +198,10 @@ class mfLayout {
return $url;
}
public static function getHumanReadableInterval($seconds) {
return sprintf("%02d:%02d:%02d", floor($seconds / 3600), ($seconds / 60) % 60, $seconds % 60);
}
public static function getResourcePath() {
if (MFUSEFANCYURLS) {
$path = MFFANCYBASEURL;