Skip to main content
TMT’s contracts module lets you formalize agreements between the platform and its clients or venues. Each contract can be supplemented with one or more addendums for amendments, and a separate legal contracts register holds statutory and regulatory documents.

Routes

RouteDescription
/contractsContracts list
/create-contractsCreate a new contract
/contract-detailsContract detail and PDF
/create-addendumAdd an addendum to a contract
/addendum-detailsAddendum detail and PDF
/contracts-legalLegal contracts list
/contracts-legal-createCreate a new legal contract
/contracts-legal-detailLegal contract detail

Contract types

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.
Contracts can be extended with addendums without creating a new contract.

Creating a contract

1

Open the create form

Navigate to /contracts and click Crear Contrato to go to /create-contracts.
2

Select the client

Choose the client from the Cliente dropdown. The list is populated from active client accounts in the platform.
3

Set the contract date

Use the date picker to set the Fecha del Contrato. The date cannot be in the future.
4

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.
5

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.
6

Save

Click Guardar. The PDF is uploaded to Firebase Storage under contracts/{contractId}/, and the contract record is written to Firestore. On success, you are redirected to /contracts.

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.
1

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.
2

Complete the addendum fields

The form mirrors the contract form: provide a title, reference identifier, description, and upload the addendum PDF.
3

Save

Click Guardar. The addendum is stored in Firestore and its PDF is saved to Firebase Storage. After saving, the addendum appears in the contract’s detail view.

Viewing an addendum

Navigate to /addendum-details?id={addendumId} to view the full addendum record and access the PDF. Legal contracts follow the same create-and-view workflow as commercial contracts but are accessed through the /contracts-legal route group.
1

Navigate to legal contracts

Go to /contracts-legal to see the list of all legal contracts.
2

Create a legal contract

Click Crear Contrato Legal to open /contracts-legal-create. Fill in the title, reference ID, description, and upload the PDF.
3

View a legal contract

Click any row in the list to open /contracts-legal-detail and view the full record.

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 the document 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:
ActionSubject
View contract listViewContracts
View contract detailViewContractsDetail
Create contractViewContractsCreate
View addendum listViewAddendum
View addendum detailViewAddendumDetail
See Roles and access control for how these permissions are assigned to each role.

Build docs developers (and LLMs) love