Merge pull request #1708 from rahul2240/total

Fix total price for tickets
This commit is contained in:
Ana María Martínez Gómez 2017-09-19 10:21:13 +02:00 committed by GitHub
commit 9eeb482190

View file

@ -9,7 +9,7 @@ function update_price($this){
// Calculate total price
var total = 0;
$('.total_row').each(function( index ) {
total += parseInt($(this).text());
total += parseFloat($(this).text());
});
$('#total_price').text(total);
}