import re

# Read the file
with open(r'c:\MAMP\htdocs\bidda\fees\verify_bank_transactions.php', 'r', encoding='utf-8') as f:
    content = f.read()

# Replace the problematic line with the correct include
fixed_content = re.sub(
    r"require_once '../config/database\.php';\s*\n\s*\n\s*\n\s*notification_system\.php';",
    "require_once '../config/database.php';\nrequire_once '../includes/notification_system.php';",
    content
)

# Write the fixed content back to the file
with open(r'c:\MAMP\htdocs\bidda\fees\verify_bank_transactions.php', 'w', encoding='utf-8') as f:
    f.write(fixed_content)

print("File has been fixed successfully!")