* API setup get country dictionary: load region and load states now an option
* Adding load region and state to the long list of countries + hurl tests for this and on getting by id, code and ISO
* Create CcountryExtended which is a Ccountry object with regions and states included
* pre-commit hook fix
* fix PhanTypeMismatchProperty
* fix php-stan
* circumvent phan that complains about parameter order
* no special function for fetching ccountryextended as we add the states and regions in the API functions
* Using API functions to insert states and regions when requested
* always use extended country
---------
Co-authored-by: Jon Bendtsen <jonbendtsen@jonb.dk>
* Refactor module setup UI to group numbering and document models into single sections
Avoid duplicate “Numbering models” and “Document models” blocks per object
Render one section per type with grouped rows per object
Add pre-checks to skip sections when no models are available
Fix document model filtering per object (avoid cross-listing)
Reset file list per directory scan to prevent duplicates
* FIX CI Error `Error: If condition is always false.` and `Error: Unreachable statement - code above always terminates.`
* - Remove duplicate `Access control` statement
- Replace `header(...);return;` with ``header(...);exit;``
* Fix PHP Stan errors
Add a new translation string to make the text "PotentialKitsFromStock" appear in your chosen language. New string: PotentialKitsFromStock
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
sendTicketMessageByEmail() unconditionally told the admin
'No mail sent. Feature is disabled by option MAIN_DISABLE_ALL_MAILS'
whenever sendfile() returned false and $mailfile->error was empty.
sendfile() can also fail with an empty error on transient SMTP
errors or connection timeouts, so the message lied whenever
MAIN_DISABLE_ALL_MAILS was not actually configured — confusing
admins about why delivery failed.
Branch on getDolGlobalString('MAIN_DISABLE_ALL_MAILS'):
* true -> keep the disabled-feature notice
* false -> fall through to ErrorFailedToSendMail and a syslog
entry noting sendfile() returned false with no
specific error.
Fixes#37994
Signed-off-by: SAY-5 <say.apm35@gmail.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Add default bank account field on third party creation form
* Fix fk_account check to handle -1 value
* Update card.php
---------
Co-authored-by: Zakaria Boushaba <z.boushaba@vold.africa>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>