Module Donations (developer)

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Donations
Numero/ID of module 700
User doc. of module Module Donations
Developer doc. of module This page

Feature

The donation module allows you to manage donations (promises, payments).

Entity Donation

The PHP class to use to manipulate such object is file htdocs/compta/dons/class/don.class.php.

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

Life cycle:

  • Donation is created with status Draft = Promise not validated
  • Donation is validated if promise is validated
  • Donation is then changed to status payed

Permissions

  • ->don->lire
  • ->don->creer

Tables SQL

Constants

  • DON_ADDON_MODEL
  • DON_FORM