* Update bonprelevement.class.php
Problem
When creating the file sepa ( Direct Debit File) if the amount ends in 0, such as 50.60, the program generates the file with rounding 50.6.
Some banks, for example, La Caixa (CaixaBank) do not accept the direct debit file if the decimal number does not have two digits.
Solution:
What I propose is to create a configuration variable called SEPA_ROUND_TWO_ZERO that allows for a two-digit rounding even if it ends in 0. That is, if the amount is 50.6, the file will be generated with the amount 50.60.
* Update bonprelevement.class.php
As you have told me, I have used the price2num function with the 'MT' parameter but I have also had to use the number_format function since this function, when passing a value like 6.50, returns 6.5 and I need it to return 6.50 as i explained to you at the beginning of the request
* Update bonprelevement.class.php
* Update bonprelevement.class.php
change in format code
* Update bonprelevement.class.php
format in de code
* Update bonprelevement.class.php
format in code
* Update bonprelevement.class.php
format file
* Update bonprelevement.class.php
* Update bonprelevement.class.php
* Update bonprelevement.class.php
* Update bonprelevement.class.php
* Update bonprelevement.class.php
* NEW: new const to redirect to unique generated invoice from massaction
* NEW: new const to redirect to invoice list from massaction
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fix : Warning: Undefined variable in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/compta/bank/various_payment/list.php on line 370
* backward
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_product_standard.php on line 187
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php on line 188
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 83
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/core/class/html.formbarcode.class.php on line 84
* fix :Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 460
* fix : Warning: Undefined property: stdClass:: in /home/httpd/vhosts/aflac.fr/domains/dol190.aflac.fr/httpdocs/admin/barcode.php on line 471
* Update mod_barcode_product_standard.php
* Update mod_barcode_thirdparty_standard.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Update card.php to allow pdf preview even without thumbnail
In the event of a bug of imagick, PDF are not generating image.png and there is no link to open the PDF reader.
Changing to allow opening of PDF reader by clicking on the icon.
* Eurgh, whitespaces
* Update card.php
* Update card.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* fix: when invoice is created by WORKFLOW_ORDER_AUTOCREATE_INVOICE on ORDER_CLOSE, the invoice must have the default bank account of the thirdparty is it's empty on order
* fix: add control on back stattement
TASK_CREATE Trigger should be called after insertExtraFields (like in TASK_MODIFY trigger) otherwise TASK_CREATE Trigger will be without projet_task_extrafields record