* Allow creating contact via api with ISO code
Add handling for country code to country ID mapping for api.
* use dol_getIdFromCode
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
- Added `--quiet` or `-q` option to disable informational output
- Updated help message to include the new option
- Modified print functions to respect quiet mode
When generating EPC QR codes on an invoice, any partial payments already made are taken into account. The remaining balance (the value of "Remaining unpaid") is then entered as the amount in the EPC QR code.
* remove hurl test that requires a contract to exist
* change emailtemplates hurl tests to work when there is debug information in the API response
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* Fix: test for existing DOLAPIKEY before trying to get it using username and password
* remove the print statement that made the API key be wrong
* writing print_info to stderr
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
* Fix hurl assert for API warehouses to new reply from Dolibarr
* Asserting with jsonpath can handle if there are extra keys in the json like debug which mdeweerd experienced
---------
Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Permissions involved:
- hrm->evaluation->readall: the user can view anyone's evaluations
- hrm->evaluation->read: the user can only view their or their subordinates' evaluations
* NEW : add product_type field on fichinter (preparing subtotal)
Added product_type to SQL queries for fetch, insert, and update methods.
field already present on table, so let start add subtotal on interventionals
* Update fichinterligne.class.php
* Update copyright information in card-rec.php
Updated copyright year and name for Charlie Benke.
* Update fichinterligne.class.php
* Update fichinterligne.class.php
* Update fichinterligne.class.php
* Update fichinterligne.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* FIX Accountancy - Discount wrong function & problem HTML injection
* FIX Accountancy - Wrong base for already / not yet function - Piece_num is not enough strong et editable
* FIX Accountancy - Discount - Use closing date rather than the invoice date
* FIX
* PHPPhan
* Update accountingjournal.class.php
* Update accountingjournal.class.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* 🐛 Fix PhanTypeMismatchProperty error in invoice creation
The error occurred due to incorrect type handling in the invoice creation process. The changes fix this by properly handling the subtype field as an integer. This ensures type consistency and prevents potential runtime errors.
* FIX: Correct assignment to linkedObjectsIds in card.php
# FIX: Correct assignment to linkedObjectsIds in card.php
Modified the structure of linkedObjectsIds to include the rowid as a key to match the property type.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* Remove 'supplier_invoice' from old path array
* Update module path in arrayforoldpath
Sorry Eldy, I was confused. You are absolutely right, it is already corrected.
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>