* Update clientfourn.php
correction of a sql request returning a buggy result.
Instead of the sum of the different donations payments the request returned the number of payment multiplied by the global amount of donation.
* Update payment.php - Transmitter field and bank name for donation
Add transmitter and bank names field to donation payment.
Extra added fields are copy-paste from htdoc/compta/paiment.php
* Update payment.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* pricate function _fetch that fetches the attendee data based on either (row)id or referece
* NEW: endpoints GET event atteendee by ID or REF
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* pricate function _fetch that fetches the attendee data based on either (row)id or referece
* NEW: endpoints PUT (update) event atteendee by ID or REF
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* insertExtrafields(): simplify by returning 0 early if array_options is empty
* insertExtrafields(): simplify by using local variables $newValue and $attributeType
* insertExtrafields(): refactor by grouping the empty value cases for geodatabase-type extrafields
* insertExtrafields(): refactor by using a static mapping of geodata types to their ST_* db function on ExtraField class
* FIX: when an object that is shared across multiple entities already has some extrafields from another entity that are not reachable from the current entity, their values are lost
* Compliance with
- phan ( Closure Closure($key) has no declared or inferred parameter type for $key)
- php-stan (Error: Property ExtraFields::$geoDataTypes has no type specified)