# Qual: Update fields phpdoc to include fields that are defined/used in some cases
comment, copytoclipboard, autofocusoncreated are documented and used in some cases for the
$fields definition
* Initial commit - adding new code
* backup, selector added
* NEW: column fk_iban in sql files
* changing the place of the selector
* fix: solved conflicts
* fix: reverted some extremely minor changes
* NEW_first_version_of_form
* TEST: removing chanbges on one file
* same test
* no idea how it's working
* FIX: button is working again
* First version of task working
* FIX: code cleanup to prepare for PR
* FIX: PR preparation part 2
* Revert "FIX: PR preparation part 2"
This reverts commit d11daa6da9.
* WIP added translated error for no iban found when creating bank transfert
* QUAL: simplifying readability of sql
* FIX: renaming fk_iban to fk_societe_rib
* WIP: new simplification of sql
* NEW: xml updated correctly
* FIX: wysiwig fixes
* FIX: PR preparation
* FIX: reverted default rib for llx_user
* FIX: last changes before standard PR
* Initial commit - adding new code
* backup, selector added
* NEW: column fk_iban in sql files
* changing the place of the selector
* fix: solved conflicts
* fix: reverted some extremely minor changes
* NEW_first_version_of_form
* TEST: removing chanbges on one file
* same test
* no idea how it's working
* FIX: button is working again
* First version of task working
* FIX: code cleanup to prepare for PR
* FIX: PR preparation part 2
* Revert "FIX: PR preparation part 2"
This reverts commit d11daa6da9.
* WIP added translated error for no iban found when creating bank transfert
* QUAL: simplifying readability of sql
* FIX: renaming fk_iban to fk_societe_rib
* WIP: new simplification of sql
* NEW: xml updated correctly
* FIX: wysiwig fixes
* FIX: PR preparation
* FIX: reverted default rib for llx_user
* FIX: last changes before standard PR
* FIX: resolved conflicts
* FIX: fixed automatic check warnings
* FIX: more check warnings fixed
* Update htdocs/compta/facture/prelevement.php
Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>
* FIX: Added intval checks
* FIX: added escape
* FIX: forgot one entity
* FIX: added more escape for travis
* fix: removed an error handling that caused ci/cr conflicts
* fix: bonPrelevement create error that triggered when not error but empty result
* fix: added one space
---------
Co-authored-by: Florian Mortgat <50440633+atm-florianm@users.noreply.github.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW: added column
* NEW: Added the TODO requested feature
* FIX: changed default value to 0 instead of 1, see PR
* NEW: Updated TODO
* Update llx_user_rib.sql
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Qual: 🛟 Fix reference to $db with $this->db
# Qual: reference to $db with $this->db
$db was undeclared, use $this->db.
* Fix suspected issue with environment max size and md5sum working on limited files
* Qual: Fix LDAP typing
* Qual: Fix getNextValue related phan notices (part2)
* Update baseline
* Qual: Fix phan notice
* Qual: Fix PhanTypeMismatchProperty and some other phan notices
* Qual: Phan fixes for BOM
* Phan - fix fields
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Fix $fields phpdoc
* Fix phan typing issues with intermediate var and ??
* Fix phan typing issue with ?? operator
* Ignore htdocs/install/install.forced.php for git
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Update baseline
* Qual: Phan fixes for BOM
* fixup! Qual: Phan fixes for BOM
* Fix phpstan double array keys for syslog
* Qual: Revert to original code, ignore notice
When changing the method to avoid one notice type, another one
appears. So simply ignoring this error.
* Ignore PhanTypeSuspiciousNonTraversableForeach to allow integration
* Fix typing hints (phpstan)
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Update setValueFrom $id type to include null
* Only 2 arguments for ModeleNumRefMembers::getToolTip
* Fix PhanTypeConversionFromArray
* Only 6 args for PaymentSalary::addPaymentToBank
* Fix typing hints (array -> string)
* Fix uninitialized variables
* Add cssview to attributes phpdoc
* Avoid double typing specification (Phan notice)
* Qual: Ensure variable is defined (phan)
* Ensure phpdoc typing for verif method
* Ensure phpdoc typing for getNextValue method
* Add status as data key in cols array
* Ensure preg_replace operates on string (phan)
* Correct type for desiredstock
* Fix typing with casts (phan)
* Fix check that notification already exists
* Initialise fk_parent_id to fix typing issue
* Qual: Fix phan notices for Societe & related
* Qual: Fix typing for Facture and related
* Qual: Fix typing for Product & related
* Update baseline
* Fix new phpstan notices
status = null in database, the we set ->status=0 and ->statut=0, then we
call update(), calling the updateCommon(). Inside the updateCommon that
is into commObject.class.php, the ->status is 0 but ->statut is null
making the update saving null instead of 0.
* 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