mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-16 09:54:26 +01:00
qual: Update french texts (comments) to english (#37009)
* 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>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* Copyright (C) 2016-2022 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2021-2025 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2022 Gauthier VERDOL <gauthier.verdol@atm-consulting.fr>
|
||||
* Copyright (C) 2024-2025 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024-2026 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 William Mead <william.mead@manchenumerique.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -2151,7 +2151,7 @@ class Commande extends CommonOrder
|
||||
$result = $remise->fetch($idremise);
|
||||
|
||||
if ($result > 0) {
|
||||
if ($remise->fk_facture) { // Protection against multiple submission
|
||||
if ($remise->fk_facture) { // Protection against multiple submissions
|
||||
$this->error = $langs->trans("ErrorDiscountAlreadyUsed");
|
||||
$this->db->rollback();
|
||||
return -5;
|
||||
@@ -2161,7 +2161,7 @@ class Commande extends CommonOrder
|
||||
|
||||
$line->fk_commande = $this->id;
|
||||
$line->fk_remise_except = $remise->id;
|
||||
$line->desc = $remise->description; // Description ligne
|
||||
$line->desc = $remise->description; // Description for the order line
|
||||
$line->vat_src_code = $remise->vat_src_code;
|
||||
$line->tva_tx = $remise->tva_tx;
|
||||
$line->subprice = -(float) $remise->amount_ht;
|
||||
|
||||
Reference in New Issue
Block a user