Difference between revisions of "Module Donations (developer)"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
Line 26: Line 26:
 
= Tables SQL =
 
= Tables SQL =
 
* [[Table llx don|llx_don]]
 
* [[Table llx don|llx_don]]
 +
 +
= Constants =
 +
* DON_ADDON_MODEL
 +
* DON_FORM

Revision as of 12:40, 1 October 2009

Donations
Numero/ID of module {{{num}}}
User doc. of module Donations
Developer doc. of module This page

Feature

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

Number : 700

Entity Donation

The PHP class to use to manipulate such object is file htdocs/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