Routes
| Route | Description |
|---|---|
/contracts | Contracts list |
/create-contracts | Create a new contract |
/contract-details | Contract detail and PDF |
/create-addendum | Add an addendum to a contract |
/addendum-details | Addendum detail and PDF |
/contracts-legal | Legal contracts list |
/contracts-legal-create | Create a new legal contract |
/contracts-legal-detail | Legal contract detail |
Contract types
- Commercial contracts
- Legal contracts
Commercial contracts record the business agreement between TMT and a client (producer or venue). They contain:
- Título del Contrato — The contract’s display name.
- Identificador del Contrato — A unique reference code for tracking.
- Cliente — The client this contract belongs to.
- Fecha del Contrato — The date the contract was signed or effective.
- Descripción — A summary of the agreement terms.
- Documento PDF — The signed contract file, uploaded to Firebase Storage.
Creating a contract
Select the client
Choose the client from the Cliente dropdown. The list is populated from active client accounts in the platform.
Set the contract date
Use the date picker to set the Fecha del Contrato. The date cannot be in the future.
Fill in contract details
Enter:
- Título del Contrato — A descriptive name for the contract.
- Identificador del Contrato — A unique internal reference ID.
- Descripción — A free-text summary of the agreement.
Upload the PDF
Drag and drop the signed contract PDF into the file drop zone, or click to browse. Only
.pdf files are accepted. Exactly one file is required.Viewing a contract
Navigate to/contract-details?id={contractId} to view full contract information, including the linked client, contract date, description, and a link to download or view the PDF document.
Creating an addendum
Addendums extend an existing contract with amendments, updated terms, or supplementary agreements. You can add multiple addendums to a single contract.Open the addendum form
From the contract detail page, click Crear Addendum, or navigate directly to
/create-addendum. The form is linked to the parent contract by ID.Complete the addendum fields
The form mirrors the contract form: provide a title, reference identifier, description, and upload the addendum PDF.
Viewing an addendum
Navigate to/addendum-details?id={addendumId} to view the full addendum record and access the PDF.
Legal contracts
Legal contracts follow the same create-and-view workflow as commercial contracts but are accessed through the/contracts-legal route group.
Create a legal contract
Click Crear Contrato Legal to open
/contracts-legal-create. Fill in the title, reference ID, description, and upload the PDF.PDF export
Both commercial and legal contracts store their documents as files in Firebase Storage. The download URL is saved in the Firestore record under thedocument field and is available directly from the detail view. No additional export step is required — click the document link to open or download the PDF.
Permissions
Access to contracts is governed by the following CASL subjects:| Action | Subject |
|---|---|
| View contract list | ViewContracts |
| View contract detail | ViewContractsDetail |
| Create contract | ViewContractsCreate |
| View addendum list | ViewAddendum |
| View addendum detail | ViewAddendumDetail |