Difference between revisions of "Module Donations (developer)"
Jump to navigation
Jump to search
m |
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.) |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- BEGIN origin interlang links --> | ||
+ | <!-- You can edit this section but do NOT remove these comments | ||
+ | Links below will be automatically replicated on translated pages by PolyglotBot --> | ||
+ | [[fr:Module_Dons_(développeur)]] | ||
+ | [[es:Módulo_Donaciones_(desarrollador)]] | ||
+ | <!-- END interlang links --> | ||
+ | |||
[[Category:Donation]] | [[Category:Donation]] | ||
+ | {{TemplateDocDev}} | ||
+ | {{TemplateModEN Developer}} | ||
{{BasculeDevUserEn| | {{BasculeDevUserEn| | ||
− | name= | + | name=Donations| |
+ | num=700| | ||
devdoc=This page| | devdoc=This page| | ||
− | userdoc=[[Donations]]| | + | userdoc=[[Module Donations]]|}} |
− | |||
− | |||
− | = | + | = Feature = |
+ | The donation module allows you to manage donations (promises, payments). | ||
− | + | = Entity Donation = | |
+ | {{TemplateDocDevEntityEn| | ||
+ | class=''htdocs/compta/dons/class/don.class.php''}} | ||
− | '' | + | '''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 = | = Permissions = | ||
Line 32: | Line 33: | ||
= Tables SQL = | = Tables SQL = | ||
* [[Table llx don|llx_don]] | * [[Table llx don|llx_don]] | ||
+ | |||
+ | = Constants = | ||
+ | * DON_ADDON_MODEL | ||
+ | * DON_FORM |
Latest revision as of 13:21, 23 July 2019
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