* NEW input reason for customer invoice
* Fix CI error
* Fix format fk_input_reason in array of fileds
* Add invoices in translate key of source dictionary
* PERF: hidden var to limit list of invoices for credit note list
* Update facture.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Add hook before each generated invoice by createRecurringInvoices
* Update new hook to respect parameters constraints
* Add global action
* Move "global $action" at the beginning of the function
* Update facture-rec.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Arnaud Serrut <arnaud.serrut@gmail.com>
* feat(facture): group classic fetch and fetch optionals depending on conf
* feat(facture): group new fetch optionals
* feat(facture): group new fetch optionals for lines
* chore: phan fixes
* feat(factureligne): grouped fetch and fetch optionals
* Fix regression in missing $conf
* Update factureligne.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
# Fix#33689 - missing rename
Assignment to $result in code before fixing phan notice
seem be an error, but in fact the assignment is useless
and the code only expects a potential exception.
* linking member subscription contribution <-> proposal, order and invoice
This can both be done manually from an existing proposal/order/invoice to a subscription created without creating an invoice. I use this when we sell memberships as part of registration for our membership classes.
The link will also be shown on the invoice that can be created as part of the subscription contribution creation.
These links show up in the json from the API on proposals, orders and invoices. The subscription does not show anything. It is currently unknown if the API can do this link or it will have to be done manually in the GUI.
* Update html.form.class.php
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fix fatal trying to do a sub between an int and a string
* fix trad unknow issue
* Update card.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
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.
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.
* Add sold amount on api call (V2)
other way to implement it
* Update api_bankaccounts.class.php
Use the non deprecated property name.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX : If the global INVOICE_CAN_NEVER_BE_EDITED disabled the action 'modify' of a invoice, we test in the point of entry of the action and not after we make many useless tests
* Correction