diff --git a/composer.json b/composer.json index d92f4e399..2c7eb2eb3 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "robmorgan/phinx": "^0.9.2", "sabre/vobject": "^4.1", "setasign/fpdf": "^1.8", - "smarty/smarty": "2.6.*", + "smarty/smarty": "^5.4", "symfony/monolog-bundle": "*", "symfony/phpunit-bridge": "^3.1", "symfony/symfony": "^3.4", diff --git a/composer.lock b/composer.lock index 7c7ba66d4..04b508a7d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "48fe53083063b2b6e6bc0ab4d0a6501d", + "content-hash": "944cf166c0d3508556fbd3190eff658b", "packages": [ { "name": "algolia/algoliasearch-client-php", @@ -5149,28 +5149,39 @@ }, { "name": "smarty/smarty", - "version": "v2.6.33", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/smarty-php/smarty.git", - "reference": "533fa2abe308dcc009c7bdab977d530b32408346" + "reference": "c6bff5795081ca5e60aabda59fb87daa511acd1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/smarty-php/smarty/zipball/533fa2abe308dcc009c7bdab977d530b32408346", - "reference": "533fa2abe308dcc009c7bdab977d530b32408346", + "url": "https://api.github.com/repos/smarty-php/smarty/zipball/c6bff5795081ca5e60aabda59fb87daa511acd1e", + "reference": "c6bff5795081ca5e60aabda59fb87daa511acd1e", "shasum": "" }, "require": { - "php": ">=5.2" + "php": "^7.2 || ^8.0", + "symfony/polyfill-mbstring": "^1.27" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^7.5", + "smarty/smarty-lexer": "^4.0.2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0.x-dev" + } + }, "autoload": { - "classmap": [ - "libs/Smarty.class.php", - "libs/Smarty_Compiler.class.php", - "libs/Config_File.class.php" - ] + "files": [ + "src/functions.php" + ], + "psr-4": { + "Smarty\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5184,20 +5195,27 @@ { "name": "Uwe Tews", "email": "uwe.tews@googlemail.com" + }, + { + "name": "Rodney Rehm", + "email": "rodney.rehm@medialize.de" + }, + { + "name": "Simon Wisselink", + "homepage": "https://www.iwink.nl/" } ], "description": "Smarty - the compiling PHP template engine", - "homepage": "http://www.smarty.net", + "homepage": "https://smarty-php.github.io/smarty/", "keywords": [ "templating" ], "support": { - "forum": "http://www.smarty.net/forums/", - "irc": "irc://irc.freenode.org/smarty", - "issues": "http://code.google.com/p/smarty-php/issues/list", - "source": "https://github.com/smarty-php/smarty/tree/v2.6.33" + "forum": "https://github.com/smarty-php/smarty/discussions", + "issues": "https://github.com/smarty-php/smarty/issues", + "source": "https://github.com/smarty-php/smarty/tree/v5.4.3" }, - "time": "2021-10-23T12:46:52+00:00" + "time": "2024-12-23T00:38:44+00:00" }, { "name": "symfony/monolog-bundle", diff --git a/htdocs/templates/administration/compta_balance.html b/htdocs/templates/administration/compta_balance.html index 1112bc547..e014c3529 100644 --- a/htdocs/templates/administration/compta_balance.html +++ b/htdocs/templates/administration/compta_balance.html @@ -35,14 +35,14 @@

Balance comptable

{$ecriture.debit|floatval|number_format:2:',':' '} {$ecriture.credit|floatval|number_format:2:',':' '} - - Balance comptable {elseif $action == 'view'}