This project implements an automated system for generating contracts. The system works as follows:
- π The user fills out an HTML form with the contract information.
- πΎ Form data is saved in JSON format in a database.
- β Database information is validated.
- π The contract template is populated with validated information from the database.
- π¨οΈ The contract print layout is displayed to the user.
- π₯ The user can click a button to generate a PDF of the contract.
/automation-contract
βββ code
β βββ contracts
β β βββ associate
β β β βββ associated.html
β β β βββ associated.css
β β βββ car_sale
β β β βββ sale_car.html
β β β βββ sale_car.css
β β βββ house_sale
β β β βββ sale_casa.html
β β β βββ sale_casa.css
β β βββ land_sale
β β βββ sale_land.html
β β βββ sale_land.css
β βββ forms
β β βββ contract_form.py
β βββ services
β βββ form_validation
β β βββ convert_form_input_to_json.py
β βββ fill_contract_template_with_json.py
β βββ generate_pdf.py
β βββ show_contract.py
βββ docs
β βββ README.md
β βββ code_of_conduct.md
βββ tests
β βββ test_contract_form.py
β βββ test_contract_generation.py
βββ assets
βββ images
β βββ associated.jpg
β βββ sale_carro.png
β βββ sale_casa.pdf