Fix remove log

This commit is contained in:
Laurent Destailleur 2015-09-06 15:06:13 +02:00
parent aaa639a3ab
commit 822d4d1b39

View File

@ -259,8 +259,7 @@ if (! empty($conf->margin->enabled))
/* Init field buying_price and fournprice */
$.post('<?php echo DOL_URL_ROOT; ?>/fourn/ajax/getSupplierPrices.php', {'idprod': <?php echo $line->fk_product?$line->fk_product:0; ?>}, function(data) {
console.log(data);
if (data && data.length > 0) {
if (data && data.length > 0) {
var options = '';
var trouve=false;
$(data).each(function() {