dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dolibarr-dev] Patch Compta


From: anthony . poiret
Subject: Re: [Dolibarr-dev] Patch Compta
Date: Mon, 30 May 2011 17:26:58 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)

Je reviens sur ce post.

                // - Does not support non , and non . decimal
separator. Solution is to enable this feature for only some languages.

Je n'ai pas saisi ce que tu voulais dire Laurent. J'avais eesayé d'implémenter une fonction JS pour gérer les points et les virgules, si je ne me trompe pas, tu es en train de me dire qu'il en existe une dans les lib de Dolibarr que je n'utilise pas, c'est bien ça?

                // - Does not use dolibarr param rounding. Solution is
to enable this feature for only some languages.

Ce n'est pas price2num? Si c'est bien le cas, j'ai du faire une erreur bête quelque part, je suis sûre d'avoir essayé de l'utilisée pour chaque round...

                // - Other minor bugs: Using an array in memory is not
a good choice when we resubmit form because a required parameter is
missing, array is empty but value must be empty. Dev should use value
into input fields and should not duplicate values. For example after
submitting form and forget the payment mode, values are no more
synchronized.

Tu veux dire qu'il faudrait utiliser les fonction DOM pour récupérer les objets des formulaires plutôt que leurs valeurs, c'est bien ça?

En attendant ta réponse, je vais me remmettre dessus, et voir si je peux faire avancer tout ça.

Cordialement,

Anthony Poiret

"Laurent Destailleur (eldy)" <address@hidden> a écrit :

I tried to include this patch. But i had to comment it with a condition
to disable it because of several problems:

                // - Does not support non , and non . decimal
separator. Solution is to enable this feature for only some languages.
                // - Does not use dolibarr param rounding. Solution is
to enable this feature for only some languages.
                // - Other minor bugs: Using an array in memory is not
a good choice when we resubmit form because a required parameter is
missing, array is empty but value must be empty. Dev should use value
into input fields and should not duplicate values. For example after
submitting form and forget the payment mode, values are no more
synchronized.



Le 09/05/2011 10:46, address@hidden a écrit :
Bonjour à tous,

Vous trouverez ci-joint un patch pour le paiement des factures, ajoutant sur la page de règlement un champ pour indiquer le montant d'un paiement, un bouton par facture pour déduire à ce total le maximum et l'afficher dans le champ associé (le cas échéant, ce bouton peut déduire un montant négatif au champ en question). Calcul et affiche également le montant restant à affecter en fonction du montant payé, sur la ligne de total et à chaque changement de valeur d'un des champs ajouté ou clic sur un bouton js.


Autre sujet, M. De Lambert m'a parlé d'une tâche qui consisterait à donner la possibilité à l'utilisateur de créer des champs personnalisés. Si vous avez des infos ou des détails à ce sujet, je suis preneur.

translation:
Hello everyone,

You will find attached a patch for the payment of the bills, adding the page a field to indicate the amount of any payment, a button per invoice to infer that the maximum total and display it in the associated field (If applicable, this button can deduce a negative amount to the field in question). Calculation and also displays the remaining amount to be allocated according to the amount paid on the total line and at each change in value of an added field or click on a js button.


Another subject, Mr. Lambert told me about a task would be to provide an opportunity for the user to create custom fields. If you have any info or details about it, I'm interested.

Anthony Poiret


_______________________________________________
Dolibarr-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


--
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail: address@hidden
Web: http://www.destailleur.fr

Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: address@hidden
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: address@hidden
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]