[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 51/218: New version of libreoffice use the nu
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 51/218: New version of libreoffice use the numeric in another way |
Date: |
Thu, 12 Sep 2019 15:58:39 -0400 (EDT) |
sparkyx pushed a commit to branch entreprise
in repository noalyss.
commit e12848f5779168a9c26764bec7b385f2c5a81fb1
Author: Dany De Bontridder <address@hidden>
Date: Fri Apr 20 21:36:39 2018 +0200
New version of libreoffice use the numeric in another way
---
include/class/acc_bilan.class.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/class/acc_bilan.class.php
b/include/class/acc_bilan.class.php
index 1dff742..8f17f63 100644
--- a/include/class/acc_bilan.class.php
+++ b/include/class/acc_bilan.class.php
@@ -454,9 +454,14 @@ class Acc_Bilan
/* allow numeric cel in ODT for the formatting and
formula */
if ( is_numeric($a) )
{
+ /* -- for libreOffice < 5 or openoffice -- */
$searched='office:value-type="string"><text:p>'.$f2_str;
$replaced='office:value-type="float"
office:value="'.$a.'"><text:p>'.$f2_str;
$line_rtf=str_replace($searched, $replaced,
$line_rtf);
+ /* -- for libreOffice > 5 -- */
+ $searched='office:value-type="string"
calcext:value-type="string"><text:p>'.$f2_str;
+ $replaced='office:value-type="float"
office:value="'.$a.'" calcext:value-type="float"><text:p>'.$f2_str;
+ $line_rtf=str_replace($searched, $replaced,
$line_rtf);
}
- [Noalyss-commit] [noalyss] 33/218: Task #448 : correct bug if VAT Rate = 0 , amount was reset, (continued)
- [Noalyss-commit] [noalyss] 33/218: Task #448 : correct bug if VAT Rate = 0 , amount was reset, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 39/218: integrate fix for bug in insert_quant_purchase which cannot save private fee, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 41/218: Fix bug quant_purchase , private fee not saved, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 66/218: Remove the default "<div class=content>" which lead to cosmetic bug in the plugins, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 84/218: Style.css Ajout de nowrap, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 91/218: PHP 7.2 : fix incomptability, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 68/218: Documentation, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 43/218: Missing ob_start, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 44/218: Task #448 : add info about currency into History of cards and accounting, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 47/218: typo, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 51/218: New version of libreoffice use the numeric in another way,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 53/218: Missing class : missing class for acc_ledger, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 48/218: Task #448 : add currency to card -> history + export CSV, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 65/218: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 70/218: Merge tag 'rel7008' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 71/218: Check for date and number : isdate and isnumeric, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 87/218: translate, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 82/218: adapt to 7.2 , error with count, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 96/218: Merge branch 'master' into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 73/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12
- [Noalyss-commit] [noalyss] 74/218: Merge branch 'r700-currency' of gitlab.noalyss.eu:noalyss/noalyss into r700-currency, Dany De Bontridder, 2019/09/12