Merge branch 'master' into r700-currency

This commit is contained in:
Dany De Bontridder 2018-12-25 11:45:55 +01:00
commit f0499ac12b

View file

@ -1271,15 +1271,14 @@ function save_predf_op(obj)
*amount_id is either a html obj. or an amount and the field tiers if given
* @param {type} dossier
* @param {type} ctl_concern
* @param {type} amount_id
* @param {type} ledger
* @param {float or string} amount_id Amount or DOM Id of the element containing the amount
* @param {float} ledger
* @param {type} p_id_targetDom Element (div) where to display the search result
* @param p_tiers id of the Tiers
* @returns {undefined}
*/
function search_reconcile(dossier, ctl_concern, amount_id, ledger, p_id_target,p_tiers)
{
var dossier = g('gDossier').value;
if (amount_id === undefined)
{
amount_id = 0;
@ -1295,7 +1294,7 @@ function search_reconcile(dossier, ctl_concern, amount_id, ledger, p_id_target,p
amount_id = $(amount_id).innerHTML;
}
}
var tiers=""
var tiers="";
if ( p_tiers ) tiers=p_tiers;
var target = "";
if ( p_id_target !="") {