WIP: Sicherheitsnetz vor Phase-1-R\u00fcckbau

Enth\u00e4lt gemischt: Laravel-10-Upgrade + Phase 1 (Contacts-Modul, Duplicats-Commands,
Soft-Delete+Merge-Fields) + Phase 2 Code-Umstellungen (inquiry_id, $table='contacts'/'inquiries')
+ Offers-Modul (Migrationen, Models, offer_id in Booking, offer-Disk in filesystems.php).

Phase 2 + Offers werden im folgenden Commit nach dev/backups/phase2-offers-2026-04-17/
verschoben, damit der Workspace auf Phase-1-only (= Test-System-Stand) reduziert ist
und direkt auf Live deploybar wird.

Tarball-Backup zus\u00e4tzlich unter: ../backups-safety/workspace-pre-phase1-rollback-2026-04-17.tar.gz

Made-with: Cursor
This commit is contained in:
Phase-1-Rollback-Agent 2026-04-17 13:40:31 +00:00
parent 389d5d1820
commit e3dc1afd8e
165 changed files with 21914 additions and 3516 deletions

View file

@ -2,6 +2,8 @@
namespace App\Services;
use Carbon\Carbon;
class Util
{
@ -51,18 +53,17 @@ class Util
public static function _format_date($date, $to = 'date')
{
if ($to === 'datetime') {
return \Carbon::parse($date)->format(\Util::formatDateTimeDB());
return Carbon::parse($date)->format(self::formatDateTimeDB());
}
//date
return \Carbon::parse($date)->format(\Util::formatDateDB());
return Carbon::parse($date)->format(self::formatDateDB());
}
public static function _reformat_date($date, $to = 'date')
{
if ($to === 'datetime') {
return \Carbon::parse($date)->format('Y-m-d - H:i');
return Carbon::parse($date)->format('Y-m-d - H:i');
}
return \Carbon::parse($date)->format('Y-m-d');
return Carbon::parse($date)->format('Y-m-d');
}
public static function _format_number($value)