Merge pull request #1708 from rahul2240/total
Fix total price for tickets
This commit is contained in:
commit
9eeb482190
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ function update_price($this){
|
||||||
// Calculate total price
|
// Calculate total price
|
||||||
var total = 0;
|
var total = 0;
|
||||||
$('.total_row').each(function( index ) {
|
$('.total_row').each(function( index ) {
|
||||||
total += parseInt($(this).text());
|
total += parseFloat($(this).text());
|
||||||
});
|
});
|
||||||
$('#total_price').text(total);
|
$('#total_price').text(total);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue