mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 23:52:24 +01:00
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
/* Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2015 Víctor Ortiz Pérez <victor@accett.com.mx>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
/* Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2015 Víctor Ortiz Pérez <victor@accett.com.mx>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* 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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user