-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into classfiles/2
- Loading branch information
Showing
20 changed files
with
128 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
* Copyright (C) 2005-2009 Regis Houssin <[email protected]> | ||
* Copyright (C) 2007 Rodolphe Quiedeville <[email protected]> | ||
* Copyright (C) 2013 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -60,7 +61,7 @@ | |
setEventMessages($langs->trans("SetupSaved"), null, 'mesgs'); | ||
} else { | ||
$db->rollback(); | ||
setEventMessages($error, null, 'errors'); | ||
setEventMessages($langs->trans("Error"), null, 'errors'); | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?php | ||
/* Copyright (C) 2015 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2015 Víctor Ortiz Pérez <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
/* Copyright (C) 2015 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2015 Víctor Ortiz Pérez <[email protected]> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2024 Frédéric France <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -139,7 +140,7 @@ function dol_convertToWord($num, $langs, $currency = '', $centimes = false) | |
$concatWords .= ' '.$langs->transnoentities('and'); | ||
} | ||
|
||
$concatWords .= ' '.dol_convertToWord($decimalpart, $langs, '', true); | ||
$concatWords .= ' '.dol_convertToWord((float) $decimalpart, $langs, '', true); | ||
if (!empty($currency)) { | ||
$concatWords .= ' '.$langs->transnoentities('centimes'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2014-2023 Frederic France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2014-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/* | ||
* Copyright (C) 2014-2019 Frédéric France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* Copyright (C) 2014-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.