Skip to content

Commit

Permalink
da formato de millares a cantidad de proveedor
Browse files Browse the repository at this point in the history
  • Loading branch information
numeroteca committed Mar 5, 2018
1 parent fd007d6 commit 4ee3ab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zaragoza/facturas/2017/js/dataviz.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ d3.tsv("data/viplist_factzgz2017.tsv", function(error, data) {//reads the viplis
})
totales.select("div.overlapped").style("width",totalsDomain(suma));
d3.select(this).transition().duration(0).attr("class","btn-success"); //adds class success to button
filtros.select('#filterlayout1').html("<strong>" + d.people + "</strong> <br>Importe: <strong>" + d.importe + "€</strong><br>nº de contratos: " + d.ncontratos + "").style('opacity','1.0'); //write in description
filtros.select('#filterlayout1').html("<strong>" + d.people + "</strong> <br>Importe: <strong>" +
formatThousand(parseFloat(d.importe).toFixed(2)) + "€</strong><br>nº de contratos: " + d.ncontratos + "").style('opacity','1.0'); //write in description

//second time
} else if (d3.select(this).attr('class')==='btn-success'){
Expand Down

0 comments on commit 4ee3ab9

Please sign in to comment.