mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
usd rates for conference
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
frappe.ready(function() {
|
||||
// bind events here
|
||||
var calculate = function() {
|
||||
var amount = parseInt($('input[name="full_conference_tickets"]').val() || 0) * 100
|
||||
+ parseInt($('input[name="user_conference_tickets"]').val() || 0) * 300;
|
||||
var amount =
|
||||
(parseInt($('input[name="full_conference_tickets"]').val() || 0) * 10)
|
||||
+ (parseInt($('input[name="user_conference_tickets"]').val() || 0) * 50);
|
||||
$('input[name="amount"]').val(amount);
|
||||
$('input[name="amount"]').closest('.form-group').toggleClass('has-error', amount == 0);
|
||||
};
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<br>Includes Lunch
|
||||
</td>
|
||||
<td>
|
||||
$100
|
||||
$50
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -40,7 +40,7 @@
|
||||
<br>Includes Lunch
|
||||
</td>
|
||||
<td>
|
||||
$30
|
||||
$10
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user