|
@@ -1,7 +1,7 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<br/> |
|
2
|
2
|
<span class="js-pmt-payment-type"></span> |
|
3
|
3
|
<div class="PmtSimulator" style="display:none" |
|
4
|
|
- data-pmt-num-quota="<?php echo $settings['min_installments'] ; ?>" |
|
|
4
|
+ data-pmt-num-quota="<?php echo $settings['min_installments']; ?>" |
|
5
|
5
|
data-pmt-max-ins="<?php echo $settings['max_installments']; ?>" data-pmt-style="blue" |
|
6
|
6
|
data-pmt-type="<?php echo $settings['simulator_product']; ?>" |
|
7
|
7
|
data-pmt-discount="0" data-pmt-amount="" |
|
@@ -53,17 +53,17 @@ discard block |
|
|
block discarded – undo |
|
53
|
53
|
} |
|
54
|
54
|
|
|
55
|
55
|
// CONFIG VARS |
|
56
|
|
-var min_amount = '<?php echo $settings['min_amount'];?>'; |
|
|
56
|
+var min_amount = '<?php echo $settings['min_amount']; ?>'; |
|
57
|
57
|
min_amount = (min_amount != '') ? parseFloat(min_amount) : '0.00'; |
|
58
|
58
|
|
|
59
|
|
-var max_amount = '<?php echo $settings['max_amount'];?>'; |
|
|
59
|
+var max_amount = '<?php echo $settings['max_amount']; ?>'; |
|
60
|
60
|
max_amount = (max_amount != '') ? parseFloat(max_amount) : '10000000.00'; |
|
61
|
61
|
|
|
62
|
62
|
var quantity_selector = '<?php echo html_entity_decode($settings['quantity_selector']); ?>'; |
|
63
|
63
|
|
|
64
|
|
-var selector = '<?php echo html_entity_decode($settings['price_selector']);?>'; |
|
|
64
|
+var selector = '<?php echo html_entity_decode($settings['price_selector']); ?>'; |
|
65
|
65
|
|
|
66
|
|
-var public_key = '<?php echo html_entity_decode($settings['public_key']);?>'; |
|
|
66
|
+var public_key = '<?php echo html_entity_decode($settings['public_key']); ?>'; |
|
67
|
67
|
|
|
68
|
68
|
if (selector != '') { |
|
69
|
69
|
var simulatorObject = {min_amount:min_amount, |
Please login to merge, or discard this patch.