Module Contract (developer)

Numero/ID of module 54
User doc. of module Module Contracts
Developer doc. of module This page


Module to manage contracts of services

Entity Contract

The PHP class to use to manipulate such object is file htdocs/contrat/class/contrat.class.php.

It contains CRUD methods to create (C), read (R), update (U) and delete (D) this object.

Life cycle of a contract

Status of contracts:

  • 0 : Draft (This call trigger CONTRACT_CREATE)
  • 1 : Contract is not a draft. In this case, its status is status of all contract lines.

Entity Line of contract

Status of contract lines

  Page waiting to complete. To complete, create an account, go back and clic on "Modify".
  Page en attente d'être complété. Pour compléter, créez un compte, revenez et cliquez sur "Modifier".
  Página a completar. Para completarla, cree una cuenta, vuelva a la página y haga clic en "editar"
  Seite wartet auf Vervollständigung. Um zu helfen, erstelle ein Konto, gehe zurück und klicke auf "Bearbeiten".


  • ->contrat->lire
  • ->contrat->creer
  • ->contrat->activer
  • ->contrat->desactiver

Tables SQL