Améliorations cosmétiques
This commit is contained in:
parent
846a651008
commit
cdc52e324b
2 changed files with 4 additions and 5 deletions
|
|
@ -1,9 +1,5 @@
|
|||
{{* -*- brindille -*- *}}
|
||||
|
||||
{{if $_GET.ok == 1}}
|
||||
<p class="block confirm">Configuration enregistrée.</p>
|
||||
{{/if}}
|
||||
|
||||
{{* lecture config (défaut ou enregistrée) *}}
|
||||
{{:include file="./_get_config.html" keep="module.config, config_defaut"}}
|
||||
|
||||
|
|
@ -51,6 +47,9 @@
|
|||
|
||||
{{:admin_header title="Configuration" custom_css="./style.css" current="module_amortissement"}}
|
||||
{{:include file="_nav.html" current="config"}}
|
||||
{{if $_GET.ok == 1}}
|
||||
<p class="block confirm">Configuration enregistrée.</p>
|
||||
{{/if}}
|
||||
|
||||
{{* récupérer l'exercice courant ou sinon le plus récent *}}
|
||||
{{:assign var="selected_year" from="logged_user.preferences.accounting_year"}}
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ function setDateEnd(id_exercices, id_date, id_years) {
|
|||
|
||||
// renvoyer la valeur numérique d'un montant formaté en €
|
||||
function getNumber(text) {
|
||||
return Number(text.replace(/[ \xa0]/g, '').replace(/,/, '.').replace(/€/, ''));
|
||||
return Number(text.replace(/[^0-9,]/g, '').replace(/,/, '.'));
|
||||
}
|
||||
|
||||
// calculer le montant d'un amortissement
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue