mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
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
|
||||
var total = 0;
|
||||
$('.total_row').each(function( index ) {
|
||||
total += parseInt($(this).text());
|
||||
total += parseFloat($(this).text());
|
||||
});
|
||||
$('#total_price').text(total);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue