bmc_hub/fix_tab.py
Christian bc504b9257 feat: Add subscription management functionality and AnyDesk API integration
- Implemented subscription creation, updating, and rendering in script_9.js.
- Added functions for handling subscription line items, product selection, and total calculations.
- Integrated AnyDesk API for session management in test_anydesk.py.
- Created REST client test requests for API endpoints in api.http.
- Developed a script to check ESET machine status and save details in tmp_check_eset_machine.py.
2026-03-30 07:50:15 +02:00

14 lines
630 B
Python

import re
with open('app/modules/sag/templates/detail.html', 'r', encoding='utf-8') as f:
content = f.read()
# Make the timetracking tab visible by adding it to standardModuleSet, or just removing the 'data-module="timetracking"'
# Actually, the easiest way is to remove data-module="timetracking" and data-module-tab="timetracking"
# Wait, if we remove it, the tab won't be hidden, which is good.
content = content.replace('data-module-tab="timetracking"', '')
content = content.replace('data-module="timetracking"', '')
with open('app/modules/sag/templates/detail.html', 'w', encoding='utf-8') as f:
f.write(content)