- Implemented test scripts for vTiger account retrieval, contact data, and modules. - Created a detailed test suite for the ticket module, covering database schema validation, ticket number generation, prepaid card constraints, and service logic. - Added tests for vTiger field inspection and various queries related to accounts and sales orders. - Introduced SQL migration scripts for the ALSO Cloud Billing foundation, including import jobs, lines, and mapping tables with necessary constraints and indices. - Enhanced workflow columns in the import lines table to support matching and validation timestamps.
20 lines
590 B
Python
20 lines
590 B
Python
import re
|
|
import sys
|
|
|
|
def main():
|
|
with open('app/modules/sag/templates/detail.html', 'r', encoding='utf-8') as f:
|
|
html = f.read()
|
|
|
|
# Step 1: Remove max-width: 1400px
|
|
html = html.replace(
|
|
'<div class="container-fluid" style="margin-top: 2rem; margin-bottom: 2rem; max-width: 1400px;">',
|
|
'<div class="container-fluid" style="margin-top: 2rem; margin-bottom: 2rem;">'
|
|
)
|
|
|
|
with open('app/modules/sag/templates/detail.html', 'w', encoding='utf-8') as f:
|
|
f.write(html)
|
|
print("Base container updated.")
|
|
|
|
if __name__ == '__main__':
|
|
main()
|