* Add missing info for proper use and creation of template invoice
* Add missing info for proper use and creation of template invoice
* fix trans of generated invoice
As commented in #23782 this update is to clean and clarify the code for future evolution of stocktodate.
In fact the calculated value in the SQL request is the current stock value and not the estimated stock value at date value.
Therefore I changed in SQL request the estimatedvalue to currentvalue and reused as a variable for a better understanding and for future use (other PR) as it will be interesting to get a comparison between stockatdate value to currentstock value. Also some others changes are required to improve the page speed.
* New option to define the start period of a first subscription
add default date of starting (year, month or subscription payment)
add delay for subscription period
* Update member.php
* Fix period for statistique if delay is set
* NEW functionality for request_transfer
* fix problem
* fix problem in transferBank
* fix request sql
* ajust functions for salary invoices
* add badges for each onglet invoice and salary
* Fix update in table bon_prelevement for amount
* Fix in section virement_request list of bonPrelevements
* for prelevemts lignes
* for prelevemts lignes
* update sql for get lignes prelevement with correct info
* update sql for get lignes prelevement with correct info
* add function for check if invoice salaries
* adjust bonprelevement for get salaries
* fix incoherences in create function for class BonPrelevement
* fix request sql for insert in prelevement ligne table
* fix problems and incoherences
* remove parametre from function
* add parenthensises for cast in sql request
* disable button when make demande virement
* fix condition for type
* fix conflit "
* fix whitespace
* fix condition for sourcetype
* fix page demandes.php for list salaries invoices
* add prefix db
* fix incoherences for conditions
* Update virement_request.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>