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, [email protected] 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
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
--
Eldy (Laurent Destailleur).
---------------------------------------------------------------
EMail: [email protected]
Web: http://www.destailleur.fr
Dolibarr (Project leader): http://www.dolibarr.org
To make a donation for Dolibarr project via Paypal: [email protected]
AWStats (Author) : http://awstats.sourceforge.net
To make a donation for AWStats project via Paypal: [email protected]
AWBot (Author) : http://awbot.sourceforge.net
CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev