mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Changed some text is populate.
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ $(function() {
|
||||
var sum = Number(v.check) + Number(v.cash);
|
||||
$("#" + k + "_sum span").text("$" + sum.toFixed(2));
|
||||
|
||||
// Difference
|
||||
// Difference (regexp - good up to 6 places and 2 digits)
|
||||
var deposit_amount = $('input[name="' + k + '"]').parent().prev().prev().text().replace(/\$(\d*(?:,\d{3})*\.\d*)\s+/, "$1" );
|
||||
deposit_amount = deposit_amount.replace(/,/, "");
|
||||
if (deposit_amount != 0) {
|
||||
|
||||
Reference in New Issue
Block a user