* Qual: Update comments from French to English
# Qual: Update comments from French to English
* Qual: Fix missing initialisations
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
When a create action fails and rolls back, several list/card pages
restore origin parameters by assigning $_POST values directly to
$_GET. This causes 'undefined array key' warnings on PHP 8.1+ if
the POST data is missing or malformed.
Replace raw $_POST['origin'] with GETPOST('origin', 'alpha') and
raw $_POST['originid'] with GETPOSTINT('originid') which safely
handle missing parameters.
Files fixed:
- htdocs/expedition/list.php
- htdocs/fourn/commande/list.php
- htdocs/commande/list.php
- htdocs/compta/facture/card.php
- htdocs/reception/list.php
These files had TODO-style comments ('Keep this ?', 'Keep GET and
POST here ?') indicating the pattern was already questionable.
Co-authored-by: f-hoedl <hoefla14@htl-kaindorf.ac.at>
* Fixed delivery date from order
* Updated comment
* Fixed delivery date from order
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* NEW : Manage remise for all lines for supplier elements.
* Cast remise_percent to float in updateline call
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Using a packaging with a float value less than 1 (0.1, 0.5, etc.) generates a 500 error (division by 0)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Eric - CAP-REL <1468823+rycks@users.noreply.github.com>
* qual: Update french texts (comments) to english
* Qual: Update comment to english in card-rec.php and card.php
Translation of comments in the files card-rec.php and card.php.
* Qual: Translate comments to English
* Qual: Translate comments to English
* Fix space into tab
* Fix spelling
* Qual: Translate comments to English
* Update website.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
- Keep the presend form open after applying an email template.
- Use getDolGlobalString('SUPPLIER_PAYMENT_ADDON_PDF') (no direct ->global access).
- Ensure a PDF model is selected (fallback to first available or standard_supplierpayment) so receipt generation/attachment works.
Signed-off-by: Camino Travel Center <noreply@caminotravelcenter.com>
Co-authored-by: Camino Travel Center <noreply@caminotravelcenter.com>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
* New hooks and data for ajax getSupplier price
* Fix header
* Quality of code : remove PHP from js code part 02
* Quality of code : remove PHP from js code part 02
* Quality of code : remove PHP from js code part 02
* remove last php
* import last develop changes
* Update objectline_create.tpl.php
---------
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>