{
    "date": "2025-10-11 07:12:18",
    "files_found": 58,
    "files_fixed": 24,
    "results": {
        "C:\\xampp\\htdocs\\StayManager\\controllers\\NotificationController.php": {
            "status": "success",
            "backup": "NotificationController.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: header('Location: dashboard.php') \u2192 header('Location: dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\execute_balance_update.php": {
            "status": "success",
            "backup": "execute_balance_update.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\execute_enhanced_cash_updates.php": {
            "status": "success",
            "backup": "execute_enhanced_cash_updates.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\find_and_fix_dashboard_redirects.php": {
            "status": "success",
            "backup": "find_and_fix_dashboard_redirects.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: redirect(getBaseUrl() . \"\/dashboard.php\") \u2192 redirect(getBaseUrl() . \"\/dashboard_dynamic.php\")",
                "Remplac\u00e9: header(\"Location: dashboard.php\") \u2192 header(\"Location: dashboard_dynamic.php\")",
                "Remplac\u00e9: window.location.href = \"dashboard.php\" \u2192 window.location.href = \"dashboard_dynamic.php\"",
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\"",
                "Remplac\u00e9: action=\"dashboard.php\" \u2192 action=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\fix_all_views_permissions.php": {
            "status": "success",
            "backup": "fix_all_views_permissions.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: redirect(getBaseUrl() . '\/dashboard.php') \u2192 redirect(getBaseUrl() . '\/dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\index.php": {
            "status": "success",
            "backup": "index.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: redirect(getBaseUrl() . '\/dashboard.php') \u2192 redirect(getBaseUrl() . '\/dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\notifications.php": {
            "status": "success",
            "backup": "notifications.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: header('Location: dashboard.php') \u2192 header('Location: dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\reports.php": {
            "status": "success",
            "backup": "reports.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: header('Location: dashboard.php') \u2192 header('Location: dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_bably_dashboard.php": {
            "status": "success",
            "backup": "test_bably_dashboard.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_dashboard_dynamic.php": {
            "status": "success",
            "backup": "test_dashboard_dynamic.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_dashboard_final.php": {
            "status": "success",
            "backup": "test_dashboard_final.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_dynamic_permissions.php": {
            "status": "success",
            "backup": "test_dynamic_permissions.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_real_login_bably.php": {
            "status": "success",
            "backup": "test_real_login_bably.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\test_redirect_advanced.php": {
            "status": "success",
            "backup": "test_redirect_advanced.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href='dashboard.php' \u2192 href='dashboard_dynamic.php'"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\errors\\unauthorized_action.php": {
            "status": "success",
            "backup": "unauthorized_action.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\events\\index - Copie.php": {
            "status": "success",
            "backup": "index - Copie.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\notifications\\dashboard.php": {
            "status": "success",
            "backup": "dashboard.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\reports\\events_report.php": {
            "status": "success",
            "backup": "events_report.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\reports\\occupation_report.php": {
            "status": "success",
            "backup": "occupation_report.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\reports\\restaurant_report.php": {
            "status": "success",
            "backup": "restaurant_report.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\reservations\\index.php": {
            "status": "success",
            "backup": "index.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\roles\\index.php": {
            "status": "success",
            "backup": "index.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\rooms\\show.php": {
            "status": "success",
            "backup": "show.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: redirect(getBaseUrl() . '\/dashboard.php') \u2192 redirect(getBaseUrl() . '\/dashboard_dynamic.php')"
            ]
        },
        "C:\\xampp\\htdocs\\StayManager\\views\\users\\index.php": {
            "status": "success",
            "backup": "index.php.backup.2025-10-11_07-12-14",
            "changes": [
                "Remplac\u00e9: href=\"dashboard.php\" \u2192 href=\"dashboard_dynamic.php\""
            ]
        }
    },
    "summary": {
        "success": 24,
        "no_changes": 0,
        "errors": 0
    }
}