Changeset 3209029
- Timestamp:
- 12/17/2024 10:15:20 AM (15 months ago)
- Location:
- loan-calculator-wp
- Files:
-
- 74 added
- 15 edited
-
tags/1.5.5 (added)
-
tags/1.5.5/assets (added)
-
tags/1.5.5/assets/blueprints (added)
-
tags/1.5.5/assets/blueprints/blueprint.json (added)
-
tags/1.5.5/includes (added)
-
tags/1.5.5/includes/admin (added)
-
tags/1.5.5/includes/admin/class-loan-calculator-admin.php (added)
-
tags/1.5.5/includes/admin/forms (added)
-
tags/1.5.5/includes/admin/forms/theme-templates (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/default-theme (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/default-theme/ww-loan-calculator-loan-default-theme-form.php (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/new-theme (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/new-theme/css (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/new-theme/css/style.css (added)
-
tags/1.5.5/includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php (added)
-
tags/1.5.5/includes/admin/forms/ww-loan-calculator-setting.php (added)
-
tags/1.5.5/includes/class-ww-loan-calculator-public.php (added)
-
tags/1.5.5/includes/class-ww-loan-calculator-scripts.php (added)
-
tags/1.5.5/includes/css (added)
-
tags/1.5.5/includes/css/all.min.css (added)
-
tags/1.5.5/includes/css/frontend-style.css (added)
-
tags/1.5.5/includes/css/fstdropdown.css (added)
-
tags/1.5.5/includes/css/fstdropdown.min.css (added)
-
tags/1.5.5/includes/css/loan_calculator_admin_settings.css (added)
-
tags/1.5.5/includes/css/post_type_admin.css (added)
-
tags/1.5.5/includes/css/print.min.css (added)
-
tags/1.5.5/includes/images (added)
-
tags/1.5.5/includes/images/add.png (added)
-
tags/1.5.5/includes/images/down-arrow.svg (added)
-
tags/1.5.5/includes/images/group-4.png (added)
-
tags/1.5.5/includes/images/group-5.png (added)
-
tags/1.5.5/includes/images/play-video.png (added)
-
tags/1.5.5/includes/images/remove.png (added)
-
tags/1.5.5/includes/js (added)
-
tags/1.5.5/includes/js/admin-script.js (added)
-
tags/1.5.5/includes/js/break-up-of-total-payment.js (added)
-
tags/1.5.5/includes/js/chart-js (added)
-
tags/1.5.5/includes/js/chart-js/chart.js (added)
-
tags/1.5.5/includes/js/chart-js/chartjs-plugin-datalabels.js (added)
-
tags/1.5.5/includes/js/frequency_payment.js (added)
-
tags/1.5.5/includes/js/frontend-script.js (added)
-
tags/1.5.5/includes/js/fstdropdown.js (added)
-
tags/1.5.5/includes/js/fstdropdown.min.js (added)
-
tags/1.5.5/includes/js/jquery.print.js (added)
-
tags/1.5.5/includes/js/jquery.validate.min.js (added)
-
tags/1.5.5/includes/js/post_type_admin.js (added)
-
tags/1.5.5/includes/js/print.min.js (added)
-
tags/1.5.5/includes/loan-calculator-misc-functions.php (added)
-
tags/1.5.5/includes/webfonts (added)
-
tags/1.5.5/includes/webfonts/fa-brands-400.eot (added)
-
tags/1.5.5/includes/webfonts/fa-brands-400.svg (added)
-
tags/1.5.5/includes/webfonts/fa-brands-400.ttf (added)
-
tags/1.5.5/includes/webfonts/fa-brands-400.woff (added)
-
tags/1.5.5/includes/webfonts/fa-brands-400.woff2 (added)
-
tags/1.5.5/includes/webfonts/fa-regular-400.eot (added)
-
tags/1.5.5/includes/webfonts/fa-regular-400.svg (added)
-
tags/1.5.5/includes/webfonts/fa-regular-400.ttf (added)
-
tags/1.5.5/includes/webfonts/fa-regular-400.woff (added)
-
tags/1.5.5/includes/webfonts/fa-regular-400.woff2 (added)
-
tags/1.5.5/includes/webfonts/fa-solid-900.eot (added)
-
tags/1.5.5/includes/webfonts/fa-solid-900.svg (added)
-
tags/1.5.5/includes/webfonts/fa-solid-900.ttf (added)
-
tags/1.5.5/includes/webfonts/fa-solid-900.woff (added)
-
tags/1.5.5/includes/webfonts/fa-solid-900.woff2 (added)
-
tags/1.5.5/index.php (added)
-
tags/1.5.5/languages (added)
-
tags/1.5.5/languages/loan-calculator-wp.pot (added)
-
tags/1.5.5/license.txt (added)
-
tags/1.5.5/loan-calculator-wp.php (added)
-
tags/1.5.5/readme.txt (added)
-
trunk/includes/admin/class-loan-calculator-admin.php (modified) (10 diffs)
-
trunk/includes/admin/forms/theme-templates/default-theme/ww-loan-calculator-loan-default-theme-form.php (modified) (13 diffs)
-
trunk/includes/admin/forms/theme-templates/new-theme/css/style.css (modified) (25 diffs)
-
trunk/includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php (modified) (13 diffs)
-
trunk/includes/admin/forms/ww-loan-calculator-setting.php (modified) (16 diffs)
-
trunk/includes/class-ww-loan-calculator-public.php (modified) (4 diffs)
-
trunk/includes/class-ww-loan-calculator-scripts.php (modified) (3 diffs)
-
trunk/includes/css/frontend-style.css (modified) (10 diffs)
-
trunk/includes/css/loan_calculator_admin_settings.css (added)
-
trunk/includes/css/post_type_admin.css (modified) (1 diff)
-
trunk/includes/js/admin-script.js (modified) (8 diffs)
-
trunk/includes/js/break-up-of-total-payment.js (added)
-
trunk/includes/js/chart-js/chartjs-plugin-datalabels.js (added)
-
trunk/includes/js/frontend-script.js (modified) (49 diffs)
-
trunk/includes/js/jquery.validate.min.js (added)
-
trunk/includes/loan-calculator-misc-functions.php (modified) (1 diff)
-
trunk/languages/loan-calculator-wp.pot (modified) (37 diffs)
-
trunk/loan-calculator-wp.php (modified) (8 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
loan-calculator-wp/trunk/includes/admin/class-loan-calculator-admin.php
r3171465 r3209029 11 11 if (!class_exists('WW_Loan_Calculator_Admin_Pages')) { 12 12 13 class WW_Loan_Calculator_Admin_Pages 14 { 13 class WW_Loan_Calculator_Admin_Pages { 15 14 16 public function __construct() 17 { 15 public function __construct() { 18 16 // Construct properties 19 17 } … … 27 25 * @since 1.0.0 28 26 */ 29 public function ww_loan_calculator_admin_menu() 30 { 27 public function ww_loan_calculator_admin_menu() { 31 28 // Loan Calculator Menu 32 29 add_menu_page(esc_html__('Loan Calculator', 'loan-calculator-wp'), esc_html__('Loan Calculator', 'loan-calculator-wp'), WW_LOAN_CALCULATOR_LEVEL, 'ww_loan_calculator_page', '', 'dashicons-calculator'); … … 43 40 * @since 1.0.0 44 41 */ 45 public function ww_loan_calculator_page() 46 { 42 public function ww_loan_calculator_page() { 47 43 // Include Loan Calculator Setting page 48 44 include_once(WW_LOAN_CALCULATOR_ADMIN . '/forms/ww-loan-calculator-setting.php'); 49 45 } 50 46 51 function loan_calculator_settings() 52 { 47 public function loan_calculator_settings() { 53 48 54 49 // Register Loan Calculator Setting … … 59 54 } 60 55 61 function loan_calculator_wp_admin_notice() 62 { 56 public function loan_calculator_wp_admin_notice() { 63 57 if (is_plugin_active('loan-calculator-wp/loan-calculator-wp.php')) { 64 58 if (is_admin()) { … … 72 66 if (get_option('plugin_activation_time')) { 73 67 if ($display_notice_yes == 0 && $avoid_notice == 0) { 74 ?>68 ?> 75 69 76 70 <div class="admin_notice_hide notice notice-info is-dismissible"> … … 84 78 </div> 85 79 86 <?php80 <?php 87 81 } else if ($last_notice_timestamp >= $future_popup_date && $avoid_notice == 1) { 88 ?>82 ?> 89 83 90 84 <div class="admin_notice_hide notice notice-info is-dismissible"> … … 98 92 </div> 99 93 100 <?php94 <?php 101 95 } 102 96 } … … 106 100 } 107 101 108 function update_user_choice_weekly() 109 { 102 public function update_user_choice_weekly() { 110 103 /* it's an Ajax call */ 111 104 if (defined('DOING_AJAX') && DOING_AJAX) { … … 126 119 } 127 120 128 function update_display_notice_option() 129 { 121 public function update_display_notice_option() { 130 122 /* it's an Ajax call */ 131 123 if (defined('DOING_AJAX') && DOING_AJAX) { … … 147 139 * @since 1.0.0 148 140 */ 149 function add_hooks() 150 { 141 public function add_hooks() { 151 142 add_action('admin_menu', array($this, 'ww_loan_calculator_admin_menu')); 152 143 add_action('admin_init', array($this, 'loan_calculator_settings')); -
loan-calculator-wp/trunk/includes/admin/forms/theme-templates/default-theme/ww-loan-calculator-loan-default-theme-form.php
r3185548 r3209029 1 1 <?php 2 2 // Exit if accessed directly 3 if (!defined('ABSPATH')) exit; 3 if (!defined('ABSPATH')) exit; 4 4 5 5 /** … … 175 175 176 176 177 /* down paymnet label and max cap */ 178 179 $down_payment_label = isset($loan_all_setting_data['down_payment_label']) ? $loan_all_setting_data['down_payment_label'] : ""; 180 181 $down_payment_max_per = isset($loan_all_setting_data['down_payment_max_per']) ? $loan_all_setting_data['down_payment_max_per'] : "100"; 182 183 177 184 /* down payment options */ 178 185 … … 228 235 229 236 $remove_range_sliders = isset($loan_all_setting_data['remove_range_sliders']) ? $loan_all_setting_data['remove_range_sliders'] : ""; 237 238 239 240 /* stacked bar chart options */ 241 242 243 $balance_border_color_graph = isset($loan_all_setting_data['balance_border_color_graph']) ? $loan_all_setting_data['balance_border_color_graph'] : ""; 244 $balance_point_background_color_graph = isset($loan_all_setting_data['balance_point_background_color_graph']) ? $loan_all_setting_data['balance_point_background_color_graph'] : ""; 245 $extra_payment_graph_color = isset($loan_all_setting_data['extra_payment_graph_color']) ? $loan_all_setting_data['extra_payment_graph_color'] : ""; 246 247 $chart_types = isset($loan_all_setting_data['chart_types']) ? $loan_all_setting_data['chart_types'] : ""; 248 249 250 /* summary pie chart options */ 251 252 $summary_chart_option = isset($loan_all_setting_data['summary_chart_option']) ? $loan_all_setting_data['summary_chart_option'] : ""; 253 254 $summary_chart_label = isset($loan_all_setting_data['summary_chart_label']) ? $loan_all_setting_data['summary_chart_label'] : ""; 255 256 $summary_chart_principal_fill_color = isset($loan_all_setting_data['summary_chart_principal_fill_color']) ? $loan_all_setting_data['summary_chart_principal_fill_color'] : ""; 257 258 $summary_chart_interest_fill_color = isset($loan_all_setting_data['summary_chart_interest_fill_color']) ? $loan_all_setting_data['summary_chart_interest_fill_color'] : ""; 259 260 $summary_chart_ballon_payment_fill_color = isset($loan_all_setting_data['summary_chart_ballon_payment_fill_color']) ? $loan_all_setting_data['summary_chart_ballon_payment_fill_color'] : ""; 261 262 $summary_chart_down_payment_fill_color = isset($loan_all_setting_data['summary_chart_down_payment_fill_color']) ? $loan_all_setting_data['summary_chart_down_payment_fill_color'] : ""; 263 264 $summary_chart_extra_payment_fill_color = isset($loan_all_setting_data['summary_chart_extra_payment_fill_color']) ? $loan_all_setting_data['summary_chart_extra_payment_fill_color'] : ""; 230 265 231 266 … … 242 277 --calc-graph-border-color: <?php echo esc_attr($graph_border_color); ?>; 243 278 --calc-graph-border-color-sub: <?php echo esc_attr($graph_border_color_sub); ?>; 279 --calc-graph-balance-border-color: <?php echo esc_attr($balance_border_color_graph); ?>; 280 --calc-graph-balance-point-background-color: <?php echo esc_attr($balance_point_background_color_graph); ?>; 281 --calc-graph-extra-payment-graph-color: <?php echo esc_attr($extra_payment_graph_color); ?>; 282 --calc-summary-chart-principal-fill-color: <?php echo esc_attr($summary_chart_principal_fill_color); ?>; 283 --calc-summary-chart-interest-fill-color: <?php echo esc_attr($summary_chart_interest_fill_color); ?>; 284 --calc-summary-chart-balloon-payment-fill-color: <?php echo esc_attr($summary_chart_ballon_payment_fill_color); ?>; 285 --calc-summary-chart-down-payment-fill-color: <?php echo esc_attr($summary_chart_down_payment_fill_color); ?>; 286 --calc-summary-chart-extra-payment-fill-color: <?php echo esc_attr($summary_chart_extra_payment_fill_color); ?>; 287 244 288 } 245 289 </style> … … 269 313 <?php 270 314 // very permissive: allows pretty much all HTML to pass - same as what's normally applied to the_content by default 271 $allowed_html = wp_kses_allowed_html('post');272 $calculator_popup_content = wp_kses(stripslashes_deep($calculator_popup_content), $allowed_html); 315 /*$allowed_html = wp_kses_allowed_html('post'); 316 $calculator_popup_content = wp_kses(stripslashes_deep($calculator_popup_content), $allowed_html);*/ 273 317 ?> 274 318 <div class="calculator-content"><?php echo wp_kses_post($calculator_popup_content); ?></div> … … 291 335 <div class="first-row-sub-child"> 292 336 293 <label for="loan_amt" class="loan-text"><?php echo esc_ attr('Loan Amount', 'loan-calculator-wp'); ?><i class="fa fa-info-circle" aria-hidden="true" tabindex="1"></i><span class="text-tooltip-disp"><?php echo esc_attr($loan_amount_tooltip, 'loan-calculator-wp'); ?></span></label>337 <label for="loan_amt" class="loan-text"><?php echo esc_html($loan_amount_label, 'loan-calculator-wp'); ?><i class="fa fa-info-circle" aria-hidden="true" tabindex="1"></i><span class="text-tooltip-disp"><?php echo esc_attr($loan_amount_tooltip, 'loan-calculator-wp'); ?></span></label> 294 338 <div class="loan-text-dis loan-amount"> 295 339 <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span> … … 417 461 418 462 <div class="downpayment-row-sub-child dp-perc-mode"> 419 <label for="down_payment" class="loan-text"><?php echo esc_ attr('Down Payment', 'loan-calculator-wp'); ?><i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label>463 <label for="down_payment" class="loan-text"><?php echo esc_html($down_payment_label, 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label> 420 464 <div class="loan-text-dis"> 421 465 <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span> … … 433 477 434 478 <div class="downpayment-row-sub-child dp-fixed-mode"> 435 <label for="down_payment" class="loan-text"><?php echo esc_ attr('Down Payment', 'loan-calculator-wp'); ?><i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label>479 <label for="down_payment" class="loan-text"><?php echo esc_html($down_payment_label, 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label> 436 480 <div class="loan-text-dis"> 437 481 <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span> … … 515 559 <?php //} ?> 516 560 <div id="tab-content1" class="tab-content"> 517 <canvas id="loan-process-graph" width="460" height="350"></canvas> 561 <canvas id="loan-process-graph" width="650" height="320"></canvas> 562 <?php if($chart_types=='stacked_bar'){ ?> 563 <div id="lc-chart-legend-container"></div> 564 <?php } ?> 565 <div id="chart-note" class="chart-note"><p>**Note: For exceeding 120 no. of payments, a group of 12 payments will be combined into a single payment number for better chart visibility.</p></div> 518 566 </div> 519 567 <div id="tab-content2" class="tab-content"> … … 547 595 </div> 548 596 </div> 549 <div class="loan-detail-section-child"> 597 <div class="loan-detail-section-child <?php if($summary_chart_option=='1'){ ?> default-theme with-summary-chart page-break<?php } ?>" > 598 <div class="summary-calculation-and-chart-wrappar"> 550 599 <div class="loan-detail-cal-desc"> 551 600 <div class="loan-cal-desc"> … … 570 619 </div> 571 620 <?php } ?> 621 <span id="total_interests_amt_hidden"></span> 572 622 <div class="loan-cal-desc" id="ballon_amt_section"> 573 623 <div class="loan-cal-desc-heading"> … … 634 684 635 685 </div> 686 687 <?php if($summary_chart_option=='1'){ ?> 688 689 <div class="break-up-total-payment-chart-wrap loan-detail-cal-desc"> 690 <label class="summary-chart-heading"><?php echo esc_html($summary_chart_label); ?></label> 691 <canvas id="break-up-total-payment-chart" class="summary-chart-canvas" > 692 </div> 693 694 <?php } ?> 695 </div> 636 696 <?php 637 697 $total_regular_fees_amt = round(floatval(ceil($loan_term) * 120), 2); … … 700 760 <?php if ($disable_calculator_disclaimer_section == "") { ?> 701 761 <div class="calculator-disclaimer-section"> 702 <h4><?php echo esc_attr($calculator_disclaimer_heading, 'loan-calculator-wp'); ?></h4>703 <p><?php echo esc_attr($calculator_disclaimer_description, 'loan-calculator-wp'); ?></p>762 <h4><?php echo wp_kses_post($calculator_disclaimer_heading, 'loan-calculator-wp'); ?></h4> 763 <p><?php echo wp_kses_post($calculator_disclaimer_description, 'loan-calculator-wp'); ?></p> 704 764 </div> 705 765 <?php } ?> -
loan-calculator-wp/trunk/includes/admin/forms/theme-templates/new-theme/css/style.css
r3171465 r3209029 995 995 position: absolute; 996 996 left: 0; 997 top: - 52px;997 top: -40px; 998 998 background: #737373; 999 999 padding: 5px 10px; … … 1019 1019 label[for="tab2"] 1020 1020 .tooltip-disp { 1021 left: 53px;1021 left: 133px; 1022 1022 } 1023 1023 .loan-option-text-info … … 1029 1029 .tooltip-disp { 1030 1030 /* left: 104px; */ 1031 left: 74px; 1031 /*left: 74px;*/ 1032 1032 } 1033 1033 .loan-option-text-info … … 1535 1535 canvas#loan-process-graph { 1536 1536 /* width: 600px !important; */ 1537 box-shadow: 0px 0px 15px 7px rgba(0, 0, 0, 0.03);1538 height: 465px !important; 1537 /*box-shadow: 0px 0px 15px 7px rgba(0, 0, 0, 0.03); 1538 height: 465px !important;*/ 1539 1539 /* width: 684px !important; */ 1540 width: 100% !important; 1540 /*width: 100% !important;*/ 1541 1541 } 1542 1542 .new-theme-template-section section.loan-option-text-info { … … 1545 1545 border-radius: 0px 0px 30px 30px; 1546 1546 } 1547 .new-theme-template-section .first-row-sub-child input#loan_amount {1548 /* background: var(--calc-background-color); */1549 border-radius: 14px;1550 /* border-color: #FACD12; */1551 position: relative;1547 .new-theme-template-section .first-row-sub-child input#loan_amount,.new-theme-template-section .forth-row-sub-child input#loan_terms,.new-theme-template-section .second-row-sub-child input#interest_rates,.new-theme-template-section .fifth-row-sub-child input#ballon_amounts_per,.new-theme-template-section .fifth-row-sub-child input#down_payment_per,.new-theme-template-section .fifth-row-sub-child input#extra_payment,.new-theme-template-section .fifth-row-sub-child input#down_payment{ 1548 /* background: var(--calc-background-color); */ 1549 border-radius: 14px; 1550 /* border-color: #FACD12; */ 1551 position: relative; 1552 1552 } 1553 1553 .col-columns-20 .loan-right-input, … … 2023 2023 section.calculator-heading-section.calculator-heading-block, 2024 2024 section.loan-option-text-info.main-container-new-theme { 2025 margin: 0 32px;2025 /*margin: 0 32px;*/ 2026 2026 } 2027 2027 label.tab3_icon { … … 2029 2029 } 2030 2030 .loan-detail-section-right-content .loan-detail-section-child .tabs img { 2031 width: 45px;2031 width: 35px; 2032 2032 font-size: 18px; 2033 2033 } … … 2141 2141 } 2142 2142 .custom-container.loan-option-text-info-section-left-content { 2143 margin-top: 20px;2143 /*margin-top: 20px;*/ 2144 2144 } 2145 2145 .loan-detail-fee-desc { … … 2322 2322 #loan-process-tbl { 2323 2323 white-space: nowrap; 2324 width: 100%; 2325 } 2326 2327 /* new bar chart css */ 2328 2329 span.balance-legend-icon { 2330 position: relative; 2331 } 2332 2333 span.balance-legend-icon:before {content: "";position: absolute;left: -5px;top: 4%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2334 2335 span.balance-legend-icon:after {content: "";position: absolute;right: -5px;top: 4%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2336 2337 body.theme-astra span.balance-legend-icon:before {content: "";position: absolute;left: -5px;top: 20%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2338 2339 body.theme-astra span.balance-legend-icon:after {content: "";position: absolute;right: -5px;top: 20%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2340 2341 .with-stacked-bar-chart .loan-option-text-info-section-left-content{ 2342 width:38%; 2343 } 2344 .with-stacked-bar-chart .loan-detail-section-right-content{ 2345 width:60%; 2346 } 2347 2348 /* new bar chart css */ 2349 2350 /* summary chart css */ 2351 2352 .summary-chart-canvas{ 2353 width: 250px; 2354 height: 250px; 2355 } 2356 2357 .loan-detail-section-child.with-summary-chart{ 2358 display: flex; 2359 } 2360 2361 /* summary chart css */ 2362 2363 /* summary chart section css start */ 2364 2365 /*summary chart changes*/ 2366 .default-theme.with-summary-chart { 2367 flex-direction: column; 2368 } 2369 2370 .loan-detail-section-child .summary-calculation-and-chart-wrappar { 2371 display: flex; 2372 } 2373 2374 .loan-detail-section-child.with-summary-chart .loan-detail-cal-desc { 2375 width: calc(60% - 15px); 2376 } 2377 2378 .loan-detail-section-child.with-summary-chart .break-up-total-payment-chart-wrap.loan-detail-cal-desc { 2379 width: calc(40% - 15px); 2380 } 2381 2382 .summary-calculation-and-chart-wrappar .loan-detail-cal-desc { 2383 width: calc(100% - 15px); 2384 } 2385 2386 .loan-detail-section-child .loan-cal-desc .loan-cal-desc-heading label, 2387 .loan-detail-section-child .loan-cal-desc .loan-cal-desc-heading span { 2388 font-size: 16px; 2389 line-height: 29px !important; 2390 } 2391 2392 .loan-detail-section-child .loan-cal-desc-val { 2393 text-align: end; 2394 } 2395 2396 .loan-detail-section-child .loan-cal-desc-val label span { 2397 font-size: 20px !important; 2398 line-height: 32px; 2399 margin-left: 2px; 2400 } 2401 2402 .loan-detail-section-child .loan-cal-desc-heading { 2403 width: 50%; 2404 } 2405 2406 .loan-detail-section-child .break-up-total-payment-chart-wrap { 2407 width: calc(40% - 15px); 2408 text-align: center; 2409 } 2410 2411 .loan-detail-section-child .loan-cal-desc { 2412 align-items: flex-start !important; 2413 } 2414 2415 .loan-detail-section-child .loan-cal-desc-val label { 2416 font-size: 16px !important; 2417 word-spacing: 1px; 2418 } 2419 2420 .loan-detail-section-child .calculator-disclaimer-section h4 { 2421 font-size: 18px; 2422 margin: 15px 0px; 2423 font-weight: 600; 2424 } 2425 2426 .loan-detail-section-child .break-up-total-payment-chart-wrap label.summary-chart-heading { 2427 font-size: 18px; 2428 font-weight: 600; 2429 color: #3f4864; 2430 } 2431 2432 .loan-detail-section-child .calculator-disclaimer-section p { 2433 margin-bottom: 10px; 2434 font-size: 14px; 2435 line-height: 22px; 2436 } 2437 2438 .loan-detail-fee-block { 2439 padding: 10px 0px !important; 2440 } 2441 2442 .calculator-disclaimer-section h4 { 2443 font-size: 18px; 2444 margin: 15px 0px; 2445 color: #3f4864; 2446 font-weight: 800; 2447 } 2448 2449 .calculator-disclaimer-section p { 2450 font-size: 14px; 2451 line-height: 24px; 2452 } 2453 2454 .chart-note{ 2455 display: none; 2456 } 2457 .chart-note p { 2458 font-size: 11px; 2459 } 2460 #total_interests_amt_hidden{ 2461 display: none; 2324 2462 } 2325 2463 … … 2331 2469 size: 297mm 420mm; 2332 2470 } 2333 #main-sec { 2334 -webkit-print-color-adjust: exact !important; 2335 -moz-print-color-adjust: exact !important; 2336 -ms-print-color-adjust: exact !important; 2337 print-color-adjust: exact !important; 2338 color-adjust: exact !important; 2339 } 2340 table { 2341 page-break-inside: auto !important; 2342 width: 100%; 2343 border-collapse: collapse; 2344 } 2345 th, td { 2346 padding: 5px; 2347 border: 1px solid #000; 2348 } 2349 2350 tr { 2351 page-break-inside: avoid !important; 2352 page-break-after: auto !important; 2353 } 2354 2355 .page-break { 2356 page-break-before: always !important; 2357 } 2358 .container.loan-detail-section-child-container { 2359 padding-top: 40px !important; 2360 width: 100% !important; 2361 } 2362 .container { 2363 width: 100% !important; 2364 margin: 0px !important; 2365 padding: 0px !important; 2366 } 2367 .input-container, .input-container input#loan_amount, input#loan_terms, .input-container-loan-terms, .input-container input#interest_rates, .input-container input#ballon_amounts_per, .new-theme-template-section input[type="button"], .new-theme-template-section button, .new-theme-template-section select#payment_type{ 2368 width: 100% !important; 2369 } 2471 2472 body{ 2473 background-color: white !important; 2474 } 2475 2476 body * { 2477 visibility: hidden; 2478 } 2479 2480 .new-theme-template-section, .new-theme-template-section * { 2481 visibility: visible; 2482 } 2483 2484 .page-break{ 2485 page-break-inside: avoid; 2486 } 2487 2488 .new-theme-template-section { 2489 position: absolute; 2490 left: 0; 2491 top: 0; 2492 } 2493 2494 canvas#loan-process-graph { 2495 width: 100% !important; 2496 } 2497 2370 2498 } 2371 2499 @media screen and (max-width: 1740px) { … … 2387 2515 canvas#loan-process-graph { 2388 2516 /* width: 480px !important; */ 2389 width: 100% !important; 2517 /*width: 100% !important;*/ 2390 2518 } 2391 2519 .input-container span.percentage_annum { … … 2419 2547 font-weight: 700; 2420 2548 line-height: normal; 2421 font-size: 1 8px;2549 font-size: 16px; 2422 2550 } 2423 2551 .loan-option-text-info … … 2543 2671 } 2544 2672 canvas#loan-process-graph { 2545 display: block;2673 /*display: block; 2546 2674 box-sizing: border-box; 2547 2675 height: 450px; 2548 width: 409.5px; 2676 width: 409.5px;*/ 2549 2677 } 2550 2678 .col-columns-20 .loan-right-input, … … 2604 2732 } 2605 2733 .new-theme-template-section select#payment_type { 2606 width: 170px;2734 /*width: 170px; 2607 2735 height: 50px; 2608 font-size: 20px; 2736 font-size: 20px;*/ 2609 2737 } 2610 2738 .dollar-sign { … … 2822 2950 } 2823 2951 .new-theme-template-section select#payment_type { 2824 width: 136px;2952 /* width: 136px; 2825 2953 height: 40px; 2826 font-size: 14px; 2954 font-size: 14px;*/ 2827 2955 } 2828 2956 /* .loan-text-dis-new-theme-block, … … 2868 2996 } 2869 2997 .second-row-sub-child { 2870 margin-bottom: 60px;2998 /*margin-bottom: 60px;*/ 2871 2999 } 2872 3000 .contact-us-section button.contact-book-btn-2 { … … 2960 3088 .loan-detail-section-child-container { 2961 3089 width: 100%; 2962 padding: 15px 15px 0;3090 /*padding: 15px 15px 0;*/ 2963 3091 background: white; 2964 3092 padding-top: 0; … … 3003 3131 .new-theme-template-section section.loan-option-text-info { 3004 3132 display: flex; 3005 box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.03);3006 border-radius: 0px 0px 30px 30px; 3133 /* box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.03); 3134 border-radius: 0px 0px 30px 30px;*/ 3007 3135 flex-direction: column; 3008 3136 } … … 3282 3410 font-size: 16px !important; 3283 3411 } 3412 .loan-detail-section-child-container .with-summary-chart { 3413 flex-direction: column; 3414 } 3415 3416 .loan-detail-section-child-container .with-summary-chart .loan-detail-cal-desc { 3417 width: calc(100% - 15px); 3418 } 3419 3420 .loan-detail-section-child-container .with-summary-chart .break-up-total-payment-chart-wrap { 3421 width: calc(100% - 15px); 3422 } 3284 3423 3285 3424 } … … 3334 3473 } 3335 3474 canvas#loan-process-graph { 3336 display: block;3475 /*display: block; 3337 3476 box-sizing: border-box; 3338 height: 430px !important; 3477 height: 430px !important;*/ 3339 3478 } 3340 3479 .loan-option-text-info … … 3375 3514 .loan-detail-fee-heading { 3376 3515 width: 40%; 3516 } 3517 3518 .loan-detail-section-child .loan-cal-desc { 3519 flex-direction: column; 3520 border-bottom: 1px solid #242c4c29; 3521 } 3522 3523 .loan-detail-section-child .loan-cal-desc-heading { 3524 width: 100% !important; 3525 margin: 0 !important; 3526 } 3527 3528 .loan-detail-section-child .loan-cal-desc-val { 3529 width: 100%; 3530 margin-bottom: 5px; 3377 3531 } 3378 3532 } … … 3393 3547 @media (max-width: 470px) { 3394 3548 canvas#loan-process-graph { 3395 width: 100% !important;3549 /*width: 100% !important;*/ 3396 3550 } 3397 3551 } … … 3429 3583 } 3430 3584 canvas#loan-process-graph { 3431 width: 100% !important;3585 /*width: 100% !important;*/ 3432 3586 } 3433 3587 .loan-cal-desc { … … 3472 3626 } 3473 3627 canvas#loan-process-graph { 3474 height: auto !important;3628 /*height: auto !important;*/ 3475 3629 } 3476 3630 label.tab1_icon { … … 3488 3642 width: 100% !important; 3489 3643 } 3490 .site-wrap-repayment-freq-section:after, .site-wrap-payment-mode-section:after{ 3491 top : 14px; 3492 } 3493 } 3644 .site-wrap-repayment-freq-section:after, .site-wrap-payment-mode-section:after{ 3645 top : 14px; 3646 } 3647 } 3648 -
loan-calculator-wp/trunk/includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php
r3185548 r3209029 175 175 $down_payment_heading = isset($loan_all_setting_data['down_payment_heading']) ? $loan_all_setting_data['down_payment_heading'] : ""; 176 176 177 178 /* down paymnet label and max cap */ 179 180 $down_payment_label = isset($loan_all_setting_data['down_payment_label']) ? $loan_all_setting_data['down_payment_label'] : ""; 181 182 $down_payment_max_per = isset($loan_all_setting_data['down_payment_max_per']) ? $loan_all_setting_data['down_payment_max_per'] : "100"; 183 184 177 185 /* down payment options */ 178 186 … … 226 234 227 235 $remove_range_sliders = isset($loan_all_setting_data['remove_range_sliders']) ? $loan_all_setting_data['remove_range_sliders'] : ""; 236 237 238 /* stacked bar chart options */ 239 240 $balance_border_color_graph = isset($loan_all_setting_data['balance_border_color_graph']) ? $loan_all_setting_data['balance_border_color_graph'] : ""; 241 $balance_point_background_color_graph = isset($loan_all_setting_data['balance_point_background_color_graph']) ? $loan_all_setting_data['balance_point_background_color_graph'] : ""; 242 $extra_payment_graph_color = isset($loan_all_setting_data['extra_payment_graph_color']) ? $loan_all_setting_data['extra_payment_graph_color'] : ""; 243 $chart_types = isset($loan_all_setting_data['chart_types']) ? $loan_all_setting_data['chart_types'] : ""; 244 245 /* summary pie chart options */ 246 247 $summary_chart_option = isset($loan_all_setting_data['summary_chart_option']) ? $loan_all_setting_data['summary_chart_option'] : ""; 248 249 $summary_chart_label = isset($loan_all_setting_data['summary_chart_label']) ? $loan_all_setting_data['summary_chart_label'] : ""; 250 251 $summary_chart_principal_fill_color = isset($loan_all_setting_data['summary_chart_principal_fill_color']) ? $loan_all_setting_data['summary_chart_principal_fill_color'] : ""; 252 253 $summary_chart_interest_fill_color = isset($loan_all_setting_data['summary_chart_interest_fill_color']) ? $loan_all_setting_data['summary_chart_interest_fill_color'] : ""; 254 255 $summary_chart_ballon_payment_fill_color = isset($loan_all_setting_data['summary_chart_ballon_payment_fill_color']) ? $loan_all_setting_data['summary_chart_ballon_payment_fill_color'] : ""; 256 257 $summary_chart_down_payment_fill_color = isset($loan_all_setting_data['summary_chart_down_payment_fill_color']) ? $loan_all_setting_data['summary_chart_down_payment_fill_color'] : ""; 258 259 $summary_chart_extra_payment_fill_color = isset($loan_all_setting_data['summary_chart_extra_payment_fill_color']) ? $loan_all_setting_data['summary_chart_extra_payment_fill_color'] : ""; 228 260 229 261 … … 241 273 --calc-graph-border-color: <?php echo esc_html($graph_border_color); ?>; 242 274 --calc-graph-border-color-sub: <?php echo esc_html($graph_border_color_sub); ?>; 275 --calc-graph-balance-border-color: <?php echo esc_attr($balance_border_color_graph); ?>; 276 --calc-graph-balance-point-background-color: <?php echo esc_attr($balance_point_background_color_graph); ?>; 277 --calc-graph-extra-payment-graph-color: <?php echo esc_attr($extra_payment_graph_color); ?>; 278 --calc-summary-chart-principal-fill-color: <?php echo esc_attr($summary_chart_principal_fill_color); ?>; 279 --calc-summary-chart-interest-fill-color: <?php echo esc_attr($summary_chart_interest_fill_color); ?>; 280 --calc-summary-chart-balloon-payment-fill-color: <?php echo esc_attr($summary_chart_ballon_payment_fill_color); ?>; 281 --calc-summary-chart-down-payment-fill-color: <?php echo esc_attr($summary_chart_down_payment_fill_color); ?>; 282 --calc-summary-chart-extra-payment-fill-color: <?php echo esc_attr($summary_chart_extra_payment_fill_color); ?>; 243 283 } 244 284 </style> … … 269 309 <?php 270 310 // very permissive: allows pretty much all HTML to pass - same as what's normally applied to the_content by default 271 $allowed_html = wp_kses_allowed_html('post');272 $calculator_popup_content = wp_kses(stripslashes_deep($calculator_popup_content), $allowed_html); 311 /* $allowed_html = wp_kses_allowed_html('post'); 312 $calculator_popup_content = wp_kses(stripslashes_deep($calculator_popup_content), $allowed_html); */ 273 313 ?> 274 <div class="calculator-content"><?php echo esc_attr($calculator_popup_content); ?></div>314 <div class="calculator-content"><?php echo wp_kses_post($calculator_popup_content); ?></div> 275 315 </div> 276 316 </div> … … 287 327 </section> 288 328 289 <section class="loan-option-text-info main-container-new-theme ">329 <section class="loan-option-text-info main-container-new-theme <?php if($chart_types=='stacked_bar'){ ?>with-stacked-bar-chart<?php } ?>"> 290 330 <div class="custom-container loan-option-text-info-section-left-content"> 291 331 <div class="custom-container loan-option-text-info-section"> … … 462 502 <div class="loan-text-dis-new-theme-block dp-perc-mode"> 463 503 <div class="loan-new-theme-inner-block"> 464 <label for="down_payment" class="loan-text"><?php e sc_html_e('Down Payment', 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label>504 <label for="down_payment" class="loan-text"><?php echo esc_html($down_payment_label, 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label> 465 505 466 506 <div class="loan-new-theme-range-slider"> … … 483 523 <div class="loan-text-dis-new-theme-block dp-fixed-mode"> 484 524 <div class="loan-new-theme-inner-block"> 485 <label for="down_payment" class="loan-text"><?php e sc_html_e('Down Payment', 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label>525 <label for="down_payment" class="loan-text"><?php echo esc_html($down_payment_label, 'loan-calculator-wp'); ?> <i class="fa fa-info-circle" aria-hidden="true" tabindex="8"></i><span class="text-tooltip-disp"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></span></label> 486 526 </div> 487 527 <div class="col-columns-20"> … … 669 709 670 710 <div id="tab-content1" class="tab-content"> 671 <canvas id="loan-process-graph" width="800" height="1200"></canvas> 711 <canvas id="loan-process-graph" width="350" height="250"></canvas> 712 <?php if($chart_types=='stacked_bar'){ ?> 713 <div id="lc-chart-legend-container"></div> 714 <?php } ?> 715 <div id="chart-note" class="chart-note"><p>**Note: For exceeding 120 no. of payments, a group of 12 payments will be combined into a single payment number for better chart visibility.</p></div> 672 716 </div> 673 717 <div id="tab-content2" class="tab-content"> … … 695 739 </table> 696 740 </div> 697 </div> 741 </div> 698 742 </div> 699 743 </div> … … 751 795 752 796 <div class="container loan-detail-section-child-container "> 753 <div class="loan-detail-section-child ">797 <div class="loan-detail-section-child <?php if($summary_chart_option=='1'){ ?>with-summary-chart<?php } ?> page-break"> 754 798 <div class="loan-detail-cal-desc"> 755 799 <div class="loan-cal-desc"> … … 772 816 </div> 773 817 <?php } ?> 818 <span id="total_interests_amt_hidden"></span> 774 819 <div class="loan-cal-desc" id="ballon_amt_section"> 775 820 <div class="loan-cal-desc-heading"> … … 834 879 <?php } ?> 835 880 </div> 836 </div> 881 882 <?php if($summary_chart_option=='1'){ ?> 883 884 <div class="break-up-total-payment-chart-wrap"> 885 <label class="summary-chart-heading"><?php echo esc_html($summary_chart_label); ?></label> 886 <canvas id="break-up-total-payment-chart" class="summary-chart-canvas" > 887 </div> 888 889 <?php } ?> 890 891 </div> 837 892 </div> 838 893 <?php … … 841 896 ?> 842 897 <?php if ($calculation_fee_setting_enable == 1) { ?> 843 <div class="container loan-detail-section-child-container ">898 <div class="container loan-detail-section-child-container page-break"> 844 899 <div class="loan-detail-fee-desc"> 845 900 <div class="loan-detail-fee-block"> -
loan-calculator-wp/trunk/includes/admin/forms/ww-loan-calculator-setting.php
r3196117 r3209029 149 149 $down_payment_tooltip = isset($loan_all_setting_data['down_payment_tooltip']) ? $loan_all_setting_data['down_payment_tooltip'] : ""; 150 150 151 152 /* down paymnet label and max cap */ 153 154 $down_payment_label = isset($loan_all_setting_data['down_payment_label']) ? $loan_all_setting_data['down_payment_label'] : ""; 155 156 $down_payment_max_per = isset($loan_all_setting_data['down_payment_max_per']) ? $loan_all_setting_data['down_payment_max_per'] : "100"; 157 158 151 159 /* down payment option */ 152 160 … … 194 202 195 203 $remove_range_sliders = isset($loan_all_setting_data['remove_range_sliders']) ? $loan_all_setting_data['remove_range_sliders'] : ""; 204 205 206 /* stacked bar chart options */ 207 208 $balance_border_color_graph = isset($loan_all_setting_data['balance_border_color_graph']) ? $loan_all_setting_data['balance_border_color_graph'] : ""; 209 $balance_point_background_color_graph = isset($loan_all_setting_data['balance_point_background_color_graph']) ? $loan_all_setting_data['balance_point_background_color_graph'] : ""; 210 $extra_payment_graph_color = isset($loan_all_setting_data['extra_payment_graph_color']) ? $loan_all_setting_data['extra_payment_graph_color'] : ""; 211 212 213 /* summary pie chart options */ 214 215 $summary_chart_option = isset($loan_all_setting_data['summary_chart_option']) ? $loan_all_setting_data['summary_chart_option'] : ""; 216 217 218 $summary_chart_fields_display_style = ""; 219 220 if($summary_chart_option != '1'){ 221 222 $summary_chart_fields_display_style = 'style=display:none;'; 223 } 224 225 $summary_chart_label = isset($loan_all_setting_data['summary_chart_label']) ? $loan_all_setting_data['summary_chart_label'] : ""; 226 227 $summary_chart_principal_fill_color = isset($loan_all_setting_data['summary_chart_principal_fill_color']) ? $loan_all_setting_data['summary_chart_principal_fill_color'] : ""; 228 229 $summary_chart_interest_fill_color = isset($loan_all_setting_data['summary_chart_interest_fill_color']) ? $loan_all_setting_data['summary_chart_interest_fill_color'] : ""; 230 231 $summary_chart_ballon_payment_fill_color = isset($loan_all_setting_data['summary_chart_ballon_payment_fill_color']) ? $loan_all_setting_data['summary_chart_ballon_payment_fill_color'] : ""; 232 233 $summary_chart_down_payment_fill_color = isset($loan_all_setting_data['summary_chart_down_payment_fill_color']) ? $loan_all_setting_data['summary_chart_down_payment_fill_color'] : ""; 234 235 $summary_chart_extra_payment_fill_color = isset($loan_all_setting_data['summary_chart_extra_payment_fill_color']) ? $loan_all_setting_data['summary_chart_extra_payment_fill_color'] : ""; 236 196 237 197 238 … … 232 273 <!-- END : Loan Calculator Setting Tab --> 233 274 <!-- START : Loan Calculator Form --> 234 <form name="loan_calculator_form" action="options.php" method="POST">275 <form name="loan_calculator_form" id="loan_calculator_form_settings" action="options.php" method="POST" novalidate="novalidate"> 235 276 <?php 236 277 settings_fields('ww_loan_calculaor_option'); … … 306 347 'tinymce' => true, 307 348 'media_buttons' => false, 308 'wpautop' => true,349 'wpautop' => false, 309 350 ); 310 351 wp_editor($calculator_popup_content, 'ww_loan_option_calculator_popup_content', $settings); … … 494 535 </td> 495 536 </tr> 537 <!-- stacked bar color options start --> 538 539 <tr id="balance-border-color-graph"> 540 <th scope="row"> 541 <label for="balance_border_color_graph"><strong><?php esc_html_e('Balance Graph Border Color', 'loan-calculator-wp'); ?></strong></label> 542 </th> 543 <td> 544 <input type='text' name='ww_loan_option[balance_border_color_graph]' id='balance_border_color_graph' value='<?php echo esc_attr($balance_border_color_graph, 'loan-calculator-wp'); ?>' class="regular-text"> 545 </td> 546 </tr> 547 <tr id="balance-point-background-color-graph"> 548 <th scope="row"> 549 <label for="balance_point_background_color_graph"><strong><?php esc_html_e('Balance Graph Point Color', 'loan-calculator-wp'); ?></strong></label> 550 </th> 551 <td> 552 <input type='text' name='ww_loan_option[balance_point_background_color_graph]' id='balance_point_background_color_graph' value='<?php echo esc_attr($balance_point_background_color_graph, 'loan-calculator-wp'); ?>' class="regular-text"> 553 </td> 554 </tr> 555 <tr id="extra-payment-graph-color"> 556 <th scope="row"> 557 <label for="extra_payment_graph_color"><strong><?php esc_html_e('Extra Payment Graph Color', 'loan-calculator-wp'); ?></strong></label> 558 </th> 559 <td> 560 <input type='text' name='ww_loan_option[extra_payment_graph_color]' id='extra_payment_graph_color' value='<?php echo esc_attr($extra_payment_graph_color, 'loan-calculator-wp'); ?>' class="regular-text"> 561 </td> 562 </tr> 563 <!-- end --> 496 564 <input type="hidden" name="ww_loan_option[select_theme]" value="default_theme" /> 497 565 <tr id="select_theme"> … … 506 574 </td> 507 575 </tr> 576 <tr> 577 <td colspan="2"> 578 <h2><?php esc_html_e('Summary Chart Visual Settings', 'loan-calculator-wp'); ?></h2> 579 <span class="heading-tooltip-section"> 580 <?php esc_html_e('Customize Visual of Summary Chart', 'loan-calculator-wp'); ?> 581 </span> 582 </td> 583 </tr> 584 <tr> 585 <th scope="row"> 586 <label for="summary_chart_option"><strong><?php esc_html_e('Summary Chart Option', 'loan-calculator-wp'); ?></strong></label> 587 </th> 588 <td> 589 <input type="checkbox" name="ww_loan_option[summary_chart_option]" id="summary_chart_option" value="1" class="regular-text" <?php echo ($summary_chart_option == "1") ? "checked" : ""; ?>> <label for="summary_chart_option"><?php esc_attr_e("Enable Summary Chart", "loan-calculator-wp"); ?></label> 590 <br><br> 591 <i><b style="color:red"><?php esc_html_e('Note', 'loan-calculator-wp') ?></b><?php esc_html_e(': Check this box to enable Pie chart visible in calcualtion result sidebar of the calculator', 'loan-calculator-wp'); ?></i> 592 </td> 593 </tr> 594 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 595 <th scope="row"> 596 <label for="summary_chart_label"><strong><?php esc_html_e('Summary Chart Main Label', 'loan-calculator-wp'); ?></strong></label> 597 </th> 598 <td> 599 <input type='text' name='ww_loan_option[summary_chart_label]' id='summary_chart_label' value='<?php echo esc_attr($summary_chart_label, 'loan-calculator-wp'); ?>' class="regular-text"> 600 </td> 601 </tr> 602 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 603 <th scope="row"> 604 <label for="summary_chart_principal_fill_color"><strong><?php esc_html_e('Principal Fill Color', 'loan-calculator-wp'); ?></strong></label> 605 </th> 606 <td> 607 <input type='text' name='ww_loan_option[summary_chart_principal_fill_color]' id='summary_chart_principal_fill_color' value='<?php echo esc_attr($summary_chart_principal_fill_color, 'loan-calculator-wp'); ?>' class="regular-text"> 608 </td> 609 </tr> 610 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 611 <th scope="row"> 612 <label for="summary_chart_interest_fill_color"><strong><?php esc_html_e('Interest Fill Color', 'loan-calculator-wp'); ?></strong></label> 613 </th> 614 <td> 615 <input type='text' name='ww_loan_option[summary_chart_interest_fill_color]' id='summary_chart_interest_fill_color' value='<?php echo esc_attr($summary_chart_interest_fill_color, 'loan-calculator-wp'); ?>' class="regular-text"> 616 </td> 617 </tr> 618 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 619 <th scope="row"> 620 <label for="summary_chart_ballon_payment_fill_color"><strong><?php esc_html_e('Ballon Payment Fill Color', 'loan-calculator-wp'); ?></strong></label> 621 </th> 622 <td> 623 <input type='text' name='ww_loan_option[summary_chart_ballon_payment_fill_color]' id='summary_chart_ballon_payment_fill_color' value='<?php echo esc_attr($summary_chart_ballon_payment_fill_color, 'loan-calculator-wp'); ?>' class="regular-text"> 624 </td> 625 </tr> 626 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 627 <th scope="row"> 628 <label for="summary_chart_down_payment_fill_color"><strong><?php esc_html_e('Down Payment Fill Color', 'loan-calculator-wp'); ?></strong></label> 629 </th> 630 <td> 631 <input type='text' name='ww_loan_option[summary_chart_down_payment_fill_color]' id='summary_chart_down_payment_fill_color' value='<?php echo esc_attr($summary_chart_down_payment_fill_color, 'loan-calculator-wp'); ?>' class="regular-text"> 632 </td> 633 </tr> 634 <tr class="summary-chart-options" <?php echo esc_attr($summary_chart_fields_display_style); ?>> 635 <th scope="row"> 636 <label for="summary_chart_extra_payment_fill_color"><strong><?php esc_html_e('Extra Payment Fill Color', 'loan-calculator-wp'); ?></strong></label> 637 </th> 638 <td> 639 <input type='text' name='ww_loan_option[summary_chart_extra_payment_fill_color]' id='summary_chart_extra_payment_fill_color' value='<?php echo esc_attr($summary_chart_extra_payment_fill_color, 'loan-calculator-wp'); ?>' class="regular-text"> 640 </td> 641 </tr> 642 <!-- end --> 643 508 644 </tbody> 509 645 </table> … … 514 650 <h2><?php esc_html_e('Default Value for Amount Text Field', 'loan-calculator-wp'); ?></h2> 515 651 <span class="heading-tooltip-section"> 516 <?php esc_html_e('Set the default value for all amount text fields', 'loan-calculator-wp'); ?> 652 <?php esc_html_e('Set the default value for all amount text fields', 'loan-calculator-wp'); ?><br><br> 653 <?php esc_html_e('Note','loan-calculator-wp'); ?>: <span style='color:red;'>(*)</span> <?php esc_html_e('are required fields', 'loan-calculator-wp'); ?> 517 654 </span> 518 655 </td> … … 520 657 <tr> 521 658 <th scope="row"> 522 <label for="loan_amount_tooltip"><strong>< ?php esc_html_e('Loan Amount Label', 'loan-calculator-wp'); ?></strong></label>523 </th> 524 <td> 525 <input type='text' name='ww_loan_option[loan_amount_label]' id='loan_amount_label' value='<?php echo esc_attr($loan_amount_label, 'loan-calculator-wp'); ?>' class="regular-text" required>659 <label for="loan_amount_tooltip"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Loan Amount Label', 'loan-calculator-wp'); ?></strong></label> 660 </th> 661 <td> 662 <input type='text' name='ww_loan_option[loan_amount_label]' id='loan_amount_label' value='<?php echo esc_attr($loan_amount_label, 'loan-calculator-wp'); ?>' class="regular-text" > 526 663 </td> 527 664 </tr> 528 665 <tr id="loan-amount"> 529 666 <th scope="row"> 530 <label for="loan_amount"><strong>< ?php esc_html_e('Loan Amount', 'loan-calculator-wp'); ?></strong></label>531 </th> 532 <td> 533 <input type='text' name='ww_loan_option[loan_amount]' id='loan_amount' maxlength="20" value='<?php echo esc_attr($loan_amount, 'loan-calculator-wp'); ?>' class="regular-text" requiredonkeydown="return onlyNos(event,'loan_amount')">667 <label for="loan_amount"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Loan Amount', 'loan-calculator-wp'); ?></strong></label> 668 </th> 669 <td> 670 <input type='text' name='ww_loan_option[loan_amount]' id='loan_amount' maxlength="20" value='<?php echo esc_attr($loan_amount, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'loan_amount')"> 534 671 </td> 535 672 </tr> 536 673 <tr id="loan-amount-min"> 537 674 <th scope="row"> 538 <label for="loan_amount_min_value"><strong>< ?php esc_html_e('Loan Amount Min Value', 'loan-calculator-wp'); ?></strong></label>539 </th> 540 <td> 541 <input type='text' name='ww_loan_option[loan_amount_min_value]' id='loan_amount_min_value' maxlength="20" value='<?php echo esc_attr($loan_amount_min_value, 'loan-calculator-wp'); ?>' class="regular-text" requiredonkeydown="return onlyNos(event,'loan_amount_min_value')">675 <label for="loan_amount_min_value"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Loan Amount Min Value', 'loan-calculator-wp'); ?></strong></label> 676 </th> 677 <td> 678 <input type='text' name='ww_loan_option[loan_amount_min_value]' id='loan_amount_min_value' maxlength="20" value='<?php echo esc_attr($loan_amount_min_value, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'loan_amount_min_value')"> 542 679 </td> 543 680 </tr> 544 681 <tr id="loan-amount-max"> 545 682 <th scope="row"> 546 <label for="loan-amount-max_lbl"><strong>< ?php esc_html_e('Loan Amount Max Value', 'loan-calculator-wp'); ?></strong></label><br>547 </th> 548 <td> 549 <input type='text' name='ww_loan_option[loan_amount_max_value]' id='loan_amount_max_value' maxlength="20" value='<?php echo esc_attr($loan_amount_max_value, 'loan-calculator-wp'); ?>' class="regular-text" requiredonkeydown="return onlyNos(event,'loan_amount_max_value')">683 <label for="loan-amount-max_lbl"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Loan Amount Max Value', 'loan-calculator-wp'); ?></strong></label><br> 684 </th> 685 <td> 686 <input type='text' name='ww_loan_option[loan_amount_max_value]' id='loan_amount_max_value' maxlength="20" value='<?php echo esc_attr($loan_amount_max_value, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'loan_amount_max_value')"> 550 687 </td> 551 688 </tr> … … 632 769 </th> 633 770 <td> 634 <input type='number' name='ww_loan_option[ballon_per]' id='ballon_per' min="0" max="80" value='<?php echo esc_attr($ballon_per, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'ballon_per')" step="any" placeholder="Enter ballon percentage between 0to 80 (only number)">635 </td> 636 </tr> 637 <tr >771 <input type='number' name='ww_loan_option[ballon_per]' id='ballon_per' value='<?php echo esc_attr($ballon_per, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'ballon_per')" step="any" placeholder="Enter ballon percentage between 1 to 80 (only number)"> 772 </td> 773 </tr> 774 <tr id="ballon_amt_tooltip_section"> 638 775 <th scope="row"> 639 776 <label for="balloon_amount_tooltip"><strong><?php esc_html_e('Balloon Amount Tooltip', 'loan-calculator-wp'); ?></strong></label> … … 664 801 </td> 665 802 </tr> 803 <tr class="down-payment-fields-row down-payment-max-per-field-row" <?php echo esc_attr($down_payment_fields_display_style); ?>> 804 <th scope="row"> 805 <label for="down_payment_max_per"><strong><?php esc_html_e('Down Payment Maximum', 'loan-calculator-wp'); ?></strong></label> 806 </th> 807 <td> 808 <input type="number" min="1" max="100" name="ww_loan_option[down_payment_max_per]" id="down_payment_max_per" value="<?php echo esc_attr($down_payment_max_per, 'loan-calculator-wp'); ?>" > <label for="down_payment_max_per"><?php esc_attr_e("%", "loan-calculator-wp") ?></label> 809 <br><br> 810 <i><b style="color:red"><?php esc_html_e('Note', 'loan-calculator-wp') ?></b><?php esc_html_e(': Enter maximum percentage of loan amount for Down payment that will be allowed for User', 'loan-calculator-wp'); ?></i> 811 </td> 812 </tr> 666 813 <tr class="down-payment-fields-row" <?php echo esc_attr($down_payment_fields_display_style); ?>> 667 814 <th scope="row"> … … 671 818 <textarea name="ww_loan_option[down_payment_tooltip]" id="down_payment_tooltip" rows="4" cols="50"><?php echo esc_attr($down_payment_tooltip, 'loan-calculator-wp'); ?></textarea> 672 819 </td> 673 </tr> 674 820 </tr> 821 <tr class="down-payment-fields-row" <?php echo esc_attr($down_payment_fields_display_style); ?>> 822 <th scope="row"> 823 <label for="down_payment_label"><strong><?php esc_html_e('Down Payment Label', 'loan-calculator-wp'); ?></strong></label> 824 </th> 825 <td> 826 <input type='text' name='ww_loan_option[down_payment_label]' id='down_payment_label' value='<?php echo esc_attr($down_payment_label, 'loan-calculator-wp'); ?>' class="regular-text" > 827 </td> 828 </tr> 675 829 <tr> 676 830 <th scope="row"> … … 688 842 </th> 689 843 <td> 690 <input type="number" min=" 0" max="100" name="ww_loan_option[extra_payment_max_per]" id="extra_payment_max_per" value="<?php echo esc_attr($extra_payment_max_per, 'loan-calculator-wp'); ?>" > <label for="extra_payment_max_per"><?php esc_attr_e("%", "loan-calculator-wp") ?></label>844 <input type="number" min="1" max="100" name="ww_loan_option[extra_payment_max_per]" id="extra_payment_max_per" value="<?php echo esc_attr($extra_payment_max_per, 'loan-calculator-wp'); ?>" > <label for="extra_payment_max_per"><?php esc_attr_e("%", "loan-calculator-wp") ?></label> 691 845 <br><br> 692 846 <i><b style="color:red"><?php esc_html_e('Note', 'loan-calculator-wp') ?></b><?php esc_html_e(': Enter maximum percentage of loan amount for extra payment that will be allowed for User', 'loan-calculator-wp'); ?></i> … … 703 857 <tr> 704 858 <th scope="row"> 705 <label for="interested_rate"><strong>< ?php esc_html_e('Interest Rate', 'loan-calculator-wp'); ?></strong></label>706 </th> 707 <td> 708 <input type='number' name='ww_loan_option[interested_rate]' id='interested_rate' step="any" min="1" max="40" value='<?php echo esc_attr($interested_rate, 'loan-calculator-wp'); ?>' maxlength="5" class="regular-text" requiredonkeydown="return onlyNos(event,'interested_rate')">709 </td> 710 </tr> 711 <tr> 712 <th scope="row"> 713 <label for="interest-rate-min_lbl"><strong>< ?php esc_html_e('Interest Rate Min Value', 'loan-calculator-wp'); ?></strong></label>714 </th> 715 <td> 716 <input type='number' name='ww_loan_option[interest_rate_min_value]' step="any" min="1" max="40" id='interest_rate_min_value' maxlength="5" value='<?php echo esc_attr($interest_rate_min_value, 'loan-calculator-wp'); ?>' class="regular-text" requiredonkeydown="return onlyNos(event,'interest_rate_min_value')">717 </td> 718 </tr> 719 <tr> 720 <th scope="row"> 721 <label for="interest_rate_max_value"><strong>< ?php esc_html_e('Interest Rate Max Value', 'loan-calculator-wp'); ?></strong></label>722 </th> 723 <td> 724 <input type='number' name='ww_loan_option[interest_rate_max_value]' step="any" min="1" max="40" id='interest_rate_max_value' maxlength="5" value='<?php echo esc_attr($interest_rate_max_value, 'loan-calculator-wp'); ?>' class="regular-text" requiredonkeydown="return onlyNos(event,'interest_rate_max_value')">859 <label for="interested_rate"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Interest Rate', 'loan-calculator-wp'); ?></strong></label> 860 </th> 861 <td> 862 <input type='number' name='ww_loan_option[interested_rate]' id='interested_rate' step="any" min="1" max="40" value='<?php echo esc_attr($interested_rate, 'loan-calculator-wp'); ?>' maxlength="5" class="regular-text" onkeydown="return onlyNos(event,'interested_rate')"> 863 </td> 864 </tr> 865 <tr> 866 <th scope="row"> 867 <label for="interest-rate-min_lbl"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Interest Rate Min Value', 'loan-calculator-wp'); ?></strong></label> 868 </th> 869 <td> 870 <input type='number' name='ww_loan_option[interest_rate_min_value]' step="any" min="1" max="40" id='interest_rate_min_value' maxlength="5" value='<?php echo esc_attr($interest_rate_min_value, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'interest_rate_min_value')"> 871 </td> 872 </tr> 873 <tr> 874 <th scope="row"> 875 <label for="interest_rate_max_value"><strong><span class='require-field-star'>*</span> <?php esc_html_e('Interest Rate Max Value', 'loan-calculator-wp'); ?></strong></label> 876 </th> 877 <td> 878 <input type='number' name='ww_loan_option[interest_rate_max_value]' step="any" min="1" max="40" id='interest_rate_max_value' maxlength="5" value='<?php echo esc_attr($interest_rate_max_value, 'loan-calculator-wp'); ?>' class="regular-text" onkeydown="return onlyNos(event,'interest_rate_max_value')"> 725 879 </td> 726 880 </tr> … … 1048 1202 <tr id="disable_contactus_section_row"> 1049 1203 <th scope="row"> 1050 <label for="disable_contactus_section _lbl"><strong><?php esc_html_e('Disable Contact Us Section', 'loan-calculator-wp'); ?></strong></label>1051 </th> 1052 <td> 1053 <input type="checkbox" name="ww_loan_option[disable_contactus_section]" id="disable_contactus_section" value="1" class="regular-text" <?php echo ($disable_contactus_section == "1") ? "checked" : ""; ?>> <label for="disable_ repayment_frequency"><?php esc_html_e('Check this box if you want to remove contact us section in loan calculator form', 'loan-calculator-wp') ?></label>1204 <label for="disable_contactus_section"><strong><?php esc_html_e('Disable Contact Us Section', 'loan-calculator-wp'); ?></strong></label> 1205 </th> 1206 <td> 1207 <input type="checkbox" name="ww_loan_option[disable_contactus_section]" id="disable_contactus_section" value="1" class="regular-text" <?php echo ($disable_contactus_section == "1") ? "checked" : ""; ?>> <label for="disable_contactus_section"><?php esc_html_e('Check this box if you want to remove contact us section in loan calculator form', 'loan-calculator-wp') ?></label> 1054 1208 </td> 1055 1209 </tr> … … 1113 1267 <tr id="disable_calculator_disclaimer_section_row"> 1114 1268 <th scope="row"> 1115 <label for="disable_calculator_disclaimer_section _lbl"><strong><?php esc_html_e('Disable Calculator Disclaimer Section', 'loan-calculator-wp'); ?></strong></label>1116 </th> 1117 <td> 1118 <input type="checkbox" name="ww_loan_option[disable_calculator_disclaimer_section]" id="disable_calculator_disclaimer_section" value="1" class="regular-text" <?php echo ($disable_calculator_disclaimer_section == "1") ? "checked" : ""; ?>> <label for="disable_ repayment_frequency"><?php esc_html_e('Check this box if you want to remove Calculator Disclaimer section in loan calculator form', 'loan-calculator-wp') ?></label>1269 <label for="disable_calculator_disclaimer_section"><strong><?php esc_html_e('Disable Calculator Disclaimer Section', 'loan-calculator-wp'); ?></strong></label> 1270 </th> 1271 <td> 1272 <input type="checkbox" name="ww_loan_option[disable_calculator_disclaimer_section]" id="disable_calculator_disclaimer_section" value="1" class="regular-text" <?php echo ($disable_calculator_disclaimer_section == "1") ? "checked" : ""; ?>> <label for="disable_calculator_disclaimer_section"><?php esc_html_e('Check this box if you want to remove Calculator Disclaimer section in loan calculator form', 'loan-calculator-wp') ?></label> 1119 1273 </td> 1120 1274 </tr> … … 1138 1292 'tinymce' => true, 1139 1293 'media_buttons' => false, 1140 'wpautop' => true,1294 'wpautop' => false, 1141 1295 ); 1142 1296 wp_editor($calculator_disclaimer_description, 'calculator_disclaimer_description', $settings); -
loan-calculator-wp/trunk/includes/class-ww-loan-calculator-public.php
r3162164 r3209029 64 64 $down_payment_mode = isset($loan_all_setting_data['down_payment_mode']) ? $loan_all_setting_data['down_payment_mode'] : "fixed"; 65 65 66 $down_payment_max_per = isset($loan_all_setting_data['down_payment_max_per']) ? $loan_all_setting_data['down_payment_max_per'] : "100"; 67 66 68 67 69 $extra_payment_option = isset($loan_all_setting_data['extra_payment_option']) ? $loan_all_setting_data['extra_payment_option'] : ""; … … 74 76 $hide_save_time_extra_payments = isset($loan_all_setting_data['hide_save_time_extra_payments']) ? $loan_all_setting_data['hide_save_time_extra_payments'] : ""; 75 77 76 $hide_save_interest_extra_payments = isset($loan_all_setting_data['hide_save_interest_extra_payments']) ? $loan_all_setting_data['hide_save_interest_extra_payments'] : ""; 77 78 $hide_save_interest_extra_payments = isset($loan_all_setting_data['hide_save_interest_extra_payments']) ? $loan_all_setting_data['hide_save_interest_extra_payments'] : ""; 78 79 79 80 $interest_rates_adj_disable = isset($loan_all_setting_data['interest_rates_adj_disable']) ? $loan_all_setting_data['interest_rates_adj_disable'] : ""; 81 82 /* stacked bar graph options */ 83 84 $balance_border_color_graph = isset($loan_all_setting_data['balance_border_color_graph']) ? $loan_all_setting_data['balance_border_color_graph'] : ""; 85 $balance_point_background_color_graph = isset($loan_all_setting_data['balance_point_background_color_graph']) ? $loan_all_setting_data['balance_point_background_color_graph'] : ""; 86 $extra_payment_graph_color = isset($loan_all_setting_data['extra_payment_graph_color']) ? $loan_all_setting_data['extra_payment_graph_color'] : ""; 87 88 /* summary pie chart options */ 89 90 $summary_chart_option = isset($loan_all_setting_data['summary_chart_option']) ? $loan_all_setting_data['summary_chart_option'] : ""; 91 92 $summary_chart_label = isset($loan_all_setting_data['summary_chart_label']) ? $loan_all_setting_data['summary_chart_label'] : ""; 93 94 $summary_chart_principal_fill_color = isset($loan_all_setting_data['summary_chart_principal_fill_color']) ? $loan_all_setting_data['summary_chart_principal_fill_color'] : ""; 95 96 $summary_chart_interest_fill_color = isset($loan_all_setting_data['summary_chart_interest_fill_color']) ? $loan_all_setting_data['summary_chart_interest_fill_color'] : ""; 97 98 $summary_chart_ballon_payment_fill_color = isset($loan_all_setting_data['summary_chart_ballon_payment_fill_color']) ? $loan_all_setting_data['summary_chart_ballon_payment_fill_color'] : ""; 99 100 $summary_chart_down_payment_fill_color = isset($loan_all_setting_data['summary_chart_down_payment_fill_color']) ? $loan_all_setting_data['summary_chart_down_payment_fill_color'] : ""; 101 102 $summary_chart_extra_payment_fill_color = isset($loan_all_setting_data['summary_chart_extra_payment_fill_color']) ? $loan_all_setting_data['summary_chart_extra_payment_fill_color'] : ""; 80 103 81 104 … … 122 145 'interest_rates_adj_disable' => $interest_rates_adj_disable, 123 146 'remove_range_sliders' => isset($loan_all_setting_data['remove_range_sliders']) ? $loan_all_setting_data['remove_range_sliders'] : "", 124 'font_awesome_css_url' => WW_LOAN_CALCULATOR_URL . 'includes/css/all.min.css' 147 'font_awesome_css_url' => WW_LOAN_CALCULATOR_URL . 'includes/css/all.min.css', 148 'summary_chart_option' => $summary_chart_option, 149 'extra_payment_label' => __('Extra Payment', 'loan-calculator-wp'), 150 'total_interest_label' => __('Total Interest', 'loan-calculator-wp'), 151 'ballon_amount_label' => __('Ballon Amount', 'loan-calculator-wp'), 152 'balance_border_color_graph' => $balance_border_color_graph, 153 'balance_point_background_color_graph' => $balance_point_background_color_graph, 154 'extra_payment_graph_color' => $extra_payment_graph_color, 155 'summary_chart_principal_fill_color' => $summary_chart_principal_fill_color, 156 'summary_chart_interest_fill_color' => $summary_chart_interest_fill_color, 157 'summary_chart_ballon_payment_fill_color' => $summary_chart_ballon_payment_fill_color, 158 'summary_chart_down_payment_fill_color' => $summary_chart_down_payment_fill_color, 159 'summary_chart_extra_payment_fill_color' => $summary_chart_extra_payment_fill_color, 160 'down_payment_max_per' => $down_payment_max_per, 161 125 162 ); 126 163 … … 128 165 129 166 wp_enqueue_script('loan-calculator-frontend-script'); 167 wp_enqueue_script('loan-calculator-datalabels'); 168 wp_enqueue_script('loan-calculator-break-up-of-total-payment'); 130 169 wp_enqueue_script('loan-calculator-frequency-payment'); 131 170 wp_enqueue_script('loan-calculator-print-script'); -
loan-calculator-wp/trunk/includes/class-ww-loan-calculator-scripts.php
r3171465 r3209029 25 25 { 26 26 27 wp_enqueue_script( 28 'jquery-validate', 29 WW_LOAN_CALCULATOR_URL . 'includes/js/jquery.validate.min.js', 30 array('jquery'), 31 WW_LOAN_CALCULATOR_VERSION, 32 true 33 ); 34 27 35 // Add JS 28 36 wp_enqueue_script( 29 37 'loan-calculator-admin-script', 30 38 WW_LOAN_CALCULATOR_URL . 'includes/js/admin-script.js', 31 array('jquery', 'wp-color-picker' ),39 array('jquery', 'wp-color-picker', 'jquery-validate'), 32 40 WW_LOAN_CALCULATOR_VERSION, 33 41 true … … 45 53 wp_enqueue_style('fstdropdown.min_select', WW_LOAN_CALCULATOR_URL . 'includes/css/fstdropdown.min.css', array(), WW_LOAN_CALCULATOR_VERSION); 46 54 55 wp_enqueue_style('admin_settings_style', WW_LOAN_CALCULATOR_URL . 'includes/css/loan_calculator_admin_settings.css', array('wp-color-picker'), WW_LOAN_CALCULATOR_VERSION); 56 47 57 $admin_setting_data = array( 48 58 "ajaxurl" => admin_url('admin-ajax.php'), 49 59 "is_user_logged_in" => (is_user_logged_in()) ? true : false, 60 'enter_loan_amt_label_msg' => esc_html__('Please Enter Loan Amount Field Label', 'loan-calculator-wp'), 61 'enter_loan_amt_msg' => esc_html__('Please Enter Loan Amount Value', 'loan-calculator-wp'), 62 'enter_loan_amt_min_msg' => esc_html__('Please Enter Loan Amount Minimum Value', 'loan-calculator-wp'), 63 'enter_loan_amt_max_msg' => esc_html__('Please Enter Loan Amount Maximum Value', 'loan-calculator-wp'), 64 'enter_interest_rate_msg' => esc_html__('Please Enter Interest Rate Value', 'loan-calculator-wp'), 65 'enter_interest_rate_min_msg' => esc_html__('Please Enter Interest Rate Minimum Value', 'loan-calculator-wp'), 66 'enter_interest_rate_max_msg' => esc_html__('Please Enter Interest Rate Maximum Value', 'loan-calculator-wp'), 67 'enter_application_fee_msg' => esc_html__('Please Enter Application Fee', 'loan-calculator-wp'), 68 'enter_monthly_rate_msg' => esc_html__('Please Enter Monthly Rate', 'loan-calculator-wp'), 69 'enter_about_calcultor_label' => esc_html__('Please Enter About This Calculator Label', 'loan-calculator-wp'), 70 'enter_print_label' => esc_html__('Please Enter Print Label', 'loan-calculator-wp'), 71 'enter_summery_chart_label' => esc_html__('Please Enter Summery Chart Label', 'loan-calculator-wp'), 72 'enter_ballon_amt_per' => esc_html__('Please Enter Balloon Amount Percentage', 'loan-calculator-wp'), 73 'regular_repayment_heading' => esc_html__('Please Enter Regular Repayment Label', 'loan-calculator-wp'), 74 'total_interest_payable_label' => esc_html__('Please Enter Total Interest Payable Label', 'loan-calculator-wp'), 75 'enter_ballon_amt_heading' => esc_html__('Please Enter Balloon Amount Label', 'loan-calculator-wp'), 76 'enter_down_payment_heading' => esc_html__('Please Enter Down Payment Label', 'loan-calculator-wp'), 77 'enter_extra_payment_heading' => esc_html__('Please Enter Extra Payment Label', 'loan-calculator-wp'), 78 'enter_extra_payment_save_time_label' => esc_html__('Please Enter Extra Payment Save Time Label', 'loan-calculator-wp'), 79 'enter_extra_payment_total_label' => esc_html__('Please Enter Extra Payment Total Label', 'loan-calculator-wp'), 80 'enter_extra_payment_save_interest_label' => esc_html__('Please Enter Extra Payment Save Interest Label', 'loan-calculator-wp'), 81 'enter_application_fee_heading' => esc_html__('Please Enter Application Fee Label', 'loan-calculator-wp'), 82 'enter_monthly_fee_heading' => esc_html__('Please Enter Monthly Fee Label', 'loan-calculator-wp'), 83 'enter_total_regular_fees' => esc_html__('Please Enter Total Regular Fees Label', 'loan-calculator-wp'), 84 'enter_total_fees' => esc_html__('Please Enter Total Fees Label', 'loan-calculator-wp'), 85 'enter_repayment_chart_heading' => esc_html__('Please Enter Repayment Chart Tooltip', 'loan-calculator-wp'), 86 'enter_loan_table_heading' => esc_html__('Please Enter Loan Amortization Table Tooltip', 'loan-calculator-wp'), 87 'enter_video_heading' => esc_html__('Please Enter Video Tab Tooltip', 'loan-calculator-wp'), 88 'enter_youtube_video_link' => esc_html__('Please Enter Youtube Video Link', 'loan-calculator-wp'), 89 'enter_contact_popup_button_heading' => esc_html__('Please Enter Contact Popup Button Label', 'loan-calculator-wp'), 90 'enter_contact_popup_content' => esc_html__('Please Enter Contact Form Content', 'loan-calculator-wp'), 91 'enter_contact_url' => esc_html__('Please Enter Contact URL', 'loan-calculator-wp'), 92 'enter_down_payment_label' => esc_html__('Please Enter Down Payment Label', 'loan-calculator-wp'), 93 'enter_down_payment_max_per' => esc_html__('Please Enter Down Payment Maximum', 'loan-calculator-wp'), 94 'enter_extra_payment_max_per' => esc_html__('Please Enter Extra Payment Maximum', 'loan-calculator-wp') 50 95 ); 51 96 … … 84 129 wp_register_script('loan-calculator-frontend-script', WW_LOAN_CALCULATOR_URL . 'includes/js/frontend-script.js', array('jquery'), WW_LOAN_CALCULATOR_VERSION, true); 85 130 wp_register_script('loan-calculator-frequency-payment', WW_LOAN_CALCULATOR_URL . 'includes/js/frequency_payment.js', array('jquery'), WW_LOAN_CALCULATOR_VERSION, true); 131 wp_register_script('loan-calculator-datalabels', WW_LOAN_CALCULATOR_URL . 'includes/js/chart-js/chartjs-plugin-datalabels.js', array('jquery'), WW_LOAN_CALCULATOR_VERSION, true); 132 wp_register_script('loan-calculator-break-up-of-total-payment', WW_LOAN_CALCULATOR_URL . 'includes/js/break-up-of-total-payment.js', array('jquery'), WW_LOAN_CALCULATOR_VERSION, true); 133 86 134 87 135 $active_theme = wp_get_theme(); -
loan-calculator-wp/trunk/includes/css/frontend-style.css
r3185548 r3209029 723 723 .loan-detail-section-child:last-child { 724 724 width: 100%; 725 padding-top: 15px; 725 padding-top: 15px; 726 726 /* padding-left: 17px;*/ 727 727 } … … 2346 2346 2347 2347 .loan-number-payment-with-label label#label-for-freuency { 2348 bottom: - 20px;2348 bottom: -17px; 2349 2349 } 2350 2350 … … 2654 2654 white-space: nowrap; 2655 2655 } 2656 2657 /* new bar chart css */ 2658 2659 span.balance-legend-icon { 2660 position: relative; 2661 } 2662 2663 span.balance-legend-icon:before {content: "";position: absolute;left: -5px;top: 5%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2664 2665 span.balance-legend-icon:after {content: "";position: absolute;right: -5px;top: 5%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2666 2667 body.theme-astra span.balance-legend-icon:before {content: "";position: absolute;left: -5px;top: 18%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2668 2669 body.theme-astra span.balance-legend-icon:after {content: "";position: absolute;right: -5px;top: 18%;height: 4px;width: 5px;border-bottom: 3px solid var(--calc-graph-balance-border-color) !important;} 2670 2671 /* new bar chart css */ 2672 2673 2674 /* summary chart css */ 2675 2676 .summary-chart-canvas{ 2677 width: 250px; 2678 height: 250px; 2679 } 2680 2681 .loan-detail-section-child.with-summary-chart{ 2682 display: flex; 2683 } 2684 2685 /* summary chart css */ 2686 2687 2688 /*summary chart changes*/ 2689 .default-theme.with-summary-chart { 2690 flex-direction: column; 2691 } 2692 2693 .loan-detail-section-child .summary-calculation-and-chart-wrappar { 2694 display: flex; 2695 } 2696 2697 .loan-detail-section-child.with-summary-chart .loan-detail-cal-desc { 2698 width: calc(60% - 15px); 2699 } 2700 2701 .loan-detail-section-child.with-summary-chart .break-up-total-payment-chart-wrap.loan-detail-cal-desc { 2702 width: calc(40% - 15px); 2703 } 2704 2705 .summary-calculation-and-chart-wrappar .loan-detail-cal-desc { 2706 width: calc(100% - 15px); 2707 } 2708 2709 .loan-detail-section-child .loan-cal-desc .loan-cal-desc-heading label, 2710 .loan-detail-section-child .loan-cal-desc .loan-cal-desc-heading span { 2711 font-size: 16px; 2712 line-height: 29px !important; 2713 } 2714 2715 .loan-detail-section-child .loan-cal-desc-val { 2716 text-align: end; 2717 } 2718 2719 .loan-detail-section-child .loan-cal-desc-val label span { 2720 font-size: 20px !important; 2721 line-height: 32px; 2722 margin-left: 2px; 2723 } 2724 2725 .loan-detail-section-child .loan-cal-desc-heading { 2726 width: 50%; 2727 } 2728 2729 .loan-detail-section-child .break-up-total-payment-chart-wrap { 2730 width: calc(40% - 15px); 2731 text-align: center; 2732 } 2733 2734 .loan-detail-section-child .loan-cal-desc { 2735 align-items: flex-start !important; 2736 } 2737 2738 .loan-detail-section-child .loan-cal-desc-val label { 2739 font-size: 16px !important; 2740 word-spacing: 1px; 2741 } 2742 2743 .loan-detail-section-child .calculator-disclaimer-section h4 { 2744 font-size: 18px; 2745 margin: 15px 0px; 2746 font-weight: 600; 2747 } 2748 2749 .loan-detail-section-child .break-up-total-payment-chart-wrap label.summary-chart-heading { 2750 font-size: 18px; 2751 font-weight: 600; 2752 color: #3f4864; 2753 } 2754 2755 .loan-detail-section-child .calculator-disclaimer-section p { 2756 margin-bottom: 10px; 2757 font-size: 14px; 2758 line-height: 22px; 2759 } 2760 2761 .loan-detail-fee-block { 2762 padding: 10px 0px !important; 2763 } 2764 2765 .calculator-disclaimer-section h4 { 2766 font-size: 18px; 2767 margin: 15px 0px; 2768 color: #3f4864; 2769 font-weight: 800; 2770 } 2771 2772 .calculator-disclaimer-section p { 2773 font-size: 14px; 2774 line-height: 24px; 2775 } 2776 2777 .chart-note{ 2778 display: none; 2779 } 2780 .chart-note p { 2781 font-size: 11px; 2782 } 2783 #total_interests_amt_hidden{ 2784 display: none; 2785 } 2786 2787 2656 2788 /****************************************************/ 2657 2789 /**************** START Media Screen ****************/ … … 2664 2796 } 2665 2797 2666 #main-sec { 2667 -webkit-print-color-adjust: exact !important; 2668 -moz-print-color-adjust: exact !important; 2669 -ms-print-color-adjust: exact !important; 2670 print-color-adjust: exact !important; 2671 color-adjust: exact !important; 2672 } 2673 .loan-option-text-info 2674 .loan-option-text-info-section 2675 .loan-option-text-info-block 2676 .first-row { 2677 display: flex; 2678 flex-wrap: wrap; 2679 margin: 0 -15px 15px; 2680 } 2681 2682 .loan-option-text-info 2683 .loan-option-text-info-section 2684 .loan-option-text-info-block 2685 .second-row { 2686 display: flex; 2687 } 2688 .loan-option-text-info 2689 .loan-option-text-info-section 2690 .loan-option-text-info-block 2691 .second-row 2692 .second-row-sub-child:first-child { 2693 width: 50%; 2694 } 2695 .loan-option-text-info 2696 .loan-option-text-info-section 2697 .loan-option-text-info-block 2698 .second-row 2699 .second-row-sub-child { 2700 width: 50%; 2701 padding: 0 15px; 2702 } 2703 2704 .loan-option-text-info 2705 .loan-detail-section 2706 .loan-detail-section-child 2707 .sub-main-tab 2708 .tab-content { 2709 width: 100%; 2710 } 2711 .loan-option-text-info 2712 .loan-detail-section 2713 .loan-detail-section-child:first-child { 2714 width: 100% !important; 2715 padding-top: 20px; 2716 background: rgb(255, 255, 255); 2717 } 2718 .loan-option-text-info 2719 .loan-detail-section 2720 .loan-detail-section-child:last-child { 2721 max-width: 100%; 2722 padding-top: 20px !important; 2723 padding-left: 17px; 2724 } 2725 .loan-option-text-info .loan-detail-section { 2726 background: #ffffff; 2727 padding: 0; 2728 margin-top: 20px; 2729 display: flex; 2730 flex-wrap: wrap; 2731 margin: 0 -15px; 2732 } 2733 #loan-process-graph { 2734 width: 460px !important; 2735 } 2736 .loan-option-text-info 2737 .loan-detail-section 2738 .loan-detail-section-child:last-child 2739 .loan-detail-cal-desc { 2740 padding: 15px; 2741 background: var(--calc-bg-light-color); 2742 } 2743 .loan-option-text-info 2744 .loan-detail-section 2745 .loan-detail-section-child:last-child 2746 .loan-detail-fee-desc { 2747 padding: 15px; 2748 background: #ffffff; 2749 margin-top: 20px; 2750 border: 1px solid black; 2751 } 2752 .loan-option-text-info { 2753 background: #f8f8f8; 2754 padding: 15px 15px 0; 2755 margin-bottom: 15px; 2756 } 2757 2758 .loan-option-text-info 2759 .loan-detail-section 2760 .loan-detail-section-child 2761 .sub-main-tab 2762 .tabs { 2763 max-width: 100%; 2764 float: none; 2765 list-style: none; 2766 padding: 0; 2767 margin: 0 auto; 2768 position: relative; 2769 display: flex; 2770 flex-wrap: wrap; 2771 } 2772 .loan-option-text-info 2773 .loan-detail-section 2774 .loan-detail-section-child 2775 .sub-main-tab 2776 .tabs 2777 input[type="radio"] { 2778 display: none; 2779 } 2780 .loan-option-text-info 2781 .loan-detail-section 2782 .loan-detail-section-child 2783 .sub-main-tab 2784 .tabs 2785 input[type="radio"]:checked 2786 + label { 2787 background: var(--calc-background-color); 2788 border: 1px solid var(--calc-background-color); 2789 color: #ffffff; 2790 } 2791 .loan-option-text-info 2792 .loan-detail-section 2793 .loan-detail-section-child 2794 .sub-main-tab 2795 .tabs 2796 label 2797 i { 2798 padding: 5px; 2799 margin-right: 0; 2800 } 2801 .loan-option-text-info 2802 .loan-detail-section 2803 .loan-detail-section-child 2804 .sub-main-tab 2805 .tabs 2806 input[type="radio"] { 2807 display: none; 2808 } 2809 .loan-option-text-info 2810 .loan-detail-section 2811 .loan-detail-section-child 2812 .sub-main-tab 2813 .tabs 2814 label { 2815 padding: 10px 12px; 2816 border: 1px solid var(--calc-background-color); 2817 background-color: var(--calc-bg-light-color); 2818 color: var(--calc-background-color); 2819 font-size: 14px; 2820 margin: 0; 2821 } 2822 .loan-option-text-info 2823 .loan-detail-section 2824 .loan-detail-section-child 2825 .sub-main-tab 2826 .tabs 2827 input[type="radio"] { 2828 display: none; 2829 } 2830 2831 .loan-option-text-info 2832 .loan-detail-section 2833 .loan-detail-section-child 2834 .sub-main-tab 2835 .tabs:after { 2836 content: ""; 2837 display: table; 2838 clear: both; 2839 } 2840 2841 .contact-us-section { 2842 background-color: var(--calc-background-color); 2843 text-align: center; 2844 padding: 16px; 2845 margin-bottom: 16px; 2846 } 2847 2848 .contact-us-popup { 2849 position: fixed; 2850 display: block; 2851 background: rgba(0, 0, 0, 0.5); 2798 body * { 2799 visibility: hidden; 2800 } 2801 2802 .ctm_main_wrap, .ctm_main_wrap * { 2803 visibility: visible; 2804 } 2805 2806 .ctm_main_wrap { 2807 position: absolute; 2852 2808 left: 0; 2853 2809 top: 0; 2810 } 2811 2812 .page-break { 2813 page-break-inside: avoid; 2814 } 2815 2816 .loan-option-text-info .loan-detail-section .loan-detail-section-child:last-child { 2854 2817 width: 100%; 2855 height: 100%; 2856 z-index: 9; 2857 padding: 50px 0; 2858 overflow: auto; 2859 display: none; 2860 } 2861 2862 #main-sec { 2863 margin: 0 !important; 2864 max-width: 100%; 2865 display: block; 2866 font-weight: normal; 2867 overflow: hidden; 2868 height: max-content; 2869 } 2870 2871 #tab-content1.tab-content { 2872 overflow: hidden; 2873 height: max-content; 2874 } 2875 table { 2876 page-break-inside: auto !important; 2877 width: 100%; 2878 border-collapse: collapse; 2879 2880 } 2881 th, td { 2882 padding: 5px; 2883 border: 1px solid #000; 2884 text-align: left; 2885 } 2886 2887 tr { 2888 page-break-inside: avoid !important; 2889 page-break-after: auto !important; 2890 } 2891 2892 .page-break { 2893 page-break-before: always !important; 2894 } 2895 section#main-sec .calculator-disclaimer-section { 2896 padding: 15px; 2897 background-color: #ecf5fe; 2898 } 2899 .loan-option-text-info .loan-detail-section .loan-detail-section-child:last-child{ 2900 padding: 20px 15px 15px 15px !important; 2901 background-color: #ecf5fe; 2902 } 2903 .loan-option-text-info .loan-option-text-info-section .loan-option-text-info-block .downpayment-row .downpayment-row-sub-child .loan-text-dis input[type="text"]{ 2904 width: 100% !important;; 2905 } 2906 .loan-option-text-info .loan-option-text-info-section .loan-option-text-info-block .extrapayment-row .extrapayment-row-sub-child .loan-text-dis input[type="text"]{ 2907 width: 100% !important;; 2908 } 2909 .loan-option-text-info .loan-option-text-info-section .loan-option-text-info-block .extrapayment-row .extrapayment-row-sub-child .slider{ 2818 padding-top: 15px; 2819 /* padding-left: 17px; */ 2820 } 2821 .loan-detail-section-child .summary-calculation-and-chart-wrappar { 2822 display: flex; 2823 } 2824 2825 #loan-process-graph{ 2910 2826 width: 100% !important; 2911 } 2912 #tab-content1 #loan-process-graph{ 2913 width:100% !important; 2914 } 2827 height: 100% !important; 2828 } 2829 #break-up-total-payment-chart{ 2830 width: 100% !important; 2831 height: 90% !important; 2832 } 2833 2915 2834 } 2916 2835 … … 2929 2848 .first-row 2930 2849 .first-row-sub-child:last-child { 2931 width: 100%;2932 2933 margin: 15px 0;2850 /*width: 100%;*/ 2851 2852 /*margin: 15px 0;*/ 2934 2853 } 2935 2854 } … … 3039 2958 .first-row 3040 2959 .first-row-sub-child { 3041 width: 50%;2960 width: 100%; 3042 2961 } 3043 2962 … … 3049 2968 width: 100%; 3050 2969 3051 margin: 15px 0;2970 /*margin: 15px 0;*/ 3052 2971 } 3053 2972 … … 3310 3229 overflow-x: scroll; 3311 3230 } 3231 3232 .loan-detail-section-child.with-summary-chart .loan-detail-cal-desc { 3233 width: calc(100% - 15px); 3234 } 3235 3236 .loan-detail-section-child.with-summary-chart .break-up-total-payment-chart-wrap.loan-detail-cal-desc { 3237 width: calc(100% - 15px); 3238 } 3312 3239 } 3313 3240 … … 3323 3250 flex-wrap: wrap; 3324 3251 } 3252 3253 .loan-detail-section-child .summary-calculation-and-chart-wrappar { 3254 flex-direction: column; 3255 } 3256 3325 3257 } 3326 3258 … … 3364 3296 text-wrap: balance; 3365 3297 } 3366 } 3298 3299 .loan-detail-section-child .loan-cal-desc { 3300 flex-direction: column; 3301 border-bottom: 1px solid #242c4c29; 3302 3303 } 3304 3305 .loan-detail-section-child .loan-cal-desc-val { 3306 text-align: start; 3307 text-wrap: unset; 3308 } 3309 3310 .loan-detail-section-child .loan-cal-desc-heading { 3311 width: 100% !important; 3312 margin: 0 !important; 3313 } 3314 3315 .loan-detail-section-child .loan-cal-desc-val { 3316 width: 100%; 3317 margin-bottom: 5px; 3318 } 3319 } -
loan-calculator-wp/trunk/includes/css/post_type_admin.css
r3070552 r3209029 48 48 display: none !important; 49 49 } 50 51 .loan-calculator-form-settings .sa-manage-level-product-box .require-field-star{ 52 color: red; 53 /* display: flex;*/ 54 } 55 .loan-calculator-form-settings .sa-manage-level-product-box .error{ 56 color: red; 57 display: flex; 58 } -
loan-calculator-wp/trunk/includes/js/admin-script.js
r3157002 r3209029 1 1 'use strict'; 2 2 3 4 5 6 7 3 jQuery(document).ready(function (jQuery) { 8 4 9 5 10 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub ").hide();11 12 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub ").wpColorPicker();13 14 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub ").show();6 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub, #balance_border_color_graph, #balance_point_background_color_graph, #extra_payment_graph_color,#summary_chart_principal_fill_color,#summary_chart_interest_fill_color,#summary_chart_ballon_payment_fill_color,#summary_chart_down_payment_fill_color,#summary_chart_extra_payment_fill_color").hide(); 7 8 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub, #balance_border_color_graph, #balance_point_background_color_graph, #extra_payment_graph_color,#summary_chart_principal_fill_color,#summary_chart_interest_fill_color,#summary_chart_ballon_payment_fill_color,#summary_chart_down_payment_fill_color,#summary_chart_extra_payment_fill_color").wpColorPicker(); 9 10 jQuery("#back_ground_color, #selected_color, #background_light_color, #border_color, #graph_color, #graph_border_color, #graph_color_sub, #graph_border_color_sub, #balance_border_color_graph, #balance_point_background_color_graph, #extra_payment_graph_color,#summary_chart_principal_fill_color,#summary_chart_interest_fill_color,#summary_chart_ballon_payment_fill_color,#summary_chart_down_payment_fill_color,#summary_chart_extra_payment_fill_color").show(); 15 11 16 12 jQuery(document).on('click', '#calculation_fee_setting_enable', function () { … … 377 373 378 374 375 376 if(jQuery('#chart_types').val()=='stacked_bar'){ 377 378 jQuery('#balance-border-color-graph').show(); 379 jQuery('#balance-point-background-color-graph').show(); 380 jQuery('#extra-payment-graph-color').show(); 381 382 } 383 else{ 384 385 jQuery('#balance-border-color-graph').hide(); 386 jQuery('#balance-point-background-color-graph').hide(); 387 jQuery('#extra-payment-graph-color').hide(); 388 389 } 390 391 392 jQuery('#chart_types').on('change', function () { 393 394 if(jQuery(this).val()=='stacked_bar'){ 395 396 jQuery('#balance-border-color-graph').show(); 397 jQuery('#balance-point-background-color-graph').show(); 398 jQuery('#extra-payment-graph-color').show(); 399 400 } 401 else{ 402 403 jQuery('#balance-border-color-graph').hide(); 404 jQuery('#balance-point-background-color-graph').hide(); 405 jQuery('#extra-payment-graph-color').hide(); 406 407 } 408 }); 409 410 411 412 jQuery('#summary_chart_option').on('change', function () { 413 414 if (this.checked) { 415 416 jQuery('.summary-chart-options').show(); //checked 417 418 } else { 419 420 jQuery('.summary-chart-options').hide(); //checked 421 422 } 423 424 }); 425 426 427 /* admin setting fields validation code */ 428 jQuery('#loan_calculator_form_settings').validate({ 429 430 rules: { 431 "ww_loan_option\[loan_amount_label\]": { 432 required: true 433 }, 434 "ww_loan_option\[loan_amount\]": { 435 required: true, 436 maxlength: 20, 437 min:1 438 }, 439 "ww_loan_option\[loan_amount_min_value\]": { 440 required: true, 441 maxlength: 20, 442 min:1 443 }, 444 "ww_loan_option\[loan_amount_max_value\]": { 445 required: true, 446 maxlength: 20, 447 min:1 448 }, 449 "ww_loan_option\[interested_rate\]": { 450 required: true, 451 min:0.5, 452 max:40, 453 maxlength: 5 454 }, 455 "ww_loan_option\[interest_rate_min_value\]": { 456 required: true, 457 maxlength: 5, 458 min:0.5, 459 max:40 460 }, 461 "ww_loan_option\[interest_rate_max_value\]": { 462 required: true, 463 maxlength: 5, 464 min:0.5, 465 max:40 466 }, 467 "ww_loan_option\[ballon_per\]": { 468 min:1, 469 max:80 , 470 required: function () { 471 return !jQuery("#disable_ballon_amt").prop("checked"); 472 } 473 }, 474 "ww_loan_option\[extra_payment_max_per\]": { 475 min:1, 476 max:100, 477 required: function () { 478 return jQuery("#extra_payment_option").prop("checked"); 479 } 480 }, 481 "ww_loan_option\[application_fee\]": { 482 min:1, 483 max:50000, 484 required: function () { 485 return jQuery("#calculation_fee_setting_enable").prop("checked"); 486 } 487 }, 488 "ww_loan_option\[monthly_rate\]": { 489 min:1, 490 max:50000, 491 required: function () { 492 return jQuery("#calculation_fee_setting_enable").prop("checked"); 493 } 494 }, 495 "ww_loan_option\[regular_repayment_heading\]": { 496 maxlength: 200, 497 required: true 498 }, 499 "ww_loan_option\[total_interests_payable_heading\]": { 500 maxlength: 200, 501 required: function () { 502 return !jQuery("#ww_loan_total_interest_payable").prop("checked"); 503 } 504 }, 505 "ww_loan_option\[ballon_amt_heading\]": { 506 maxlength: 200, 507 required: function () { 508 return !jQuery("#disable_ballon_amt").prop("checked"); 509 } 510 }, 511 "ww_loan_option\[down_payment_heading\]": { 512 maxlength: 200, 513 required: function () { 514 return jQuery("#down_payment_option").prop("checked"); 515 } 516 }, 517 "ww_loan_option\[extra_payment_heading\]": { 518 maxlength: 200, 519 required: function () { 520 return jQuery("#extra_payment_option").prop("checked"); 521 } 522 }, 523 "ww_loan_option\[extra_payment_save_time_label\]": { 524 maxlength: 200, 525 required: function () { 526 return !jQuery("#hide_save_time_extra_payments").prop("checked"); 527 } 528 }, 529 "ww_loan_option\[extra_payment_total_label\]": { 530 maxlength: 200, 531 required: function () { 532 return !jQuery("#hide_total_extra_payments").prop("checked"); 533 } 534 }, 535 "ww_loan_option\[extra_payment_save_interest_label\]": { 536 maxlength: 200, 537 required: function () { 538 return !jQuery("#hide_save_interest_extra_payments").prop("checked"); 539 } 540 }, 541 "ww_loan_option\[application_fee_heading\]": { 542 maxlength: 50, 543 required: function () { 544 return jQuery("#calculation_fee_setting_enable").prop("checked"); 545 } 546 }, 547 "ww_loan_option\[monthly_fee_heading\]": { 548 maxlength: 50, 549 required: function () { 550 return jQuery("#calculation_fee_setting_enable").prop("checked"); 551 } 552 }, 553 "ww_loan_option\[total_regular_fees\]": { 554 maxlength: 50, 555 required: function () { 556 return jQuery("#calculation_fee_setting_enable").prop("checked"); 557 } 558 }, 559 "ww_loan_option\[total_fees\]": { 560 maxlength: 50, 561 required: function () { 562 return jQuery("#calculation_fee_setting_enable").prop("checked"); 563 } 564 }, 565 "ww_loan_option\[calculator_heading\]": { 566 maxlength: 300 567 }, 568 "ww_loan_option\[about_this_calculator\]": { 569 maxlength: 100, 570 required: function () { 571 return !jQuery("#about_this_calculator_disable").prop("checked"); 572 } 573 }, 574 "ww_loan_option\[print_option_heading\]": { 575 maxlength: 100, 576 required: function () { 577 return jQuery("#print_option_enable").prop("checked"); 578 } 579 }, 580 "ww_loan_option\[repayment_chart_heading\]": { 581 maxlength: 60, 582 required: function () { 583 return jQuery("#enable_repayment_chart").prop("checked"); 584 } 585 }, 586 "ww_loan_option\[loan_table_heading\]": { 587 maxlength: 60, 588 required: function () { 589 return jQuery("#enable_loan_mortisation_tab").prop("checked"); 590 } 591 }, 592 "ww_loan_option\[video_heading\]": { 593 maxlength: 60, 594 required: function () { 595 return jQuery("#enable_video_tab").prop("checked"); 596 } 597 }, 598 "ww_loan_option\[youtube_video_link\]": { 599 maxlength: 200, 600 required: function () { 601 return jQuery("#enable_video_tab").prop("checked"); 602 } 603 }, 604 "ww_loan_option\[contact_popup_button_heading\]": { 605 maxlength: 200, 606 required: function () { 607 return !jQuery("#disable_contactus_section").prop("checked"); 608 } 609 }, 610 "ww_loan_option\[calculator_disclaimer_heading\]": { 611 maxlength: 50 612 }, 613 "ww_loan_option\[summary_chart_label\]": { 614 maxlength: 50, 615 required: function () { 616 return jQuery("#summary_chart_option").prop("checked"); 617 } 618 }, 619 "ww_loan_option\[contact_popup_content\]": { 620 required: function () { 621 return (jQuery("#popup-type").prop("checked") && !jQuery("#disable_contactus_section").prop("checked")); 622 } 623 }, 624 "ww_loan_option\[contact_url\]": { 625 required: function () { 626 return (jQuery("#link-type").prop("checked") && !jQuery("#disable_contactus_section").prop("checked")); 627 } 628 }, 629 "ww_loan_option\[down_payment_label\]": { 630 maxlength: 50, 631 required: function () { 632 return jQuery("#down_payment_option").prop("checked"); 633 } 634 }, 635 "ww_loan_option\[down_payment_max_per\]": { 636 min:1, 637 max:100, 638 required: function () { 639 return jQuery("#down_payment_option").prop("checked"); 640 } 641 }, 642 }, 643 messages: { 644 "ww_loan_option\[loan_amount_label\]": { 645 required: admin_setting_data.enter_loan_amt_label_msg 646 }, 647 "ww_loan_option\[loan_amount\]": { 648 required: admin_setting_data.enter_loan_amt_msg 649 }, 650 "ww_loan_option\[loan_amount_min_value\]": { 651 required: admin_setting_data.enter_loan_amt_min_msg 652 }, 653 "ww_loan_option\[loan_amount_max_value\]": { 654 required: admin_setting_data.enter_loan_amt_max_msg 655 }, 656 "ww_loan_option\[interested_rate\]": { 657 required: admin_setting_data.enter_interest_rate_msg 658 }, 659 "ww_loan_option\[interest_rate_min_value\]": { 660 required: admin_setting_data.enter_interest_rate_min_msg 661 }, 662 "ww_loan_option\[interest_rate_max_value\]": { 663 required: admin_setting_data.enter_interest_rate_max_msg 664 }, 665 "ww_loan_option\[application_fee\]": { 666 required: admin_setting_data.enter_application_fee_msg 667 }, 668 "ww_loan_option\[monthly_rate\]": { 669 required: admin_setting_data.enter_monthly_rate_msg 670 }, 671 "ww_loan_option\[about_this_calculator\]": { 672 required: admin_setting_data.enter_about_calcultor_label 673 }, 674 "ww_loan_option\[print_option_heading\]": { 675 required: admin_setting_data.enter_print_label 676 }, 677 "ww_loan_option\[summary_chart_label\]": { 678 required: admin_setting_data.enter_summery_chart_label 679 }, 680 "ww_loan_option\[ballon_per\]": { 681 required: admin_setting_data.enter_ballon_amt_per 682 }, 683 "ww_loan_option\[regular_repayment_heading\]": { 684 required: admin_setting_data.regular_repayment_heading 685 }, 686 "ww_loan_option\[total_interests_payable_heading\]": { 687 required: admin_setting_data.total_interest_payable_label 688 }, 689 "ww_loan_option\[ballon_amt_heading\]": { 690 required: admin_setting_data.enter_ballon_amt_heading 691 }, 692 "ww_loan_option\[down_payment_heading\]": { 693 required: admin_setting_data.enter_down_payment_heading 694 }, 695 "ww_loan_option\[extra_payment_heading\]": { 696 required: admin_setting_data.enter_extra_payment_heading 697 }, 698 "ww_loan_option\[extra_payment_save_time_label\]": { 699 required: admin_setting_data.enter_extra_payment_save_time_label 700 }, 701 "ww_loan_option\[extra_payment_total_label\]": { 702 required: admin_setting_data.enter_extra_payment_total_label 703 }, 704 "ww_loan_option\[extra_payment_save_interest_label\]": { 705 required: admin_setting_data.enter_extra_payment_save_interest_label 706 }, 707 "ww_loan_option\[application_fee_heading\]": { 708 required: admin_setting_data.enter_application_fee_heading 709 }, 710 "ww_loan_option\[monthly_fee_heading\]": { 711 required: admin_setting_data.enter_monthly_fee_heading 712 }, 713 "ww_loan_option\[total_regular_fees\]": { 714 required: admin_setting_data.enter_total_regular_fees 715 }, 716 "ww_loan_option\[total_fees\]": { 717 required: admin_setting_data.enter_total_fees 718 }, 719 "ww_loan_option\[repayment_chart_heading\]": { 720 required: admin_setting_data.enter_repayment_chart_heading 721 }, 722 "ww_loan_option\[loan_table_heading\]": { 723 required: admin_setting_data.enter_loan_table_heading 724 }, 725 "ww_loan_option\[video_heading\]": { 726 required: admin_setting_data.enter_video_heading 727 }, 728 "ww_loan_option\[youtube_video_link\]": { 729 required: admin_setting_data.enter_youtube_video_link 730 }, 731 "ww_loan_option\[contact_popup_button_heading\]": { 732 required: admin_setting_data.enter_contact_popup_button_heading 733 }, 734 "ww_loan_option\[contact_popup_content\]": { 735 required: admin_setting_data.enter_contact_popup_content 736 }, 737 "ww_loan_option\[contact_url\]": { 738 required: admin_setting_data.enter_contact_url 739 }, 740 "ww_loan_option\[down_payment_label\]": { 741 required: admin_setting_data.enter_down_payment_label 742 }, 743 "ww_loan_option\[down_payment_max_per\]": { 744 required: admin_setting_data.enter_down_payment_max_per 745 }, 746 "ww_loan_option\[extra_payment_max_per\]": { 747 required: admin_setting_data.enter_extra_payment_max_per 748 } 749 750 }, 751 submitHandler: function(form) { 752 form.submit(); 753 } 754 755 }); 756 757 /* ballon amout section hide show start */ 758 759 jQuery('#disable_ballon_amt').on('change', function () { 760 761 if (this.checked) { 762 763 jQuery('#ballon_amt_per_text_section').hide(); 764 jQuery('#ballon_amt_tooltip_section').hide(); 765 766 767 } else { 768 769 jQuery('#ballon_amt_per_text_section').show(); 770 jQuery('#ballon_amt_tooltip_section').show(); 771 772 } 773 774 }); 775 776 777 if(jQuery("#disable_ballon_amt").prop('checked') == true){ 778 779 jQuery('#ballon_amt_per_text_section').hide(); 780 jQuery('#ballon_amt_tooltip_section').hide(); 781 782 } 783 else{ 784 785 jQuery('#ballon_amt_per_text_section').show(); 786 jQuery('#ballon_amt_tooltip_section').show(); 787 788 } 789 790 /* ballon amout section hide show end */ 791 792 379 793 }); 380 794 381 795 382 383 384 385 796 function onlyNos(evt, txt_name) { 386 797 387 388 389 798 var theEvent = evt || window.event; 390 799 … … 395 804 key = String.fromCharCode(key); 396 805 397 398 399 400 401 806 // Add condition to allow left and right arrow keys 402 807 … … 407 812 } 408 813 409 410 411 814 if ((theEvent.ctrlKey || theEvent.metaKey) && key.toLowerCase() === 'v') { 412 815 … … 415 818 } 416 819 417 418 419 820 if (theEvent.key == "!" || theEvent.key == "@" || theEvent.key == "#" || theEvent.key == "$" || theEvent.key == "&" || theEvent.key == "%" || theEvent.key == "^" || theEvent.key == "*" || theEvent.key == ")" || theEvent.key == "(") { 420 821 … … 423 824 } 424 825 425 426 427 826 if (keyCode == 67 || keyCode == 86 || keyCode == 88 || keyCode == 65 || keyCode==38 || keyCode == 40) { 428 827 … … 431 830 } 432 831 433 434 435 832 var txt_value = jQuery("#" + txt_name).val(); 436 833 … … 441 838 } 442 839 443 444 445 840 if (key.length == 0) return; 446 841 -
loan-calculator-wp/trunk/includes/js/frontend-script.js
r3162164 r3209029 17 17 /*****************************************************************************************/ 18 18 19 if (element .classList.contains("new-theme-template-section")) {19 if (element != null && element.classList.contains("new-theme-template-section")) { 20 20 //Condition For New theme 21 21 function loan_calculation_process() { … … 59 59 if (setting_data.down_payment_mode == 'percentage') { 60 60 61 document.getElementById("down_payment_range").max = 80;61 document.getElementById("down_payment_range").max = setting_data.down_payment_max_per; 62 62 63 63 var down_payment_range = document.getElementById("down_payment_range"); … … 217 217 jQuery("#extra_payment_total_section").hide(); 218 218 jQuery("#extra_payment_saved_interest_section").hide(); 219 jQuery("#bottom_total_extra_payment").text(''); 219 220 } 220 221 … … 779 780 780 781 jQuery("#total_interests_amt").html(addCommas(total_int_amt)); 782 jQuery("#total_interests_amt_hidden").html(addCommas(total_int_amt)); 783 781 784 782 785 … … 787 790 addCommas(Math.round(parseFloat(0) - parseFloat(0))) 788 791 ); 792 793 jQuery("#total_interests_amt_hidden").html( 794 addCommas(Math.round(parseFloat(0) - parseFloat(0))) 795 ); 796 797 789 798 } else { 790 799 … … 808 817 809 818 jQuery("#total_interests_amt").html(total_sum_interests); 819 jQuery("#total_interests_amt_hidden").html(total_sum_interests); 820 821 810 822 } 811 823 } … … 1261 1273 1262 1274 1263 /* extra payment display total interest in summ ery result */1275 /* extra payment display total interest in summary result */ 1264 1276 1265 1277 if (setting_data.extra_payment_option == '1' && extra_payment > 0) { … … 1268 1280 1269 1281 jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay)); 1282 jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay)); 1270 1283 1271 1284 } … … 1273 1286 1274 1287 jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay.toFixed(2))); 1288 jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay.toFixed(2))); 1275 1289 1276 1290 } … … 1328 1342 } 1329 1343 1330 /* extra payment display total interest in summ ery result */1344 /* extra payment display total interest in summary result */ 1331 1345 1332 1346 … … 1340 1354 var balance_arr = []; 1341 1355 var remainig_interests = []; 1356 var total_monthly_payment = []; 1357 var total_principal_amonut = []; 1342 1358 var balance = loan_amount; 1359 var interestSum = 0; 1360 var principalSum = 0; 1361 var monthly_paymentSum = 0; 1343 1362 1344 1363 var graph_type = "Years"; … … 1403 1422 } 1404 1423 1424 interestSum += interest; // Accumulate interest 1425 principalSum += principal; 1426 monthly_paymentSum += monthly_payment; 1427 1405 1428 if (loan_terms_month > 120) { 1406 if (p % 12 == 0 ) {1429 if (p % 12 == 0 || p == loan_terms_month) { 1407 1430 if (setting_data.remove_decimal_point == 1) { 1408 remainig_interests.push(parseInt(total_interests)); 1431 /* remainig_interests.push(parseInt(total_interests)); 1432 balance_arr.push(parseInt(balance)); */ 1433 1434 remainig_interests.push(parseInt(interestSum)); 1409 1435 balance_arr.push(parseInt(balance)); 1436 total_monthly_payment.push(parseInt(monthly_paymentSum)); 1437 total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum)); 1410 1438 } else { 1411 remainig_interests.push(parseFloat( total_interests.toFixed(2)));1439 remainig_interests.push(parseFloat(interestSum.toFixed(2))); 1412 1440 balance_arr.push(parseFloat(balance.toFixed(2))); 1413 } 1441 total_monthly_payment.push(parseFloat(monthly_paymentSum.toFixed(2))); 1442 total_principal_amonut.push(parseFloat(monthly_paymentSum.toFixed(2)) - parseFloat(interestSum.toFixed(2))); 1443 } 1444 interestSum = 0; 1445 //principalSum = 0; 1446 monthly_paymentSum = 0; 1414 1447 } 1415 1448 } else { 1416 1449 if (setting_data.remove_decimal_point == 1) { 1417 remainig_interests.push(parseInt(total_interests)); 1418 balance_arr.push(parseInt(balance)); 1450 remainig_interests.push(parseInt(interest)); 1451 if(setting_data.chart_types == 'stacked_bar'){ 1452 balance_arr.push(parseInt(balance)); 1453 total_monthly_payment.push(parseInt(monthly_paymentSum)); 1454 total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum)); 1455 }else{ 1456 balance_arr.push(parseInt(principal)); 1457 } 1419 1458 } else { 1420 remainig_interests.push(parseFloat(total_interests.toFixed(2))); 1421 balance_arr.push(parseFloat(balance.toFixed(2))); 1459 remainig_interests.push(parseFloat(interest.toFixed(2))); 1460 if(setting_data.chart_types == 'stacked_bar'){ 1461 balance_arr.push(parseFloat(balance.toFixed(2))); 1462 total_monthly_payment.push(parseFloat(monthly_payment.toFixed(2))); 1463 total_principal_amonut.push(parseFloat(monthly_payment.toFixed(2)) - parseFloat(interest.toFixed(2))); 1464 }else{ 1465 balance_arr.push(parseFloat(principal.toFixed(2))); 1466 } 1422 1467 } 1423 1468 } … … 1438 1483 var loan_data = []; 1439 1484 const interests = []; 1440 const principal_arr = [];1485 const total_balance_arr = []; 1441 1486 const xData = []; 1442 1487 1443 for (var p = 0; p < remainig_interests.length; p++) { 1444 principal_arr.push(balance_arr[p]); 1488 /* new stacked bar chart */ 1489 //if(setting_data.chart_types == 'stacked_bar'){ 1490 const principal_calc_new_arr = []; 1491 const extra_payment_arr = []; 1492 //} 1493 1494 for (var p = 1; p < remainig_interests.length; p++) { 1495 total_balance_arr.push(balance_arr[p]); 1445 1496 if (setting_data.remove_decimal_point == 1) { 1446 1497 interests.push(parseInt(remainig_interests[p])); 1498 /* new stacked bar chart */ 1499 if(setting_data.chart_types == 'stacked_bar'){ 1500 principal_calc_new_arr.push(parseInt(monthly_payment) - parseInt(remainig_interests[p])); 1501 } 1502 1447 1503 } else { 1448 1504 interests.push(parseFloat(remainig_interests[p])); 1505 1506 /* new stacked bar chart */ 1507 if(setting_data.chart_types == 'stacked_bar'){ 1508 principal_calc_new_arr.push(parseFloat(monthly_payment) - parseFloat(remainig_interests[p])); 1509 } 1510 1449 1511 } 1450 1512 xData.push(p); 1513 1514 /* new stacked bar chart */ 1515 if(setting_data.chart_types == 'stacked_bar'){ 1516 extra_payment_arr.push(extra_payment); 1517 } 1518 1451 1519 } 1452 1520 … … 1461 1529 "--calc-graph-border-color-sub" 1462 1530 ); 1531 1532 1533 /* new stacked bar chart */ 1534 if(setting_data.chart_types == 'stacked_bar'){ 1535 1536 var balance_border_color_graph = $("#loan-process-graph").css( 1537 "--calc-graph-balance-border-color" 1538 ); 1539 var balance_point_background_color_graph = $("#loan-process-graph").css( 1540 "--calc-graph-balance-point-background-color" 1541 ); 1542 var extra_payment_graph_color = $("#loan-process-graph").css( 1543 "--calc-graph-extra-payment-graph-color" 1544 ); 1545 1546 } 1463 1547 1464 1548 const colors = { … … 1483 1567 }; 1484 1568 1485 const data = { 1569 var data = {}; 1570 1571 /* new stacked bar chart */ 1572 1573 if(setting_data.chart_types == 'stacked_bar'){ 1574 1575 1576 if (typeof balance_point_background_color_graph === 'undefined'){ 1577 balance_point_background_color_graph = setting_data.balance_point_background_color_graph; 1578 } 1579 1580 if (typeof balance_border_color_graph === 'undefined'){ 1581 balance_border_color_graph = setting_data.balance_border_color_graph; 1582 } 1583 1584 if (typeof extra_payment_graph_color === 'undefined'){ 1585 extra_payment_graph_color = setting_data.extra_payment_graph_color; 1586 } 1587 1588 1589 var data_sets_graph = [ 1590 1591 { 1592 // label: "Balance", 1593 label: 'Balance', 1594 type:'line', 1595 fill: false, 1596 data: total_balance_arr, 1597 backgroundColor: balance_point_background_color_graph, 1598 pointBackgroundColor: balance_point_background_color_graph, 1599 borderColor: balance_border_color_graph, 1600 pointHighlightStroke: balance_point_background_color_graph, 1601 borderCapStyle: "butt", 1602 pointRadius: 5 1603 1604 }, 1605 { 1606 // label: "Principal", 1607 label: setting_data.principal_label, 1608 fill: true, 1609 backgroundColor: colors.darkBlue.fill, 1610 pointBackgroundColor: colors.darkBlue.stroke, 1611 borderColor: colors.darkBlue.stroke, 1612 pointHighlightStroke: colors.darkBlue.stroke, 1613 borderCapStyle: "butt", 1614 data: total_principal_amonut, 1615 yAxisID: 'y1' 1616 1617 }, 1618 { 1619 // label: "Interest", 1620 label: setting_data.interest_label, 1621 fill: true, 1622 backgroundColor: colors.purple.fill, 1623 pointBackgroundColor: colors.purple.stroke, 1624 borderColor: colors.purple.stroke, 1625 pointHighlightStroke: colors.purple.stroke, 1626 borderCapStyle: "butt", 1627 data: interests, 1628 yAxisID: 'y1' 1629 } 1630 1631 ]; 1632 1633 1634 if(extra_payment > 0){ 1635 1636 data_sets_graph.push({ 1637 // label: "Extra payment", 1638 label: setting_data.extra_payment_label, 1639 fill: true, 1640 backgroundColor: extra_payment_graph_color, 1641 pointBackgroundColor: colors.purple.stroke, 1642 borderColor: colors.purple.stroke, 1643 pointHighlightStroke: colors.purple.stroke, 1644 borderCapStyle: "butt", 1645 data: extra_payment_arr, 1646 yAxisID: 'y1' 1647 }); 1648 } 1649 1650 data = { 1486 1651 labels: xData, 1487 datasets: [ 1488 { 1489 // label: "Interest", 1490 label: setting_data.interest_label, 1491 fill: true, 1492 backgroundColor: colors.purple.fill, 1493 pointBackgroundColor: colors.purple.stroke, 1494 borderColor: colors.purple.stroke, 1495 pointHighlightStroke: colors.purple.stroke, 1496 borderCapStyle: "butt", 1497 data: interests, 1498 }, 1499 1500 { 1501 // label: "Principal", 1502 label: setting_data.principal_label, 1503 fill: true, 1504 backgroundColor: colors.darkBlue.fill, 1505 pointBackgroundColor: colors.darkBlue.stroke, 1506 borderColor: colors.darkBlue.stroke, 1507 pointHighlightStroke: colors.darkBlue.stroke, 1508 borderCapStyle: "butt", 1509 data: principal_arr, 1510 }, 1511 ], 1512 }; 1652 datasets: data_sets_graph 1653 }; 1654 1655 }else{ 1656 1657 data = { 1658 labels: xData, 1659 datasets: [ 1660 { 1661 // label: "Interest", 1662 label: setting_data.interest_label, 1663 fill: true, 1664 backgroundColor: colors.purple.fill, 1665 pointBackgroundColor: colors.purple.stroke, 1666 borderColor: colors.purple.stroke, 1667 pointHighlightStroke: colors.purple.stroke, 1668 borderCapStyle: "butt", 1669 data: interests, 1670 }, 1671 1672 { 1673 // label: "Principal", 1674 label: setting_data.principal_label, 1675 fill: true, 1676 backgroundColor: colors.darkBlue.fill, 1677 pointBackgroundColor: colors.darkBlue.stroke, 1678 borderColor: colors.darkBlue.stroke, 1679 pointHighlightStroke: colors.darkBlue.stroke, 1680 borderCapStyle: "butt", 1681 data: total_balance_arr, 1682 }, 1683 ], 1684 }; 1685 1686 1687 } 1513 1688 1514 1689 Chart.Tooltip.positioners.custom = function (elements, position) { … … 1528 1703 } 1529 1704 1530 graph_new_theme = new Chart(ctx, { 1531 type: setting_data.chart_types, 1532 data: data, 1533 responsive: true, 1534 options: { 1535 title: { 1536 display: true, 1537 text: "Loan Calculator", 1705 1706 /* new stacked bar chart */ 1707 1708 if(setting_data.chart_types == 'stacked_bar'){ 1709 1710 graph_new_theme = new Chart(ctx, { 1711 type: 'bar', 1712 data: data, 1713 responsive: true, 1714 options: { 1715 title: { 1716 display: true, 1717 text: "Loan Calculator", 1718 }, 1719 layout: { 1720 padding: 32, 1721 }, 1722 tooltips: { 1723 mode: "index", 1724 intersect: true, 1725 position: "custom", 1726 yAlign: "bottom", 1727 }, 1728 scales: { 1729 xAxes: { 1730 stacked: true, 1731 gridLines: { 1732 display: false, 1733 }, 1734 scaleLabel: { 1735 display: true, 1736 labelString: "Term (Months)", 1737 }, 1738 min: 1, 1739 title: { 1740 display: true, 1741 text: 'No. of Payments' 1742 }, 1743 }, 1744 yAxes: { 1745 stacked: true, 1746 beginAtZero: false, 1747 gridLines: { 1748 display: true, 1749 }, 1750 scaleLabel: { 1751 display: true, 1752 labelString: "Amount Owing ($)", 1753 }, 1754 title: { 1755 display: true, 1756 text: 'Balance' 1757 } 1758 }, 1759 y1: { 1760 type: 'linear', 1761 position: 'right', 1762 min: 0, 1763 title: { 1764 display: true, 1765 text: 'EMI Payment / '+repayment_frequency_val 1766 }, 1767 stacked: true, 1768 }, 1769 }, 1770 plugins: { 1771 legend: { 1772 display: false, 1773 }, 1774 datalabels : { 1775 display:false, 1776 }, 1777 htmlLegend: { 1778 containerID: 'lc-chart-legend-container', 1779 }, 1780 tooltip: { 1781 enabled: false, // Disable default tooltips 1782 external: function(context) { 1783 // Tooltip Element 1784 let tooltipEl = document.getElementById('chartjs-tooltip'); 1785 if (!tooltipEl) { 1786 tooltipEl = document.createElement('div'); 1787 tooltipEl.id = 'chartjs-tooltip'; 1788 tooltipEl.innerHTML = '<table></table>'; 1789 document.body.appendChild(tooltipEl); 1790 } 1791 const tooltipModel = context.tooltip; 1792 if (tooltipModel.opacity === 0) { 1793 tooltipEl.style.opacity = 0; 1794 return; 1795 } 1796 tooltipEl.classList.remove('above', 'below', 'no-transform'); 1797 if (tooltipModel.yAlign) { 1798 tooltipEl.classList.add(tooltipModel.yAlign); 1799 } else { 1800 tooltipEl.classList.add('no-transform'); 1801 } 1802 function getBody(bodyItem) { 1803 return bodyItem.lines; 1804 } 1805 if (tooltipModel.body) { 1806 const titleLines = tooltipModel.title || []; 1807 const bodyLines = tooltipModel.body.map(getBody); 1808 1809 let innerHtml = '<div style="background-color:#fff;padding:10px;border:1px solid #ccc;">'; 1810 1811 titleLines.forEach(function(title) { 1812 innerHtml += '<p style="margin:0px;">No. Payment: ' + title + '</p>'; 1813 }); 1814 bodyLines.forEach(function(body, i) { 1815 innerHtml += '<p style="margin:0px;">' + body + '</p>'; 1816 if(body[0].split(':')[0]!='Balance'){ 1817 1818 if(parseInt(extra_payment) > 0){ 1819 1820 var total_payment_graph = monthly_payment+parseInt(extra_payment) 1821 1822 if(setting_data.remove_decimal_point=='1'){ 1823 total_payment_graph = parseInt(total_payment_graph); 1824 } 1825 else{ 1826 total_payment_graph = parseFloat(total_payment_graph).toFixed(2); 1827 } 1828 1829 innerHtml += '<p style="margin:0px;">Total Payment: '+total_payment_graph+'</p>'; 1830 } 1831 else{ 1832 var totalpayment= (total_monthly_payment[i] != ''?total_monthly_payment[i]:monthly_payment); 1833 innerHtml += '<p style="margin:0px;">Total Payment: '+totalpayment+'</p>'; 1834 } 1835 1836 } 1837 1838 }); 1839 innerHtml += '</div>'; 1840 1841 let tableRoot = tooltipEl.querySelector('table'); 1842 tableRoot.innerHTML = innerHtml; 1843 } 1844 1845 const position = context.chart.canvas.getBoundingClientRect(); 1846 const bodyFont = Chart.helpers.toFont(tooltipModel.options.bodyFont); 1847 tooltipEl.style.opacity = 1; 1848 tooltipEl.style.position = 'absolute'; 1849 tooltipEl.style.left = position.left + window.pageXOffset + tooltipModel.caretX + 'px'; 1850 tooltipEl.style.top = position.top + window.pageYOffset + tooltipModel.caretY + 'px'; 1851 tooltipEl.style.font = bodyFont.string; 1852 tooltipEl.style.padding = tooltipModel.padding + 'px ' + tooltipModel.padding + 'px'; 1853 tooltipEl.style.pointerEvents = 'none'; 1854 } 1855 }, 1856 }, 1857 onHover: function(event, chartElement) { 1858 const datasetIndex = chartElement[0]?.datasetIndex; 1859 // Reset all dataset colors 1860 this.data.datasets.forEach((dataset, index) => { 1861 dataset.backgroundColor = index === datasetIndex 1862 ? dataset.backgroundColor.replace(/0\.2/, '0.9') // Highlight 1863 : dataset.backgroundColor.replace(/0\.9/, '0.2'); // Reset 1864 }); 1865 1866 // Re-render the chart 1867 this.update(); 1868 } 1869 }, 1870 plugins: [htmlLegendPlugin], 1871 }); 1872 1873 } 1874 else{ 1875 1876 var intersectValue = setting_data.chart_types == "bar" ? { intersect: false, mode: 'index' } : { intersect: true, mode: 'nearest' }; // default values 1877 graph_new_theme = new Chart(ctx, { 1878 type: setting_data.chart_types, 1879 data: data, 1880 responsive: true, 1881 options: { 1882 title: { 1883 display: true, 1884 text: "Loan Calculator", 1885 }, 1886 interaction: intersectValue, 1887 layout: { 1888 padding: 32, 1889 }, 1890 tooltips: { 1891 mode: "index", 1892 intersect: true, 1893 position: "custom", 1894 yAlign: "bottom", 1895 }, 1896 scales: { 1897 xAxes: [ 1898 { 1899 stacked: true, 1900 gridLines: { 1901 display: false, 1902 }, 1903 // display:false, 1904 scaleLabel: { 1905 display: true, 1906 labelString: "Term (Months)", 1907 }, 1908 }, 1909 ], 1910 yAxes: [ 1911 { 1912 stacked: true, 1913 gridLines: { 1914 display: false, 1915 }, 1916 // display:false, 1917 1918 scaleLabel: { 1919 display: true, 1920 labelString: "Amount Owing ($)", 1921 }, 1922 }, 1923 ], 1924 }, 1925 plugins:{ 1926 datalabels : { 1927 display:false, 1928 }, 1929 } 1538 1930 }, 1539 layout: { 1540 padding: 32, 1541 }, 1542 tooltips: { 1543 mode: "index", 1544 intersect: true, 1545 position: "custom", 1546 yAlign: "bottom", 1547 }, 1548 scales: { 1549 xAxes: [ 1550 { 1551 stacked: true, 1552 gridLines: { 1553 display: false, 1554 }, 1555 // display:false, 1556 scaleLabel: { 1557 display: true, 1558 labelString: "Term (Months)", 1559 }, 1560 }, 1561 ], 1562 yAxes: [ 1563 { 1564 stacked: true, 1565 gridLines: { 1566 display: false, 1567 }, 1568 // display:false, 1569 1570 scaleLabel: { 1571 display: true, 1572 labelString: "Amount Owing ($)", 1573 }, 1574 }, 1575 ], 1576 }, 1577 }, 1578 }); 1931 }); 1932 1933 } 1579 1934 1580 1935 /* END : PREPARE CHART JS DATA */ 1581 1936 1582 /* extrapayment code to deduct time frequency in summ ery result */1937 /* extrapayment code to deduct time frequency in summary result */ 1583 1938 if (setting_data.extra_payment_option == '1' && extra_payment > 0) { 1584 1939 convert_total_terms_to_year_month(loan_terms_month,repayment_frequency_val); 1585 } 1586 1940 } 1941 1942 1943 /* Summary Chart Break-up of Total Payment */ 1944 1945 1946 if(setting_data.summary_chart_option == '1'){ 1947 1948 var break_up_chart_data = {}; 1949 break_up_chart_data['total_principal'] = parseFloat(principalSum).toFixed(2); 1950 break_up_chart_data['total_interest'] = jQuery("#total_interests_amt_hidden").text(); 1951 break_up_chart_data['down_payment'] = jQuery("#down_payment").val(); 1952 break_up_chart_data['total_extra_payment'] = jQuery("#bottom_total_extra_payment").text(); 1953 break_up_chart_data['ballon_amount'] = jQuery("#ballon_amounts").val(); 1954 break_up_of_total_payment_chart(break_up_chart_data); 1955 1956 } 1957 1958 /* Summary Chart Break-up of Total Payment */ 1587 1959 1588 1960 … … 1637 2009 ).val(); 1638 2010 var default_nop_value = jQuery("input[name='loan_terms']").val(); 1639 1640 /* nop = number of payments */ 2011 /* visible note below chart */ 2012 if(default_nop_value > 120){ 2013 jQuery('body').find('.chart-note').show(); 2014 }else{ 2015 jQuery('body').find('.chart-note').hide(); 2016 } 2017 /* nop = number of payments */ 1641 2018 var min_nop_value = jQuery("input[name='min_value']").val(); 1642 2019 var max_nop_value = jQuery("input[name='max_value']").val(); … … 2054 2431 } 2055 2432 2056 jQuery(".print-table").on('click', function () {2433 /*jQuery(".print-table").on('click', function () { 2057 2434 // Show the loader and gray-out background 2058 2435 jQuery('#overlay').show(); … … 2075 2452 setTimeout(function() { 2076 2453 jQuery('#overlay').hide(); 2077 jQuery("#main-sec").print( /*options*/);2454 jQuery("#main-sec").print(); 2078 2455 2079 2456 // Hide the loader and gray-out background after printing 2080 2457 }, 50); 2458 });*/ 2459 2460 jQuery('.print-table').on('click', function () { 2461 window.print(); 2081 2462 }); 2082 2463 … … 2227 2608 if (setting_data.remove_decimal_point == 1) { 2228 2609 2229 var eighty_percent_loan_amt = (parseInt(loan_amount) * 80)/100;2610 var eighty_percent_loan_amt = (parseInt(loan_amount) * parseInt(setting_data.down_payment_max_per))/100; 2230 2611 down_payment = parseInt(down_payment); 2231 2612 … … 2246 2627 else{ 2247 2628 2248 var eighty_percent_loan_amt = (parseFloat(loan_amount) * 80)/100;2629 var eighty_percent_loan_amt = (parseFloat(loan_amount) * parseInt(setting_data.down_payment_max_per))/100; 2249 2630 down_payment = parseFloat(down_payment); 2250 2631 if(down_payment>eighty_percent_loan_amt){ … … 2279 2660 jQuery(this).val(parseInt(jQuery(this).val())); 2280 2661 2281 if(parseInt(jQuery(this).val()) > 80){2662 if(parseInt(jQuery(this).val()) > setting_data.down_payment_max_per){ 2282 2663 2283 2664 if (setting_data.remove_decimal_point == 1) { … … 2452 2833 } 2453 2834 2454 /* extra payment event code end */2835 /* extra payment event code end */ 2455 2836 2456 2837 loan_calculation_process(); // call function … … 2485 2866 if (setting_data.down_payment_mode == 'percentage') { 2486 2867 2487 document.getElementById("down_payment_range").max = 80;2868 document.getElementById("down_payment_range").max = setting_data.down_payment_max_per; 2488 2869 2489 2870 var down_payment_range = document.getElementById("down_payment_range"); … … 2630 3011 jQuery("#extra_payment_total_section").hide(); 2631 3012 jQuery("#extra_payment_saved_interest_section").hide(); 3013 jQuery("#bottom_total_extra_payment").text(''); 2632 3014 } 2633 3015 … … 3226 3608 3227 3609 jQuery("#total_interests_amt").html(addCommas(total_int_amt)); 3610 jQuery("#total_interests_amt_hidden").html(addCommas(total_int_amt)); 3611 3612 3228 3613 } else { 3229 3614 jQuery("#loan_amount_rate").html(interest_rates.toFixed(2)); … … 3255 3640 3256 3641 jQuery("#total_interests_amt").html(addCommas(total_sum_interests)); 3642 jQuery("#total_interests_amt_hidden").html(addCommas(total_sum_interests)); 3643 3257 3644 } 3258 3645 } … … 3712 4099 /* hide extra payment table column when its 0 */ 3713 4100 3714 /* extra payment display total interest in summ ery result */4101 /* extra payment display total interest in summary result */ 3715 4102 3716 4103 if (setting_data.extra_payment_option == '1' && extra_payment > 0) { … … 3719 4106 3720 4107 jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay)); 4108 jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay)); 3721 4109 3722 4110 } … … 3724 4112 3725 4113 jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay.toFixed(2))); 4114 jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay.toFixed(2))); 3726 4115 3727 4116 } … … 3780 4169 } 3781 4170 3782 /* extra payment display total interest in summ ery result */4171 /* extra payment display total interest in summary result */ 3783 4172 3784 4173 … … 3788 4177 var balance_arr = []; 3789 4178 var remainig_interests = []; 4179 var total_monthly_payment = []; 4180 var total_principal_amonut = []; 3790 4181 var balance = loan_amount; 4182 var interestSum = 0; 4183 var principalSum = 0; 4184 var monthly_paymentSum = 0; 3791 4185 3792 4186 var graph_type = "Years"; … … 3853 4247 } 3854 4248 4249 interestSum += interest; // Accumulate interest 4250 principalSum += principal; 4251 monthly_paymentSum += monthly_payment; 4252 3855 4253 if (loan_terms_month > 120) { 3856 if (p % 12 == 0 ) {4254 if (p % 12 == 0 || p == loan_terms_month) { 3857 4255 if (setting_data.remove_decimal_point == 1) { 3858 remainig_interests.push(parseInt(total_interests)); 4256 /*remainig_interests.push(parseInt(interest)); 4257 balance_arr.push(parseInt(balance));*/ 4258 remainig_interests.push(parseInt(interestSum)); 3859 4259 balance_arr.push(parseInt(balance)); 4260 total_monthly_payment.push(parseInt(monthly_paymentSum)); 4261 total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum)); 3860 4262 } else { 3861 remainig_interests.push(parseFloat( total_interests.toFixed(2)));4263 remainig_interests.push(parseFloat(interestSum.toFixed(2))); 3862 4264 balance_arr.push(parseFloat(balance.toFixed(2))); 3863 } 4265 total_monthly_payment.push(parseFloat(monthly_paymentSum.toFixed(2))); 4266 total_principal_amonut.push(parseFloat(monthly_paymentSum.toFixed(2)) - parseFloat(interestSum.toFixed(2))); 4267 } 4268 interestSum = 0; 4269 //principalSum = 0; 4270 monthly_paymentSum = 0; 3864 4271 } 3865 4272 } else { 3866 4273 if (setting_data.remove_decimal_point == 1) { 3867 remainig_interests.push(parseInt(total_interests)); 3868 balance_arr.push(parseInt(balance)); 4274 remainig_interests.push(parseInt(interest)); 4275 if(setting_data.chart_types == 'stacked_bar'){ 4276 balance_arr.push(parseInt(balance)); 4277 total_monthly_payment.push(parseInt(monthly_paymentSum)); 4278 total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum)); 4279 }else{ 4280 balance_arr.push(parseInt(principal)); 4281 } 3869 4282 } else { 3870 remainig_interests.push(parseFloat(total_interests.toFixed(2))); 3871 balance_arr.push(parseFloat(balance.toFixed(2))); 4283 remainig_interests.push(parseFloat(interest.toFixed(2))); 4284 if(setting_data.chart_types == 'stacked_bar'){ 4285 balance_arr.push(parseFloat(balance.toFixed(2))); 4286 total_monthly_payment.push(parseFloat(monthly_payment.toFixed(2))); 4287 total_principal_amonut.push(parseFloat(monthly_payment.toFixed(2)) - parseFloat(interest.toFixed(2))); 4288 }else{ 4289 balance_arr.push(parseFloat(principal.toFixed(2))); 4290 } 4291 3872 4292 } 3873 4293 } … … 3880 4300 break; 3881 4301 } 3882 /* extra payment chart no of payments */ 3883 4302 /* extra payment chart no of payments */ 3884 4303 3885 4304 } … … 3889 4308 var loan_data = []; 3890 4309 const interests = []; 3891 const principal_arr = [];4310 const total_balance_arr = []; 3892 4311 const xData = []; 3893 4312 3894 for (var p = 0; p < remainig_interests.length; p++) { 3895 principal_arr.push(balance_arr[p]); 4313 /* new stacked bar chart */ 4314 const principal_calc_new_arr = []; 4315 const extra_payment_arr = []; 4316 4317 4318 for (var p = 1; p < remainig_interests.length; p++) { 4319 total_balance_arr.push(balance_arr[p]); 3896 4320 if (setting_data.remove_decimal_point == 1) { 3897 4321 interests.push(parseInt(remainig_interests[p])); 4322 /* new stacked bar chart */ 4323 if(setting_data.chart_types == 'stacked_bar'){ 4324 principal_calc_new_arr.push(parseInt(monthly_payment) - parseInt(remainig_interests[p])); 4325 } 4326 3898 4327 } else { 4328 3899 4329 interests.push(parseFloat(remainig_interests[p])); 4330 /* new stacked bar chart */ 4331 if(setting_data.chart_types == 'stacked_bar'){ 4332 principal_calc_new_arr.push(parseFloat(monthly_payment) - parseFloat(remainig_interests[p])); 4333 } 4334 3900 4335 } 3901 4336 xData.push(p); 4337 4338 /* new stacked bar chart */ 4339 if(setting_data.chart_types == 'stacked_bar'){ 4340 extra_payment_arr.push(extra_payment); 4341 } 3902 4342 } 3903 4343 … … 3912 4352 "--calc-graph-border-color-sub" 3913 4353 ); 4354 4355 /* new stacked bar chart */ 4356 if(setting_data.chart_types == 'stacked_bar'){ 4357 var balance_border_color_graph = $("#loan-process-graph").css( 4358 "--calc-graph-balance-border-color" 4359 ); 4360 var balance_point_background_color_graph = $("#loan-process-graph").css( 4361 "--calc-graph-balance-point-background-color" 4362 ); 4363 var extra_payment_graph_color = $("#loan-process-graph").css( 4364 "--calc-graph-extra-payment-graph-color" 4365 ); 4366 } 3914 4367 3915 4368 const colors = { … … 3934 4387 }; 3935 4388 3936 const data = { 4389 4390 var data = {}; 4391 4392 /* new stacked bar chart */ 4393 if(setting_data.chart_types == 'stacked_bar'){ 4394 4395 if (typeof balance_point_background_color_graph === 'undefined'){ 4396 balance_point_background_color_graph = setting_data.balance_point_background_color_graph; 4397 } 4398 4399 if (typeof balance_border_color_graph === 'undefined'){ 4400 balance_border_color_graph = setting_data.balance_border_color_graph; 4401 } 4402 4403 if (typeof extra_payment_graph_color === 'undefined'){ 4404 extra_payment_graph_color = setting_data.extra_payment_graph_color; 4405 } 4406 4407 4408 var data_sets_graph = [ 4409 4410 { 4411 // label: "Balance", 4412 label: 'Balance', 4413 type:'line', 4414 fill: false, 4415 data: total_balance_arr, 4416 backgroundColor: balance_point_background_color_graph, 4417 pointBackgroundColor: balance_point_background_color_graph, 4418 borderColor: balance_border_color_graph, 4419 pointHighlightStroke: balance_point_background_color_graph, 4420 borderCapStyle: "butt", 4421 pointRadius: 5 4422 4423 }, 4424 { 4425 // label: "Principal", 4426 label: setting_data.principal_label, 4427 fill: true, 4428 backgroundColor: colors.darkBlue.fill, 4429 pointBackgroundColor: colors.darkBlue.stroke, 4430 borderColor: colors.darkBlue.stroke, 4431 pointHighlightStroke: colors.darkBlue.stroke, 4432 borderCapStyle: "butt", 4433 data: total_principal_amonut, 4434 yAxisID: 'y1' 4435 4436 }, 4437 { 4438 // label: "Interest", 4439 label: setting_data.interest_label, 4440 fill: true, 4441 backgroundColor: colors.purple.fill, 4442 pointBackgroundColor: colors.purple.stroke, 4443 borderColor: colors.purple.stroke, 4444 pointHighlightStroke: colors.purple.stroke, 4445 borderCapStyle: "butt", 4446 data: interests, 4447 yAxisID: 'y1' 4448 } 4449 4450 ]; 4451 4452 4453 if(extra_payment > 0){ 4454 4455 data_sets_graph.push({ 4456 // label: "Extra payment", 4457 label: "Extra Payment", 4458 fill: true, 4459 backgroundColor: extra_payment_graph_color, 4460 pointBackgroundColor: colors.purple.stroke, 4461 borderColor: colors.purple.stroke, 4462 pointHighlightStroke: colors.purple.stroke, 4463 borderCapStyle: "butt", 4464 data: extra_payment_arr, 4465 yAxisID: 'y1' 4466 }); 4467 } 4468 4469 4470 4471 data = { 3937 4472 labels: xData, 3938 datasets: [ 3939 { 3940 // label: "Interest", 3941 label: setting_data.interest_label, 3942 fill: true, 3943 backgroundColor: colors.purple.fill, 3944 pointBackgroundColor: colors.purple.stroke, 3945 borderColor: colors.purple.stroke, 3946 pointHighlightStroke: colors.purple.stroke, 3947 borderCapStyle: "butt", 3948 data: interests, 3949 }, 3950 3951 { 3952 // label: "Principal", 3953 label: setting_data.principal_label, 3954 fill: true, 3955 backgroundColor: colors.darkBlue.fill, 3956 pointBackgroundColor: colors.darkBlue.stroke, 3957 borderColor: colors.darkBlue.stroke, 3958 pointHighlightStroke: colors.darkBlue.stroke, 3959 borderCapStyle: "butt", 3960 data: principal_arr, 3961 }, 3962 ], 3963 }; 4473 datasets: data_sets_graph 4474 }; 4475 4476 }else{ 4477 4478 data = { 4479 labels: xData, 4480 datasets: [ 4481 { 4482 // label: "Interest", 4483 label: setting_data.interest_label, 4484 fill: true, 4485 backgroundColor: colors.purple.fill, 4486 pointBackgroundColor: colors.purple.stroke, 4487 borderColor: colors.purple.stroke, 4488 pointHighlightStroke: colors.purple.stroke, 4489 borderCapStyle: "butt", 4490 data: interests, 4491 }, 4492 4493 { 4494 // label: "Principal", 4495 label: setting_data.principal_label, 4496 fill: true, 4497 backgroundColor: colors.darkBlue.fill, 4498 pointBackgroundColor: colors.darkBlue.stroke, 4499 borderColor: colors.darkBlue.stroke, 4500 pointHighlightStroke: colors.darkBlue.stroke, 4501 borderCapStyle: "butt", 4502 data: total_balance_arr, 4503 }, 4504 ], 4505 }; 4506 4507 4508 } 3964 4509 3965 4510 Chart.Tooltip.positioners.custom = function (elements, position) { … … 3981 4526 } 3982 4527 3983 default_theme_chart = new Chart(ctx, { 3984 type: setting_data.chart_types, 3985 data: data, 3986 responsive: true, 3987 options: { 3988 title: { 3989 display: true, 3990 text: "Loan Calculator", 3991 }, 3992 layout: { 3993 padding: 32, 3994 }, 3995 tooltips: { 3996 mode: "index", 3997 intersect: true, 3998 position: "custom", 3999 yAlign: "bottom", 4000 }, 4001 scales: { 4002 xAxes: [ 4003 { 4004 stacked: true, 4005 gridLines: { 4006 display: false, 4528 /* new stacked bar chart */ 4529 if(setting_data.chart_types == 'stacked_bar'){ 4530 4531 default_theme_chart = new Chart(ctx, { 4532 type: 'bar', 4533 data: data, 4534 responsive: true, 4535 options: { 4536 title: { 4537 display: true, 4538 text: "Loan Calculator", 4007 4539 }, 4008 // display:false, 4009 scaleLabel: { 4540 layout: { 4541 padding: 32, 4542 }, 4543 tooltips: { 4544 mode: "index", 4545 intersect: true, 4546 position: "custom", 4547 yAlign: "bottom", 4548 }, 4549 scales: { 4550 xAxes: { 4551 stacked: true, 4552 gridLines: { 4553 display: false, 4554 }, 4555 scaleLabel: { 4556 display: true, 4557 labelString: "Term (Months)", 4558 }, 4559 min: 1, 4560 title: { 4561 display: true, 4562 text: 'No. of Payments' 4563 }, 4564 }, 4565 yAxes: { 4566 stacked: true, 4567 beginAtZero: false, 4568 gridLines: { 4569 display: true, 4570 }, 4571 scaleLabel: { 4572 display: true, 4573 labelString: "Amount Owing ($)", 4574 }, 4575 title: { 4576 display: true, 4577 text: 'Balance' 4578 } 4579 }, 4580 y1: { 4581 type: 'linear', 4582 position: 'right', 4583 min: 0, 4584 title: { 4585 display: true, 4586 text: 'EMI Payment / '+repayment_frequency_val 4587 }, 4588 stacked: true, 4589 }, 4590 }, 4591 plugins: { 4592 legend: { 4593 display: false, 4594 }, 4595 datalabels : { 4596 display:false, 4597 }, 4598 htmlLegend: { 4599 containerID: 'lc-chart-legend-container', 4600 }, 4601 tooltip: { 4602 enabled: false, // Disable default tooltips 4603 external: function(context) { 4604 // Tooltip Element 4605 let tooltipEl = document.getElementById('chartjs-tooltip'); 4606 if (!tooltipEl) { 4607 tooltipEl = document.createElement('div'); 4608 tooltipEl.id = 'chartjs-tooltip'; 4609 tooltipEl.innerHTML = '<table></table>'; 4610 document.body.appendChild(tooltipEl); 4611 } 4612 const tooltipModel = context.tooltip; 4613 if (tooltipModel.opacity === 0) { 4614 tooltipEl.style.opacity = 0; 4615 return; 4616 } 4617 tooltipEl.classList.remove('above', 'below', 'no-transform'); 4618 if (tooltipModel.yAlign) { 4619 tooltipEl.classList.add(tooltipModel.yAlign); 4620 } else { 4621 tooltipEl.classList.add('no-transform'); 4622 } 4623 function getBody(bodyItem) { 4624 return bodyItem.lines; 4625 } 4626 if (tooltipModel.body) { 4627 const titleLines = tooltipModel.title || []; 4628 const bodyLines = tooltipModel.body.map(getBody); 4629 4630 let innerHtml = '<div style="background-color:#fff;padding:10px;border:1px solid #ccc;">'; 4631 4632 titleLines.forEach(function(title) { 4633 innerHtml += '<p style="margin:0px;">No. Payment: ' + title + '</p>'; 4634 }); 4635 bodyLines.forEach(function(body, i) { 4636 innerHtml += '<p style="margin:0px;">' + body + '</p>'; 4637 if(body[0].split(':')[0]!='Balance'){ 4638 4639 if(parseInt(extra_payment) > 0){ 4640 4641 var total_payment_graph = monthly_payment+parseInt(extra_payment) 4642 4643 if(setting_data.remove_decimal_point=='1'){ 4644 total_payment_graph = parseInt(total_payment_graph); 4645 } 4646 else{ 4647 total_payment_graph = parseFloat(total_payment_graph).toFixed(2); 4648 } 4649 4650 innerHtml += '<p style="margin:0px;">Total Payment: '+total_payment_graph+'</p>'; 4651 } 4652 else{ 4653 var totalpayment= (total_monthly_payment[i] != ''?total_monthly_payment[i]:monthly_payment); 4654 innerHtml += '<p style="margin:0px;">Total Payment: '+totalpayment+'</p>'; 4655 } 4656 4657 } 4658 4659 }); 4660 innerHtml += '</div>'; 4661 4662 let tableRoot = tooltipEl.querySelector('table'); 4663 tableRoot.innerHTML = innerHtml; 4664 } 4665 4666 const position = context.chart.canvas.getBoundingClientRect(); 4667 const bodyFont = Chart.helpers.toFont(tooltipModel.options.bodyFont); 4668 tooltipEl.style.opacity = 1; 4669 tooltipEl.style.position = 'absolute'; 4670 tooltipEl.style.left = position.left + window.pageXOffset + tooltipModel.caretX + 'px'; 4671 tooltipEl.style.top = position.top + window.pageYOffset + tooltipModel.caretY + 'px'; 4672 tooltipEl.style.font = bodyFont.string; 4673 tooltipEl.style.padding = tooltipModel.padding + 'px ' + tooltipModel.padding + 'px'; 4674 tooltipEl.style.pointerEvents = 'none'; 4675 } 4676 }, 4677 }, 4678 onHover: function(event, chartElement) { 4679 const datasetIndex = chartElement[0]?.datasetIndex; 4680 // Reset all dataset colors 4681 this.data.datasets.forEach((dataset, index) => { 4682 dataset.backgroundColor = index === datasetIndex 4683 ? dataset.backgroundColor.replace(/0\.2/, '0.9') // Highlight 4684 : dataset.backgroundColor.replace(/0\.9/, '0.2'); // Reset 4685 }); 4686 4687 // Re-render the chart 4688 this.update(); 4689 } 4690 }, 4691 plugins: [htmlLegendPlugin], 4692 }); 4693 4694 } 4695 else{ 4696 var intersectValue = setting_data.chart_types == "bar" ? { intersect: false, mode: 'index' } : { intersect: true, mode: 'nearest' }; // default values 4697 4698 default_theme_chart = new Chart(ctx, { 4699 type: setting_data.chart_types, 4700 data: data, 4701 responsive: true, 4702 options: { 4703 title: { 4010 4704 display: true, 4011 labelString: "Term (Months)",4705 text: "Loan Calculator", 4012 4706 }, 4707 interaction: intersectValue, 4708 layout: { 4709 padding: 32, 4710 }, 4711 tooltips: { 4712 mode: "index", 4713 intersect: true, 4714 position: "custom", 4715 yAlign: "bottom", 4716 }, 4717 scales: { 4718 xAxes: [ 4719 { 4720 stacked: true, 4721 gridLines: { 4722 display: false, 4723 }, 4724 // display:false, 4725 scaleLabel: { 4726 display: true, 4727 labelString: "Term (Months)", 4728 }, 4729 }, 4730 ], 4731 yAxes: [ 4732 { 4733 stacked: true, 4734 gridLines: { 4735 display: false, 4736 }, 4737 // display:false, 4738 4739 scaleLabel: { 4740 display: true, 4741 labelString: "Amount Owing ($)", 4742 }, 4743 }, 4744 ], 4745 }, 4746 plugins:{ 4747 datalabels : { 4748 display:false, 4749 }, 4750 } 4013 4751 }, 4014 ], 4015 yAxes: [ 4016 { 4017 stacked: true, 4018 gridLines: { 4019 display: false, 4020 }, 4021 // display:false, 4022 4023 scaleLabel: { 4024 display: true, 4025 labelString: "Amount Owing ($)", 4026 }, 4027 }, 4028 ], 4029 }, 4030 }, 4031 }); 4032 4033 4034 4035 /* extrapayment code to deduct time frequency in summery result */ 4752 }); 4753 4754 } 4755 4756 4757 /* extrapayment code to deduct time frequency in summary result */ 4036 4758 if (setting_data.extra_payment_option == '1' && extra_payment > 0) { 4037 4759 convert_total_terms_to_year_month(loan_terms_month,repayment_frequency_val); 4038 4760 } 4761 4762 4763 /* Summary Chart Break-up of Total Payment */ 4764 4765 if(setting_data.summary_chart_option == '1'){ 4766 4767 var break_up_chart_data = {}; 4768 break_up_chart_data['total_principal'] = parseFloat(principalSum).toFixed(2); 4769 break_up_chart_data['total_interest'] = jQuery("#total_interests_amt_hidden").text(); 4770 break_up_chart_data['down_payment'] = jQuery("#down_payment").val(); 4771 break_up_chart_data['total_extra_payment'] = jQuery("#bottom_total_extra_payment").text(); 4772 break_up_chart_data['ballon_amount'] = jQuery("#ballon_amounts").val(); 4773 break_up_of_total_payment_chart(break_up_chart_data); 4774 4775 } 4776 4777 /* Summary Chart Break-up of Total Payment */ 4039 4778 4040 4779 // }, 50); … … 4089 4828 }); 4090 4829 4091 jQuery("#loan_terms").on("blur", function () { 4830 jQuery("#loan_terms").on("blur", function () { 4092 4831 /*on filled input check min max values 6-7-2023*/ 4093 4832 var repayment_freq = jQuery("#repayment_freq option:selected").val(); … … 4097 4836 var default_nop_value = jQuery("input[name='loan_terms']").val(); 4098 4837 4838 /* visible note below chart */ 4839 if(default_nop_value > 120){ 4840 jQuery('body').find('.chart-note').show(); 4841 }else{ 4842 jQuery('body').find('.chart-note').hide(); 4843 } 4099 4844 /* nop = number of payments */ 4100 4845 var min_nop_value = jQuery("input[name='min_value']").val(); … … 4640 5385 } 4641 5386 4642 jQuery(".print-table").on('click', function () { 4643 // Show the loader and gray-out background 5387 /*jQuery(".print-table").on('click', function () { 4644 5388 jQuery('#overlay').show(); 4645 5389 … … 4647 5391 switchTab(selectedTabIds); 4648 5392 4649 // Apply print styles4650 5393 jQuery("#main-sec").css({ 4651 5394 "@media print": { … … 4661 5404 setTimeout(function() { 4662 5405 jQuery('#overlay').hide(); 4663 jQuery("#main-sec").print(/*options*/); 4664 4665 // Hide the loader and gray-out background after printing 5406 jQuery("#main-sec").print(); 4666 5407 }, 50); 5408 });*/ 5409 5410 jQuery('.print-table').on('click', function () { 5411 window.print(); 4667 5412 }); 4668 5413 … … 4818 5563 if (setting_data.remove_decimal_point == 1) { 4819 5564 4820 var eighty_percent_loan_amt = (parseInt(loan_amount) * 80)/100;5565 var eighty_percent_loan_amt = (parseInt(loan_amount) * parseInt(setting_data.down_payment_max_per))/100; 4821 5566 down_payment = parseInt(down_payment); 4822 5567 if(down_payment>eighty_percent_loan_amt){ … … 4836 5581 else{ 4837 5582 4838 var eighty_percent_loan_amt = (parseFloat(loan_amount) * 80)/100;5583 var eighty_percent_loan_amt = (parseFloat(loan_amount) * parseInt(setting_data.down_payment_max_per))/100; 4839 5584 down_payment = parseFloat(down_payment); 4840 5585 if(down_payment>eighty_percent_loan_amt){ … … 4871 5616 jQuery(this).val(parseInt(jQuery(this).val())); 4872 5617 4873 if(parseInt(jQuery(this).val()) > 80){5618 if(parseInt(jQuery(this).val()) > setting_data.down_payment_max_per){ 4874 5619 4875 5620 if (setting_data.remove_decimal_point == 1) { … … 5241 5986 5242 5987 5243 /* extra payment display saved time in result summ ery start */5988 /* extra payment display saved time in result summary start */ 5244 5989 5245 5990 if (setting_data.extra_payment_option == '1' && parseInt(jQuery('#extra_payment').val().replaceAll(",", "")) > 0) { … … 5332 6077 5333 6078 5334 /* extra payment display saved time in result summ ery end */6079 /* extra payment display saved time in result summary end */ 5335 6080 5336 6081 … … 5988 6733 }); 5989 6734 6735 6736 /* new stacked bar chart */ 6737 6738 const getOrCreateLegendList = (chart, id) => { 6739 const legendContainer = document.getElementById(id); 6740 let listContainer = legendContainer.querySelector('ul'); 6741 6742 if (!listContainer) { 6743 listContainer = document.createElement('ul'); 6744 listContainer.style.display = 'flex'; 6745 listContainer.style.flexDirection = 'row'; 6746 listContainer.style.margin = 0; 6747 listContainer.style.padding = 0; 6748 6749 legendContainer.appendChild(listContainer); 6750 } 6751 6752 return listContainer; 6753 }; 6754 6755 const htmlLegendPlugin = { 6756 id: 'htmlLegend', 6757 afterUpdate(chart, args, options) { 6758 const ul = getOrCreateLegendList(chart, options.containerID); 6759 6760 // Remove old legend items 6761 while (ul.firstChild) { 6762 ul.firstChild.remove(); 6763 } 6764 6765 const items = chart.options.plugins.legend.labels.generateLabels(chart); 6766 6767 var bal_val; 6768 6769 Object.entries(items).forEach(([key, value]) => { 6770 6771 if(value.text=='Balance'){ 6772 bal_val = value; 6773 delete items[key]; 6774 } 6775 6776 }); 6777 6778 items.push(bal_val); 6779 6780 items.forEach(item => { 6781 const li = document.createElement('li'); 6782 li.style.alignItems = 'center'; 6783 li.style.cursor = 'pointer'; 6784 li.style.display = 'flex'; 6785 li.style.flexDirection = 'row'; 6786 li.style.marginLeft = '10px'; 6787 6788 li.onclick = () => { 6789 const {type} = chart.config; 6790 if (type === 'pie' || type === 'doughnut') { 6791 // Pie and doughnut charts only have a single dataset and visibility is per item 6792 chart.toggleDataVisibility(item.index); 6793 } else { 6794 chart.setDatasetVisibility(item.datasetIndex, !chart.isDatasetVisible(item.datasetIndex)); 6795 } 6796 chart.update(); 6797 }; 6798 6799 // Color box 6800 const boxSpan = document.createElement('span'); 6801 boxSpan.style.background = item.fillStyle; 6802 boxSpan.style.borderColor = item.strokeStyle; 6803 boxSpan.style.borderWidth = '0px'; 6804 boxSpan.style.display = 'inline-block'; 6805 boxSpan.style.flexShrink = 0; 6806 boxSpan.style.height = '14px'; 6807 boxSpan.style.marginRight = '10px'; 6808 boxSpan.style.width = '14px'; 6809 boxSpan.style.borderRadius = '50%'; 6810 6811 if(item.text == 'Balance'){ 6812 boxSpan.classList.add('balance-legend-icon'); 6813 boxSpan.style.height = '10px'; 6814 boxSpan.style.width = '10px'; 6815 li.style.marginLeft = '15px'; 6816 } 6817 6818 // Text 6819 const textContainer = document.createElement('p'); 6820 textContainer.style.color = item.fontColor; 6821 textContainer.style.margin = 0; 6822 textContainer.style.padding = 0; 6823 textContainer.style.textDecoration = item.hidden ? 'line-through' : ''; 6824 6825 if(jQuery(window).width() <= 767){ 6826 textContainer.style.fontSize = '8px'; 6827 } 6828 6829 const text = document.createTextNode(item.text); 6830 textContainer.appendChild(text); 6831 6832 li.appendChild(boxSpan); 6833 li.appendChild(textContainer); 6834 ul.appendChild(li); 6835 6836 ul.style.justifyContent = 'center'; 6837 6838 }); 6839 } 6840 }; 6841 6842 -
loan-calculator-wp/trunk/includes/loan-calculator-misc-functions.php
r3108712 r3209029 85 85 array( 86 86 'bar' => __('Bar', 'loan-calculator-wp'), 87 'stacked_bar' => __('Stacked Bar', 'loan-calculator-wp'), 87 88 'pie' => __('Pie', 'loan-calculator-wp'), 88 89 'bubble' => __('Bubble ', 'loan-calculator-wp'), -
loan-calculator-wp/trunk/languages/loan-calculator-wp.pot
r3196117 r3209029 4 4 "Project-Id-Version: Loan Calculator WP\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-1 1-25 06:12+0000\n"6 "POT-Creation-Date: 2024-12-17 08:31+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 17 17 "X-Domain: loan-calculator-wp" 18 18 19 #: includes/admin/forms/ww-loan-calculator-setting.php:2 0219 #: includes/admin/forms/ww-loan-calculator-setting.php:243 20 20 msgid " Loan Calculator" 21 21 msgstr "" 22 22 23 #: includes/admin/forms/ww-loan-calculator-setting.php: 84723 #: includes/admin/forms/ww-loan-calculator-setting.php:1001 24 24 msgid "" 25 25 " {frequency} : Frequency will replace with the dynamic option selected in " … … 27 27 msgstr "" 28 28 29 #: includes/admin/forms/ww-loan-calculator-setting.php:690 29 #: includes/admin/forms/ww-loan-calculator-setting.php:808 30 #: includes/admin/forms/ww-loan-calculator-setting.php:844 30 31 msgid "%" 31 32 msgstr "" 32 33 33 #: includes/admin/forms/ww-loan-calculator-setting.php:3 2034 #: includes/admin/forms/ww-loan-calculator-setting.php: 57135 #: includes/admin/forms/ww-loan-calculator-setting.php: 57136 #: includes/admin/forms/ww-loan-calculator-setting.php: 58737 #: includes/admin/forms/ww-loan-calculator-setting.php: 58738 #: includes/admin/forms/ww-loan-calculator-setting.php: 60339 #: includes/admin/forms/ww-loan-calculator-setting.php: 60334 #: includes/admin/forms/ww-loan-calculator-setting.php:361 35 #: includes/admin/forms/ww-loan-calculator-setting.php:708 36 #: includes/admin/forms/ww-loan-calculator-setting.php:708 37 #: includes/admin/forms/ww-loan-calculator-setting.php:724 38 #: includes/admin/forms/ww-loan-calculator-setting.php:724 39 #: includes/admin/forms/ww-loan-calculator-setting.php:740 40 #: includes/admin/forms/ww-loan-calculator-setting.php:740 40 41 msgid "1" 41 42 msgstr "" 42 43 43 #: includes/admin/forms/ww-loan-calculator-setting.php: 28444 #: includes/admin/forms/ww-loan-calculator-setting.php:325 44 45 msgid "" 45 46 ": Check this box to disable about this Calculator option appear on top-" … … 47 48 msgstr "" 48 49 49 #: includes/admin/forms/ww-loan-calculator-setting.php: 74250 #: includes/admin/forms/ww-loan-calculator-setting.php:896 50 51 msgid ": Check this box to disable interest rate adjustment by User" 51 52 msgstr "" 52 53 53 #: includes/admin/forms/ww-loan-calculator-setting.php: 65254 #: includes/admin/forms/ww-loan-calculator-setting.php:789 54 55 msgid "" 55 56 ": Check this box to enable Down Payment option. It will be visible on the " … … 57 58 msgstr "" 58 59 59 #: includes/admin/forms/ww-loan-calculator-setting.php: 68260 #: includes/admin/forms/ww-loan-calculator-setting.php:836 60 61 msgid "" 61 62 ": Check this box to enable Extra Payment option. It will be visible on the " … … 63 64 msgstr "" 64 65 65 #: includes/admin/forms/ww-loan-calculator-setting.php:323 66 #: includes/admin/forms/ww-loan-calculator-setting.php:591 67 msgid "" 68 ": Check this box to enable Pie chart visible in calcualtion result sidebar " 69 "of the calculator" 70 msgstr "" 71 72 #: includes/admin/forms/ww-loan-calculator-setting.php:364 66 73 msgid "" 67 74 ": Check this box to enable print option. It will be visible on top right of " … … 69 76 msgstr "" 70 77 71 #: includes/admin/forms/ww-loan-calculator-setting.php: 26578 #: includes/admin/forms/ww-loan-calculator-setting.php:306 72 79 msgid ": Copy this shortcode and add in any post or page" 73 80 msgstr "" 74 81 75 #: includes/admin/forms/ww-loan-calculator-setting.php: 92082 #: includes/admin/forms/ww-loan-calculator-setting.php:1074 76 83 msgid "" 77 84 ": Display Application fees, monthly fees, total regular fees and total fees " … … 79 86 msgstr "" 80 87 81 #: includes/admin/forms/ww-loan-calculator-setting.php: 27588 #: includes/admin/forms/ww-loan-calculator-setting.php:316 82 89 msgid ": Display calculator heading title" 83 90 msgstr "" 84 91 85 #: includes/admin/forms/ww-loan-calculator-setting.php: 29492 #: includes/admin/forms/ww-loan-calculator-setting.php:335 86 93 msgid ": Display on top right of the calculator" 87 94 msgstr "" 88 95 89 #: includes/admin/forms/ww-loan-calculator-setting.php:692 96 #: includes/admin/forms/ww-loan-calculator-setting.php:810 97 msgid "" 98 ": Enter maximum percentage of loan amount for Down payment that will be " 99 "allowed for User" 100 msgstr "" 101 102 #: includes/admin/forms/ww-loan-calculator-setting.php:846 90 103 msgid "" 91 104 ": Enter maximum percentage of loan amount for extra payment that will be " … … 93 106 msgstr "" 94 107 95 #: includes/admin/forms/ww-loan-calculator-setting.php:3 12108 #: includes/admin/forms/ww-loan-calculator-setting.php:353 96 109 msgid "" 97 110 ": Enter the about calculator information which will be displayed on click of " … … 99 112 msgstr "" 100 113 101 #: includes/admin/forms/ww-loan-calculator-setting.php:1 094114 #: includes/admin/forms/ww-loan-calculator-setting.php:1248 102 115 msgid "" 103 116 ": Here you can enter any contact form shortcode. If you are using Contact " … … 106 119 msgstr "" 107 120 108 #: includes/admin/forms/ww-loan-calculator-setting.php: 376121 #: includes/admin/forms/ww-loan-calculator-setting.php:417 109 122 msgid "" 110 123 ": If no Repayment Frequency Options are selected, the monthly option will be " … … 112 125 msgstr "" 113 126 114 #: includes/admin/forms/ww-loan-calculator-setting.php: 785127 #: includes/admin/forms/ww-loan-calculator-setting.php:939 115 128 msgid "" 116 129 ": If you enable the setting, it will use \"In Advance\" or \"In Arrears\" " … … 118 131 msgstr "" 119 132 120 #: includes/admin/forms/ww-loan-calculator-setting.php: 830133 #: includes/admin/forms/ww-loan-calculator-setting.php:984 121 134 msgid ": if you enable this option it will hide Save Interest Extra Payments" 122 135 msgstr "" 123 136 124 #: includes/admin/forms/ww-loan-calculator-setting.php: 821137 #: includes/admin/forms/ww-loan-calculator-setting.php:975 125 138 msgid ": if you enable this option it will hide Save Time Extra Payments" 126 139 msgstr "" 127 140 128 #: includes/admin/forms/ww-loan-calculator-setting.php: 812141 #: includes/admin/forms/ww-loan-calculator-setting.php:966 129 142 msgid ": if you enable this option it will hide Total Extra Payments" 130 143 msgstr "" 131 144 132 #: includes/admin/forms/ww-loan-calculator-setting.php: 803145 #: includes/admin/forms/ww-loan-calculator-setting.php:957 133 146 msgid ": if you enable this option it will hide Total Interest Payable Amount" 134 147 msgstr "" 135 148 136 #: includes/admin/forms/ww-loan-calculator-setting.php: 794149 #: includes/admin/forms/ww-loan-calculator-setting.php:948 137 150 msgid "" 138 151 ": If you enable this setting, you can see the label ( with Year and Month " … … 140 153 msgstr "" 141 154 142 #: includes/admin/forms/ww-loan-calculator-setting.php: 775155 #: includes/admin/forms/ww-loan-calculator-setting.php:929 143 156 msgid "" 144 157 ": If you wish to showcase a particular payment mode selected from the " … … 147 160 msgstr "" 148 161 149 #: includes/admin/forms/ww-loan-calculator-setting.php: 663162 #: includes/admin/forms/ww-loan-calculator-setting.php:800 150 163 msgid "" 151 164 ": You can select one option from above modes to add down payment in loan " … … 153 166 msgstr "" 154 167 155 #: includes/admin/forms/ww-loan-calculator-setting.php: 264168 #: includes/admin/forms/ww-loan-calculator-setting.php:305 156 169 msgid "[loan_calculator]" 157 170 msgstr "" 158 171 159 #: includes/admin/forms/ww-loan-calculator-setting.php: 299172 #: includes/admin/forms/ww-loan-calculator-setting.php:340 160 173 msgid "About Calculator Popup Content" 161 174 msgstr "" 162 175 163 #: loan-calculator-wp.php:1 62176 #: loan-calculator-wp.php:159 164 177 msgid "About this calculator" 165 178 msgstr "" 166 179 167 #: includes/admin/forms/ww-loan-calculator-setting.php: 289180 #: includes/admin/forms/ww-loan-calculator-setting.php:330 168 181 msgid "About This Calculator Label" 169 182 msgstr "" … … 177 190 msgstr "" 178 191 179 #: includes/loan-calculator-misc-functions.php:11 5192 #: includes/loan-calculator-misc-functions.php:116 180 193 msgid "Afghan afghani" 181 194 msgstr "" 182 195 183 #: includes/loan-calculator-misc-functions.php:11 6196 #: includes/loan-calculator-misc-functions.php:117 184 197 msgid "Albanian lek" 185 198 msgstr "" 186 199 187 #: includes/loan-calculator-misc-functions.php:15 5200 #: includes/loan-calculator-misc-functions.php:156 188 201 msgid "Algerian dinar" 189 202 msgstr "" 190 203 191 #: includes/loan-calculator-misc-functions.php:1 19204 #: includes/loan-calculator-misc-functions.php:120 192 205 msgid "Angolan kwanza" 193 206 msgstr "" 194 207 195 #: includes/admin/forms/ww-loan-calculator-setting.php: 747208 #: includes/admin/forms/ww-loan-calculator-setting.php:901 196 209 msgid "Application Fee" 197 210 msgstr "" 198 211 199 #: loan-calculator-wp.php:1 10212 #: loan-calculator-wp.php:107 200 213 msgid "Application fee" 201 214 msgstr "" 202 215 203 #: includes/admin/forms/ww-loan-calculator-setting.php: 925216 #: includes/admin/forms/ww-loan-calculator-setting.php:1079 204 217 msgid "Application Fee Label" 205 218 msgstr "" 206 219 207 #: includes/loan-calculator-misc-functions.php:120 220 #: includes/admin/forms/ww-loan-calculator-setting.php:653 221 msgid "are required fields" 222 msgstr "" 223 224 #: includes/loan-calculator-misc-functions.php:121 208 225 msgid "Argentine peso" 209 226 msgstr "" 210 227 211 #: includes/loan-calculator-misc-functions.php:11 7228 #: includes/loan-calculator-misc-functions.php:118 212 229 msgid "Armenian dram" 213 230 msgstr "" 214 231 232 #: includes/loan-calculator-misc-functions.php:123 233 msgid "Aruban florin" 234 msgstr "" 235 215 236 #: includes/loan-calculator-misc-functions.php:122 216 msgid "Aruban florin"217 msgstr ""218 219 #: includes/loan-calculator-misc-functions.php:121220 237 msgid "Australian dollar" 221 238 msgstr "" 222 239 223 #: includes/loan-calculator-misc-functions.php:12 3240 #: includes/loan-calculator-misc-functions.php:124 224 241 msgid "Azerbaijani manat" 225 242 msgstr "" 226 243 227 #: includes/admin/forms/ww-loan-calculator-setting.php:4 34244 #: includes/admin/forms/ww-loan-calculator-setting.php:475 228 245 msgid "Background Color" 229 246 msgstr "" 230 247 231 #: includes/admin/forms/ww-loan-calculator-setting.php:4 50248 #: includes/admin/forms/ww-loan-calculator-setting.php:491 232 249 msgid "Background Light Color" 233 250 msgstr "" 234 251 235 #: includes/loan-calculator-misc-functions.php:13 4252 #: includes/loan-calculator-misc-functions.php:135 236 253 msgid "Bahamian dollar" 237 254 msgstr "" 238 255 239 #: includes/loan-calculator-misc-functions.php:12 8256 #: includes/loan-calculator-misc-functions.php:129 240 257 msgid "Bahraini dinar" 241 258 msgstr "" 242 259 243 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php: 690260 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:734 244 261 msgid "Balance" 245 262 msgstr "" 246 263 247 #: includes/admin/forms/ww-loan-calculator-setting.php:631 264 #: includes/admin/forms/ww-loan-calculator-setting.php:541 265 msgid "Balance Graph Border Color" 266 msgstr "" 267 268 #: includes/admin/forms/ww-loan-calculator-setting.php:549 269 msgid "Balance Graph Point Color" 270 msgstr "" 271 272 #: includes/class-ww-loan-calculator-public.php:151 273 msgid "Ballon Amount" 274 msgstr "" 275 276 #: includes/admin/forms/ww-loan-calculator-setting.php:620 277 msgid "Ballon Payment Fill Color" 278 msgstr "" 279 280 #: includes/admin/forms/ww-loan-calculator-setting.php:768 248 281 msgid "Ballon Percentage" 249 282 msgstr "" 250 283 251 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:4 36284 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:476 252 285 msgid "Balloon Amount" 253 286 msgstr "" 254 287 255 #: loan-calculator-wp.php:14 4288 #: loan-calculator-wp.php:141 256 289 msgid "Balloon amount" 257 290 msgstr "" 258 291 259 #: includes/admin/forms/ww-loan-calculator-setting.php: 860292 #: includes/admin/forms/ww-loan-calculator-setting.php:1014 260 293 msgid "Balloon Amount Label" 261 294 msgstr "" 262 295 263 #: includes/admin/forms/ww-loan-calculator-setting.php: 639296 #: includes/admin/forms/ww-loan-calculator-setting.php:776 264 297 msgid "Balloon Amount Tooltip" 265 298 msgstr "" 266 299 267 #: includes/loan-calculator-misc-functions.php:12 6300 #: includes/loan-calculator-misc-functions.php:127 268 301 msgid "Bangladeshi taka" 269 302 msgstr "" … … 273 306 msgstr "" 274 307 308 #: includes/loan-calculator-misc-functions.php:126 309 msgid "Barbadian dollar" 310 msgstr "" 311 312 #: includes/loan-calculator-misc-functions.php:140 313 msgid "Belarusian ruble" 314 msgstr "" 315 316 #: includes/loan-calculator-misc-functions.php:139 317 msgid "Belarusian ruble (old)" 318 msgstr "" 319 320 #: includes/loan-calculator-misc-functions.php:141 321 msgid "Belize dollar" 322 msgstr "" 323 324 #: includes/loan-calculator-misc-functions.php:131 325 msgid "Bermudian dollar" 326 msgstr "" 327 328 #: includes/loan-calculator-misc-functions.php:137 329 msgid "Bhutanese ngultrum" 330 msgstr "" 331 332 #: includes/loan-calculator-misc-functions.php:136 333 msgid "Bitcoin" 334 msgstr "" 335 336 #: includes/loan-calculator-misc-functions.php:268 337 msgid "Bolívar soberano" 338 msgstr "" 339 340 #: includes/loan-calculator-misc-functions.php:133 341 msgid "Bolivian boliviano" 342 msgstr "" 343 344 #: includes/admin/forms/ww-loan-calculator-setting.php:499 345 msgid "Border Color" 346 msgstr "" 347 275 348 #: includes/loan-calculator-misc-functions.php:125 276 msgid "Barbadian dollar" 277 msgstr "" 278 279 #: includes/loan-calculator-misc-functions.php:139 280 msgid "Belarusian ruble" 349 msgid "Bosnia and Herzegovina convertible mark" 281 350 msgstr "" 282 351 283 352 #: includes/loan-calculator-misc-functions.php:138 284 msgid "Belarusian ruble (old)" 285 msgstr "" 286 287 #: includes/loan-calculator-misc-functions.php:140 288 msgid "Belize dollar" 353 msgid "Botswana pula" 354 msgstr "" 355 356 #: includes/loan-calculator-misc-functions.php:134 357 msgid "Brazilian real" 358 msgstr "" 359 360 #: loan-calculator-wp.php:299 361 msgid "Break-up of Total Payment" 362 msgstr "" 363 364 #: includes/loan-calculator-misc-functions.php:132 365 msgid "Brunei dollar" 366 msgstr "" 367 368 #: includes/loan-calculator-misc-functions.php:89 369 msgid "Bubble " 370 msgstr "" 371 372 #: includes/loan-calculator-misc-functions.php:128 373 msgid "Bulgarian lev" 374 msgstr "" 375 376 #: includes/loan-calculator-misc-functions.php:209 377 msgid "Burmese kyat" 289 378 msgstr "" 290 379 291 380 #: includes/loan-calculator-misc-functions.php:130 292 msgid "Bermudian dollar"293 msgstr ""294 295 #: includes/loan-calculator-misc-functions.php:136296 msgid "Bhutanese ngultrum"297 msgstr ""298 299 #: includes/loan-calculator-misc-functions.php:135300 msgid "Bitcoin"301 msgstr ""302 303 #: includes/loan-calculator-misc-functions.php:267304 msgid "Bolívar soberano"305 msgstr ""306 307 #: includes/loan-calculator-misc-functions.php:132308 msgid "Bolivian boliviano"309 msgstr ""310 311 #: includes/admin/forms/ww-loan-calculator-setting.php:458312 msgid "Border Color"313 msgstr ""314 315 #: includes/loan-calculator-misc-functions.php:124316 msgid "Bosnia and Herzegovina convertible mark"317 msgstr ""318 319 #: includes/loan-calculator-misc-functions.php:137320 msgid "Botswana pula"321 msgstr ""322 323 #: includes/loan-calculator-misc-functions.php:133324 msgid "Brazilian real"325 msgstr ""326 327 #: includes/loan-calculator-misc-functions.php:131328 msgid "Brunei dollar"329 msgstr ""330 331 #: includes/loan-calculator-misc-functions.php:88332 msgid "Bubble "333 msgstr ""334 335 #: includes/loan-calculator-misc-functions.php:127336 msgid "Bulgarian lev"337 msgstr ""338 339 #: includes/loan-calculator-misc-functions.php:208340 msgid "Burmese kyat"341 msgstr ""342 343 #: includes/loan-calculator-misc-functions.php:129344 381 msgid "Burundian franc" 345 382 msgstr "" 346 383 347 #: loan-calculator-wp.php:1 51348 #: includes/admin/forms/ww-loan-calculator-setting.php:1 123384 #: loan-calculator-wp.php:148 385 #: includes/admin/forms/ww-loan-calculator-setting.php:1277 349 386 msgid "Calculator Disclaimer" 350 387 msgstr "" 351 388 352 #: includes/admin/forms/ww-loan-calculator-setting.php:1 131389 #: includes/admin/forms/ww-loan-calculator-setting.php:1285 353 390 msgid "Calculator Disclaimer Description" 354 391 msgstr "" 355 392 356 #: includes/admin/forms/ww-loan-calculator-setting.php:1 107393 #: includes/admin/forms/ww-loan-calculator-setting.php:1261 357 394 msgid "Calculator Disclaimer Settings " 358 395 msgstr "" 359 396 360 #: includes/admin/forms/ww-loan-calculator-setting.php: 270397 #: includes/admin/forms/ww-loan-calculator-setting.php:311 361 398 msgid "Calculator Heading Title" 362 399 msgstr "" 363 400 364 #: includes/loan-calculator-misc-functions.php:19 1401 #: includes/loan-calculator-misc-functions.php:192 365 402 msgid "Cambodian riel" 366 403 msgstr "" 367 404 368 #: includes/loan-calculator-misc-functions.php:14 1405 #: includes/loan-calculator-misc-functions.php:142 369 406 msgid "Canadian dollar" 370 407 msgstr "" 371 408 372 #: includes/loan-calculator-misc-functions.php:15 0409 #: includes/loan-calculator-misc-functions.php:151 373 410 msgid "Cape Verdean escudo" 374 411 msgstr "" 375 412 376 #: includes/loan-calculator-misc-functions.php:19 6413 #: includes/loan-calculator-misc-functions.php:197 377 414 msgid "Cayman Islands dollar" 378 415 msgstr "" 379 416 380 #: includes/loan-calculator-misc-functions.php:27 1417 #: includes/loan-calculator-misc-functions.php:272 381 418 msgid "Central African CFA franc" 382 419 msgstr "" 383 420 384 #: includes/loan-calculator-misc-functions.php:27 4421 #: includes/loan-calculator-misc-functions.php:275 385 422 msgid "CFP franc" 386 423 msgstr "" 387 424 388 #: includes/admin/forms/ww-loan-calculator-setting.php:4 22425 #: includes/admin/forms/ww-loan-calculator-setting.php:463 389 426 msgid "Change Chart" 390 427 msgstr "" 391 428 392 #: includes/admin/forms/ww-loan-calculator-setting.php:1 163429 #: includes/admin/forms/ww-loan-calculator-setting.php:1317 393 430 msgid "" 394 431 "Check this box if you want to delete all settings data on plugin uninstall" 395 432 msgstr "" 396 433 397 #: includes/admin/forms/ww-loan-calculator-setting.php:1 171434 #: includes/admin/forms/ww-loan-calculator-setting.php:1325 398 435 msgid "" 399 436 "Check this box if you want to disable font awesome css on plugin install" 400 437 msgstr "" 401 438 402 #: includes/admin/forms/ww-loan-calculator-setting.php:1 187439 #: includes/admin/forms/ww-loan-calculator-setting.php:1341 403 440 msgid "" 404 441 "Check this box if you want to remove all range slider fields in the " … … 406 443 msgstr "" 407 444 408 #: includes/admin/forms/ww-loan-calculator-setting.php:1 118445 #: includes/admin/forms/ww-loan-calculator-setting.php:1272 409 446 msgid "" 410 447 "Check this box if you want to remove Calculator Disclaimer section in loan " … … 412 449 msgstr "" 413 450 414 #: includes/admin/forms/ww-loan-calculator-setting.php:1 053451 #: includes/admin/forms/ww-loan-calculator-setting.php:1207 415 452 msgid "" 416 453 "Check this box if you want to remove contact us section in loan calculator " … … 418 455 msgstr "" 419 456 420 #: includes/admin/forms/ww-loan-calculator-setting.php:1 179457 #: includes/admin/forms/ww-loan-calculator-setting.php:1333 421 458 msgid "" 422 459 "Check this box if you want to remove decimal point in loan calculator form" 423 460 msgstr "" 424 461 425 #: includes/admin/forms/ww-loan-calculator-setting.php: 972462 #: includes/admin/forms/ww-loan-calculator-setting.php:1126 426 463 msgid "" 427 464 "Check this box if you want to remove tab icon section in loan calculator form" 428 465 msgstr "" 429 466 430 #: includes/loan-calculator-misc-functions.php:14 4467 #: includes/loan-calculator-misc-functions.php:145 431 468 msgid "Chilean peso" 432 469 msgstr "" 433 470 434 #: includes/loan-calculator-misc-functions.php:14 5471 #: includes/loan-calculator-misc-functions.php:146 435 472 msgid "Chinese yuan" 436 473 msgstr "" 437 474 438 #: includes/loan-calculator-misc-functions.php:14 6475 #: includes/loan-calculator-misc-functions.php:147 439 476 msgid "Colombian peso" 440 477 msgstr "" 441 478 442 #: includes/loan-calculator-misc-functions.php:19 2479 #: includes/loan-calculator-misc-functions.php:193 443 480 msgid "Comorian franc" 444 481 msgstr "" 445 482 446 #: includes/admin/forms/ww-loan-calculator-setting.php:2 55483 #: includes/admin/forms/ww-loan-calculator-setting.php:296 447 484 msgid "Configure calculator general settings." 448 485 msgstr "" 449 486 450 #: includes/loan-calculator-misc-functions.php:14 2487 #: includes/loan-calculator-misc-functions.php:143 451 488 msgid "Congolese franc" 452 489 msgstr "" 453 490 454 #: includes/admin/forms/ww-loan-calculator-setting.php:1 089491 #: includes/admin/forms/ww-loan-calculator-setting.php:1243 455 492 msgid "Contact Form Content" 456 493 msgstr "" 457 494 458 #: includes/admin/forms/ww-loan-calculator-setting.php:1 044495 #: includes/admin/forms/ww-loan-calculator-setting.php:1198 459 496 msgid "Contact form setting." 460 497 msgstr "" 461 498 462 #: includes/admin/forms/ww-loan-calculator-setting.php:1 058499 #: includes/admin/forms/ww-loan-calculator-setting.php:1212 463 500 msgid "Contact Info Label" 464 501 msgstr "" 465 502 466 #: includes/admin/forms/ww-loan-calculator-setting.php:1 066503 #: includes/admin/forms/ww-loan-calculator-setting.php:1220 467 504 msgid "Contact Popup Button Label" 468 505 msgstr "" 469 506 470 #: includes/admin/forms/ww-loan-calculator-setting.php:1 074507 #: includes/admin/forms/ww-loan-calculator-setting.php:1228 471 508 msgid "Contact Type" 472 509 msgstr "" 473 510 474 #: includes/admin/forms/ww-loan-calculator-setting.php:1 099511 #: includes/admin/forms/ww-loan-calculator-setting.php:1253 475 512 msgid "Contact URL" 476 513 msgstr "" 477 514 478 #: includes/admin/forms/ww-loan-calculator-setting.php:2 29515 #: includes/admin/forms/ww-loan-calculator-setting.php:270 479 516 msgid "Contact Us / Disclaimer" 480 517 msgstr "" 481 518 482 #: loan-calculator-wp.php:1 50519 #: loan-calculator-wp.php:147 483 520 msgid "Contact us now for a quote" 484 521 msgstr "" 485 522 486 #: includes/admin/forms/ww-loan-calculator-setting.php:1 042523 #: includes/admin/forms/ww-loan-calculator-setting.php:1196 487 524 msgid "Contact Us Settings - Setup Contact Form" 488 525 msgstr "" 489 526 490 #: includes/loan-calculator-misc-functions.php:14 7527 #: includes/loan-calculator-misc-functions.php:148 491 528 msgid "Costa Rican colón" 492 529 msgstr "" 493 530 494 #: includes/loan-calculator-misc-functions.php:17 4531 #: includes/loan-calculator-misc-functions.php:175 495 532 msgid "Croatian kuna" 496 533 msgstr "" 497 534 498 #: includes/loan-calculator-misc-functions.php:14 8535 #: includes/loan-calculator-misc-functions.php:149 499 536 msgid "Cuban convertible peso" 500 537 msgstr "" 501 538 502 #: includes/loan-calculator-misc-functions.php:1 49539 #: includes/loan-calculator-misc-functions.php:150 503 540 msgid "Cuban peso" 504 541 msgstr "" 505 542 506 #: includes/admin/forms/ww-loan-calculator-setting.php:3 36543 #: includes/admin/forms/ww-loan-calculator-setting.php:377 507 544 msgid "Currency " 508 545 msgstr "" 509 546 510 #: includes/admin/forms/ww-loan-calculator-setting.php: 387547 #: includes/admin/forms/ww-loan-calculator-setting.php:428 511 548 msgid "" 512 549 "Customize the calculator look. Change the background color, hover color, " … … 514 551 msgstr "" 515 552 516 #: includes/loan-calculator-misc-functions.php:151 553 #: includes/admin/forms/ww-loan-calculator-setting.php:580 554 msgid "Customize Visual of Summary Chart" 555 msgstr "" 556 557 #: includes/loan-calculator-misc-functions.php:152 517 558 msgid "Czech koruna" 518 559 msgstr "" 519 560 561 #: includes/loan-calculator-misc-functions.php:154 562 msgid "Danish krone" 563 msgstr "" 564 565 #: includes/admin/forms/ww-loan-calculator-setting.php:934 566 msgid "Default Payment Mode" 567 msgstr "" 568 569 #: includes/admin/forms/ww-loan-calculator-setting.php:989 570 msgid "Default Text for Calculation Result" 571 msgstr "" 572 573 #: includes/admin/forms/ww-loan-calculator-setting.php:650 574 msgid "Default Value for Amount Text Field" 575 msgstr "" 576 577 #: includes/admin/forms/ww-loan-calculator-setting.php:268 578 msgid "Default Value Settings" 579 msgstr "" 580 581 #: includes/admin/forms/ww-loan-calculator-setting.php:1314 582 msgid "Delete Data On Uninstall" 583 msgstr "" 584 585 #: includes/admin/forms/ww-loan-calculator-setting.php:321 586 msgid "Disable About This Calculator Option" 587 msgstr "" 588 589 #: includes/admin/forms/ww-loan-calculator-setting.php:760 590 msgid "Disable Ballon" 591 msgstr "" 592 593 #: includes/admin/forms/ww-loan-calculator-setting.php:1269 594 msgid "Disable Calculator Disclaimer Section" 595 msgstr "" 596 597 #: includes/admin/forms/ww-loan-calculator-setting.php:1204 598 msgid "Disable Contact Us Section" 599 msgstr "" 600 601 #: includes/admin/forms/ww-loan-calculator-setting.php:1322 602 msgid "Disable Font Awesome CSS" 603 msgstr "" 604 605 #: includes/admin/forms/ww-loan-calculator-setting.php:891 606 #: includes/admin/forms/ww-loan-calculator-setting.php:894 607 msgid "Disable Interest Rates Adjustment" 608 msgstr "" 609 610 #: includes/admin/forms/ww-loan-calculator-setting.php:1123 611 msgid "Disable Tabs Icon" 612 msgstr "" 613 614 #: includes/admin/forms/ww-loan-calculator-setting.php:426 615 msgid "Display Color Settings" 616 msgstr "" 617 618 #: includes/admin/forms/ww-loan-calculator-setting.php:944 619 msgid "Display Loan Term Label" 620 msgstr "" 621 622 #: includes/admin/forms/ww-loan-calculator-setting.php:267 623 msgid "Display Settings" 624 msgstr "" 625 626 #: includes/admin/forms/ww-loan-calculator-setting.php:925 627 msgid "Display Specific Payment Mode" 628 msgstr "" 629 520 630 #: includes/loan-calculator-misc-functions.php:153 521 msgid "Danish krone" 522 msgstr "" 523 524 #: includes/admin/forms/ww-loan-calculator-setting.php:780 525 msgid "Default Payment Mode" 526 msgstr "" 527 528 #: includes/admin/forms/ww-loan-calculator-setting.php:835 529 msgid "Default Text for Calculation Result" 530 msgstr "" 531 532 #: includes/admin/forms/ww-loan-calculator-setting.php:514 533 msgid "Default Value for Amount Text Field" 534 msgstr "" 535 536 #: includes/admin/forms/ww-loan-calculator-setting.php:227 537 msgid "Default Value Settings" 538 msgstr "" 539 540 #: includes/admin/forms/ww-loan-calculator-setting.php:1160 541 msgid "Delete Data On Uninstall" 542 msgstr "" 543 544 #: includes/admin/forms/ww-loan-calculator-setting.php:280 545 msgid "Disable About This Calculator Option" 546 msgstr "" 547 548 #: includes/admin/forms/ww-loan-calculator-setting.php:623 549 msgid "Disable Ballon" 550 msgstr "" 551 552 #: includes/admin/forms/ww-loan-calculator-setting.php:1115 553 msgid "Disable Calculator Disclaimer Section" 554 msgstr "" 555 556 #: includes/admin/forms/ww-loan-calculator-setting.php:1050 557 msgid "Disable Contact Us Section" 631 msgid "Djiboutian franc" 632 msgstr "" 633 634 #: includes/loan-calculator-misc-functions.php:155 635 msgid "Dominican peso" 636 msgstr "" 637 638 #: includes/loan-calculator-misc-functions.php:90 639 msgid "Doughnut " 640 msgstr "" 641 642 #: loan-calculator-wp.php:308 includes/class-ww-loan-calculator-public.php:139 643 msgid "Down Payment" 644 msgstr "" 645 646 #: loan-calculator-wp.php:224 647 msgid "Down Payment Amount" 648 msgstr "" 649 650 #: includes/admin/forms/ww-loan-calculator-setting.php:628 651 msgid "Down Payment Fill Color" 652 msgstr "" 653 654 #: includes/admin/forms/ww-loan-calculator-setting.php:823 655 #: includes/admin/forms/ww-loan-calculator-setting.php:1022 656 msgid "Down Payment Label" 657 msgstr "" 658 659 #: includes/admin/forms/ww-loan-calculator-setting.php:805 660 msgid "Down Payment Maximum" 661 msgstr "" 662 663 #: includes/admin/forms/ww-loan-calculator-setting.php:794 664 msgid "Down Payment Mode" 665 msgstr "" 666 667 #: includes/admin/forms/ww-loan-calculator-setting.php:784 668 msgid "Down Payment Option" 669 msgstr "" 670 671 #: includes/admin/forms/ww-loan-calculator-setting.php:815 672 msgid "Down Payment Tooltip" 673 msgstr "" 674 675 #: includes/loan-calculator-misc-functions.php:273 676 msgid "East Caribbean dollar" 677 msgstr "" 678 679 #: includes/loan-calculator-misc-functions.php:157 680 msgid "Egyptian pound" 681 msgstr "" 682 683 #: includes/admin/forms/ww-loan-calculator-setting.php:787 684 msgid "Enable Down Payment Option" 685 msgstr "" 686 687 #: includes/admin/forms/ww-loan-calculator-setting.php:834 688 msgid "Enable Extra Payment Option" 689 msgstr "" 690 691 #: includes/admin/forms/ww-loan-calculator-setting.php:1070 692 #: includes/admin/forms/ww-loan-calculator-setting.php:1074 693 msgid "Enable Fees Calculation" 694 msgstr "" 695 696 #: includes/admin/forms/ww-loan-calculator-setting.php:1117 697 msgid "Enable individual tab based on your need" 698 msgstr "" 699 700 #: includes/admin/forms/ww-loan-calculator-setting.php:1152 701 #: includes/admin/forms/ww-loan-calculator-setting.php:1155 702 msgid "Enable Loan Mortisation Tab" 703 msgstr "" 704 705 #: includes/admin/forms/ww-loan-calculator-setting.php:358 706 #: includes/admin/forms/ww-loan-calculator-setting.php:362 707 msgid "Enable Print Option" 708 msgstr "" 709 710 #: includes/admin/forms/ww-loan-calculator-setting.php:1131 711 #: includes/admin/forms/ww-loan-calculator-setting.php:1134 712 msgid "Enable Repayment Chart Tab" 713 msgstr "" 714 715 #: includes/admin/forms/ww-loan-calculator-setting.php:403 716 msgid "Enable Repayment Frequency" 717 msgstr "" 718 719 #: includes/admin/forms/ww-loan-calculator-setting.php:589 720 msgid "Enable Summary Chart" 558 721 msgstr "" 559 722 560 723 #: includes/admin/forms/ww-loan-calculator-setting.php:1168 561 msgid "Disable Font Awesome CSS" 562 msgstr "" 563 564 #: includes/admin/forms/ww-loan-calculator-setting.php:737 565 #: includes/admin/forms/ww-loan-calculator-setting.php:740 566 msgid "Disable Interest Rates Adjustment" 567 msgstr "" 568 569 #: includes/admin/forms/ww-loan-calculator-setting.php:969 570 msgid "Disable Tabs Icon" 571 msgstr "" 572 573 #: includes/admin/forms/ww-loan-calculator-setting.php:385 574 msgid "Display Color Settings" 575 msgstr "" 576 577 #: includes/admin/forms/ww-loan-calculator-setting.php:790 578 msgid "Display Loan Term Label" 579 msgstr "" 580 581 #: includes/admin/forms/ww-loan-calculator-setting.php:226 582 msgid "Display Settings" 583 msgstr "" 584 585 #: includes/admin/forms/ww-loan-calculator-setting.php:771 586 msgid "Display Specific Payment Mode" 587 msgstr "" 588 589 #: includes/loan-calculator-misc-functions.php:152 590 msgid "Djiboutian franc" 591 msgstr "" 592 593 #: includes/loan-calculator-misc-functions.php:154 594 msgid "Dominican peso" 595 msgstr "" 596 597 #: includes/loan-calculator-misc-functions.php:89 598 msgid "Doughnut " 599 msgstr "" 600 601 #: includes/class-ww-loan-calculator-public.php:116 602 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:464 603 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:485 604 msgid "Down Payment" 605 msgstr "" 606 607 #: loan-calculator-wp.php:227 608 msgid "Down Payment Amount" 609 msgstr "" 610 611 #: includes/admin/forms/ww-loan-calculator-setting.php:868 612 msgid "Down Payment Label" 613 msgstr "" 614 615 #: includes/admin/forms/ww-loan-calculator-setting.php:657 616 msgid "Down Payment Mode" 617 msgstr "" 618 619 #: includes/admin/forms/ww-loan-calculator-setting.php:647 620 msgid "Down Payment Option" 621 msgstr "" 622 623 #: includes/admin/forms/ww-loan-calculator-setting.php:668 624 msgid "Down Payment Tooltip" 625 msgstr "" 626 627 #: includes/loan-calculator-misc-functions.php:272 628 msgid "East Caribbean dollar" 629 msgstr "" 630 631 #: includes/loan-calculator-misc-functions.php:156 632 msgid "Egyptian pound" 633 msgstr "" 634 635 #: includes/admin/forms/ww-loan-calculator-setting.php:650 636 msgid "Enable Down Payment Option" 637 msgstr "" 638 639 #: includes/admin/forms/ww-loan-calculator-setting.php:680 640 msgid "Enable Extra Payment Option" 641 msgstr "" 642 643 #: includes/admin/forms/ww-loan-calculator-setting.php:916 644 #: includes/admin/forms/ww-loan-calculator-setting.php:920 645 msgid "Enable Fees Calculation" 646 msgstr "" 647 648 #: includes/admin/forms/ww-loan-calculator-setting.php:963 649 msgid "Enable individual tab based on your need" 650 msgstr "" 651 652 #: includes/admin/forms/ww-loan-calculator-setting.php:998 653 #: includes/admin/forms/ww-loan-calculator-setting.php:1001 654 msgid "Enable Loan Mortisation Tab" 655 msgstr "" 656 657 #: includes/admin/forms/ww-loan-calculator-setting.php:317 658 #: includes/admin/forms/ww-loan-calculator-setting.php:321 659 msgid "Enable Print Option" 660 msgstr "" 661 662 #: includes/admin/forms/ww-loan-calculator-setting.php:977 663 #: includes/admin/forms/ww-loan-calculator-setting.php:980 664 msgid "Enable Repayment Chart Tab" 665 msgstr "" 666 667 #: includes/admin/forms/ww-loan-calculator-setting.php:362 668 msgid "Enable Repayment Frequency" 669 msgstr "" 670 671 #: includes/admin/forms/ww-loan-calculator-setting.php:1014 672 #: includes/admin/forms/ww-loan-calculator-setting.php:1017 724 #: includes/admin/forms/ww-loan-calculator-setting.php:1171 673 725 msgid "Enable Video Tab" 674 726 msgstr "" 675 727 676 #: includes/loan-calculator-misc-functions.php:15 7728 #: includes/loan-calculator-misc-functions.php:158 677 729 msgid "Eritrean nakfa" 678 730 msgstr "" 679 731 680 #: includes/loan-calculator-misc-functions.php:15 8732 #: includes/loan-calculator-misc-functions.php:159 681 733 msgid "Ethiopian birr" 682 734 msgstr "" 683 735 684 #: includes/loan-calculator-misc-functions.php:1 59736 #: includes/loan-calculator-misc-functions.php:160 685 737 msgid "Euro" 686 738 msgstr "" 687 739 688 #: loan-calculator-wp.php:247 740 #: includes/class-ww-loan-calculator-public.php:149 741 msgid "Extra Payment" 742 msgstr "" 743 744 #: loan-calculator-wp.php:244 689 745 msgid "Extra Payment Amount" 690 746 msgstr "" 691 747 692 #: includes/admin/forms/ww-loan-calculator-setting.php:876 748 #: includes/admin/forms/ww-loan-calculator-setting.php:636 749 msgid "Extra Payment Fill Color" 750 msgstr "" 751 752 #: includes/admin/forms/ww-loan-calculator-setting.php:557 753 msgid "Extra Payment Graph Color" 754 msgstr "" 755 756 #: includes/admin/forms/ww-loan-calculator-setting.php:1030 693 757 msgid "Extra Payment Label" 694 758 msgstr "" 695 759 696 #: includes/admin/forms/ww-loan-calculator-setting.php: 687760 #: includes/admin/forms/ww-loan-calculator-setting.php:841 697 761 msgid "Extra Payment Maximum" 698 762 msgstr "" 699 763 700 #: includes/admin/forms/ww-loan-calculator-setting.php: 677764 #: includes/admin/forms/ww-loan-calculator-setting.php:831 701 765 msgid "Extra Payment Option" 702 766 msgstr "" 703 767 704 #: includes/admin/forms/ww-loan-calculator-setting.php: 900768 #: includes/admin/forms/ww-loan-calculator-setting.php:1054 705 769 msgid "Extra Payment Save Interest Label" 706 770 msgstr "" 707 771 708 #: includes/admin/forms/ww-loan-calculator-setting.php: 884772 #: includes/admin/forms/ww-loan-calculator-setting.php:1038 709 773 msgid "Extra Payment Save Time Label" 710 774 msgstr "" 711 775 712 #: includes/admin/forms/ww-loan-calculator-setting.php: 697776 #: includes/admin/forms/ww-loan-calculator-setting.php:851 713 777 msgid "Extra Payment Tooltip" 714 778 msgstr "" 715 779 716 #: includes/admin/forms/ww-loan-calculator-setting.php: 892780 #: includes/admin/forms/ww-loan-calculator-setting.php:1046 717 781 msgid "Extra Payment Total Label" 718 782 msgstr "" 719 783 784 #: includes/loan-calculator-misc-functions.php:162 785 msgid "Falkland Islands pound" 786 msgstr "" 787 788 #: includes/admin/forms/ww-loan-calculator-setting.php:1062 789 msgid "Fee Calculation Settings " 790 msgstr "" 791 792 #: loan-calculator-wp.php:160 793 msgid "Feel free to use our Equipment Finance Calculator" 794 msgstr "" 795 720 796 #: includes/loan-calculator-misc-functions.php:161 721 msgid "Falkland Islands pound"722 msgstr ""723 724 #: includes/admin/forms/ww-loan-calculator-setting.php:908725 msgid "Fee Calculation Settings "726 msgstr ""727 728 #: loan-calculator-wp.php:163729 msgid "Feel free to use our Equipment Finance Calculator"730 msgstr ""731 732 #: includes/loan-calculator-misc-functions.php:160733 797 msgid "Fijian dollar" 734 798 msgstr "" 735 799 736 #: includes/admin/forms/ww-loan-calculator-setting.php: 660800 #: includes/admin/forms/ww-loan-calculator-setting.php:797 737 801 msgid "Fixed Amount" 738 802 msgstr "" 739 803 740 804 #: includes/loan-calculator-misc-functions.php:47 741 #: includes/admin/forms/ww-loan-calculator-setting.php: 373805 #: includes/admin/forms/ww-loan-calculator-setting.php:414 742 806 msgid "Fortnightly" 743 807 msgstr "" … … 747 811 msgstr "" 748 812 813 #: includes/loan-calculator-misc-functions.php:169 814 msgid "Gambian dalasi" 815 msgstr "" 816 817 #: includes/admin/forms/ww-loan-calculator-setting.php:266 818 #: includes/admin/forms/ww-loan-calculator-setting.php:294 819 msgid "General Settings" 820 msgstr "" 821 822 #: includes/loan-calculator-misc-functions.php:165 823 msgid "Georgian lari" 824 msgstr "" 825 826 #: includes/loan-calculator-misc-functions.php:167 827 msgid "Ghana cedi" 828 msgstr "" 829 749 830 #: includes/loan-calculator-misc-functions.php:168 750 msgid "Gambian dalasi" 751 msgstr "" 752 753 #: includes/admin/forms/ww-loan-calculator-setting.php:225 754 #: includes/admin/forms/ww-loan-calculator-setting.php:253 755 msgid "General Settings" 756 msgstr "" 757 758 #: includes/loan-calculator-misc-functions.php:164 759 msgid "Georgian lari" 831 msgid "Gibraltar pound" 832 msgstr "" 833 834 #: includes/loan-calculator-misc-functions.php:171 835 msgid "Guatemalan quetzal" 760 836 msgstr "" 761 837 762 838 #: includes/loan-calculator-misc-functions.php:166 763 msgid "Ghana cedi" 764 msgstr "" 765 766 #: includes/loan-calculator-misc-functions.php:167 767 msgid "Gibraltar pound" 839 msgid "Guernsey pound" 768 840 msgstr "" 769 841 770 842 #: includes/loan-calculator-misc-functions.php:170 771 msgid "Guatemalan quetzal"772 msgstr ""773 774 #: includes/loan-calculator-misc-functions.php:165775 msgid "Guernsey pound"776 msgstr ""777 778 #: includes/loan-calculator-misc-functions.php:169779 843 msgid "Guinean franc" 780 844 msgstr "" 781 845 782 #: includes/loan-calculator-misc-functions.php:17 1846 #: includes/loan-calculator-misc-functions.php:172 783 847 msgid "Guyanese dollar" 784 848 msgstr "" 785 849 786 #: includes/loan-calculator-misc-functions.php:17 5850 #: includes/loan-calculator-misc-functions.php:176 787 851 msgid "Haitian gourde" 788 852 msgstr "" 789 853 790 #: includes/admin/forms/ww-loan-calculator-setting.php: 826854 #: includes/admin/forms/ww-loan-calculator-setting.php:980 791 855 msgid "Hide Save Interest For Extra Payments" 792 856 msgstr "" 793 857 794 #: includes/admin/forms/ww-loan-calculator-setting.php: 817858 #: includes/admin/forms/ww-loan-calculator-setting.php:971 795 859 msgid "Hide Save Time For Extra Payments" 796 860 msgstr "" 797 861 798 #: includes/admin/forms/ww-loan-calculator-setting.php: 808862 #: includes/admin/forms/ww-loan-calculator-setting.php:962 799 863 msgid "Hide Total Extra Payments" 800 864 msgstr "" 801 865 802 #: includes/admin/forms/ww-loan-calculator-setting.php: 799866 #: includes/admin/forms/ww-loan-calculator-setting.php:953 803 867 msgid "Hide Total Interest Payable" 804 868 msgstr "" 805 869 870 #: includes/loan-calculator-misc-functions.php:174 871 msgid "Honduran lempira" 872 msgstr "" 873 806 874 #: includes/loan-calculator-misc-functions.php:173 807 msgid "Honduran lempira"808 msgstr ""809 810 #: includes/loan-calculator-misc-functions.php:172811 875 msgid "Hong Kong dollar" 812 876 msgstr "" … … 817 881 msgstr "" 818 882 819 #: includes/loan-calculator-misc-functions.php:17 6883 #: includes/loan-calculator-misc-functions.php:177 820 884 msgid "Hungarian forint" 821 885 msgstr "" 822 886 823 #: loan-calculator-wp.php:10 9887 #: loan-calculator-wp.php:106 824 888 msgid "I want a" 825 889 msgstr "" 826 890 827 #: includes/loan-calculator-misc-functions.php:18 4891 #: includes/loan-calculator-misc-functions.php:185 828 892 msgid "Icelandic króna" 829 893 msgstr "" 830 894 831 #: loan-calculator-wp.php:15 8895 #: loan-calculator-wp.php:155 832 896 msgid "" 833 897 "If applicable, enter the balloon amount, which is a lump sum payment due at " … … 835 899 msgstr "" 836 900 837 #: loan-calculator-wp.php:22 6901 #: loan-calculator-wp.php:223 838 902 msgid "" 839 903 "If applicable, enter the down payment, which will be deducted from loan " … … 841 905 msgstr "" 842 906 843 #: loan-calculator-wp.php:24 5907 #: loan-calculator-wp.php:242 844 908 msgid "" 845 909 "If applicable, enter the extra payment, which will be deducted from loan " … … 847 911 msgstr "" 848 912 849 #: includes/admin/forms/ww-loan-calculator-setting.php: 783850 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 41851 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 41852 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 49853 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 49913 #: includes/admin/forms/ww-loan-calculator-setting.php:937 914 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:581 915 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:581 916 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:589 917 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:589 854 918 msgid "In Advance" 855 919 msgstr "" 856 920 857 #: includes/admin/forms/ww-loan-calculator-setting.php: 784858 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 33859 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 50860 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5 50921 #: includes/admin/forms/ww-loan-calculator-setting.php:938 922 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:573 923 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:590 924 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:590 861 925 msgid "In Arrears" 862 926 msgstr "" 863 927 864 #: includes/loan-calculator-misc-functions.php:18 0928 #: includes/loan-calculator-misc-functions.php:181 865 929 msgid "Indian rupee" 866 930 msgstr "" 867 931 868 #: includes/loan-calculator-misc-functions.php:17 7932 #: includes/loan-calculator-misc-functions.php:178 869 933 msgid "Indonesian rupiah" 870 934 msgstr "" 871 935 872 #: includes/class-ww-loan-calculator-public.php:1 01873 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php: 689936 #: includes/class-ww-loan-calculator-public.php:124 937 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:733 874 938 msgid "Interest" 875 939 msgstr "" 876 940 877 #: includes/admin/forms/ww-loan-calculator-setting.php:490 941 #: includes/admin/forms/ww-loan-calculator-setting.php:612 942 msgid "Interest Fill Color" 943 msgstr "" 944 945 #: includes/admin/forms/ww-loan-calculator-setting.php:531 878 946 msgid "Interest Graph Border Color" 879 947 msgstr "" 880 948 881 #: includes/admin/forms/ww-loan-calculator-setting.php: 482949 #: includes/admin/forms/ww-loan-calculator-setting.php:523 882 950 msgid "Interest Graph Fill Color" 883 951 msgstr "" 884 952 885 #: includes/admin/forms/ww-loan-calculator-setting.php: 705886 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php: 390887 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:4 07953 #: includes/admin/forms/ww-loan-calculator-setting.php:859 954 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:430 955 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:447 888 956 msgid "Interest Rate" 889 957 msgstr "" 890 958 891 #: includes/admin/forms/ww-loan-calculator-setting.php: 721959 #: includes/admin/forms/ww-loan-calculator-setting.php:875 892 960 msgid "Interest Rate Max Value" 893 961 msgstr "" 894 962 895 #: includes/admin/forms/ww-loan-calculator-setting.php: 713963 #: includes/admin/forms/ww-loan-calculator-setting.php:867 896 964 msgid "Interest Rate Min Value" 897 965 msgstr "" 898 966 899 #: includes/admin/forms/ww-loan-calculator-setting.php: 729967 #: includes/admin/forms/ww-loan-calculator-setting.php:883 900 968 msgid "Interest Rate Tooltip" 901 969 msgstr "" 902 970 903 #: loan-calculator-wp.php:27 9971 #: loan-calculator-wp.php:276 904 972 msgid "Interest Saved From Extra Payments" 905 973 msgstr "" 906 974 975 #: includes/loan-calculator-misc-functions.php:183 976 msgid "Iranian rial" 977 msgstr "" 978 979 #: includes/loan-calculator-misc-functions.php:184 980 msgid "Iranian toman" 981 msgstr "" 982 907 983 #: includes/loan-calculator-misc-functions.php:182 908 msgid "Iranian rial"909 msgstr ""910 911 #: includes/loan-calculator-misc-functions.php:183912 msgid "Iranian toman"913 msgstr ""914 915 #: includes/loan-calculator-misc-functions.php:181916 984 msgid "Iraqi dinar" 917 985 msgstr "" 918 986 919 #: includes/loan-calculator-misc-functions.php:17 8987 #: includes/loan-calculator-misc-functions.php:179 920 988 msgid "Israeli new shekel" 921 989 msgstr "" 922 990 991 #: includes/loan-calculator-misc-functions.php:187 992 msgid "Jamaican dollar" 993 msgstr "" 994 995 #: includes/loan-calculator-misc-functions.php:189 996 msgid "Japanese yen" 997 msgstr "" 998 923 999 #: includes/loan-calculator-misc-functions.php:186 924 msgid "J amaican dollar"1000 msgid "Jersey pound" 925 1001 msgstr "" 926 1002 927 1003 #: includes/loan-calculator-misc-functions.php:188 928 msgid "Japanese yen"929 msgstr ""930 931 #: includes/loan-calculator-misc-functions.php:185932 msgid "Jersey pound"933 msgstr ""934 935 #: includes/loan-calculator-misc-functions.php:187936 1004 msgid "Jordanian dinar" 937 1005 msgstr "" 938 1006 939 #: includes/loan-calculator-misc-functions.php:19 71007 #: includes/loan-calculator-misc-functions.php:198 940 1008 msgid "Kazakhstani tenge" 941 1009 msgstr "" 942 1010 943 #: includes/loan-calculator-misc-functions.php:1 891011 #: includes/loan-calculator-misc-functions.php:190 944 1012 msgid "Kenyan shilling" 945 1013 msgstr "" 946 1014 947 #: includes/loan-calculator-misc-functions.php:19 51015 #: includes/loan-calculator-misc-functions.php:196 948 1016 msgid "Kuwaiti dinar" 949 1017 msgstr "" 950 1018 951 #: includes/loan-calculator-misc-functions.php:19 01019 #: includes/loan-calculator-misc-functions.php:191 952 1020 msgid "Kyrgyzstani som" 953 1021 msgstr "" 954 1022 955 #: includes/loan-calculator-misc-functions.php:19 81023 #: includes/loan-calculator-misc-functions.php:199 956 1024 msgid "Lao kip" 957 1025 msgstr "" 958 1026 959 #: includes/loan-calculator-misc-functions.php: 1991027 #: includes/loan-calculator-misc-functions.php:200 960 1028 msgid "Lebanese pound" 961 1029 msgstr "" 962 1030 1031 #: includes/loan-calculator-misc-functions.php:203 1032 msgid "Lesotho loti" 1033 msgstr "" 1034 963 1035 #: includes/loan-calculator-misc-functions.php:202 964 msgid "Lesotho loti"965 msgstr ""966 967 #: includes/loan-calculator-misc-functions.php:201968 1036 msgid "Liberian dollar" 969 1037 msgstr "" 970 1038 971 #: includes/loan-calculator-misc-functions.php:20 31039 #: includes/loan-calculator-misc-functions.php:204 972 1040 msgid "Libyan dinar" 973 1041 msgstr "" 974 1042 975 #: includes/loan-calculator-misc-functions.php:9 01043 #: includes/loan-calculator-misc-functions.php:91 976 1044 msgid "Line " 977 1045 msgstr "" 978 1046 979 #: includes/admin/forms/ww-loan-calculator-setting.php:1 0831047 #: includes/admin/forms/ww-loan-calculator-setting.php:1237 980 1048 msgid "Link" 981 1049 msgstr "" 982 1050 983 #: loan-calculator-wp.php:14 81051 #: loan-calculator-wp.php:145 984 1052 msgid "Loan Amortization Table" 985 1053 msgstr "" 986 1054 987 #: includes/admin/forms/ww-loan-calculator-setting.php:1 0061055 #: includes/admin/forms/ww-loan-calculator-setting.php:1160 988 1056 msgid "Loan Amortization Table Tooltip" 989 1057 msgstr "" 990 1058 991 #: loan-calculator-wp.php:2 22992 #: includes/admin/forms/ww-loan-calculator-setting.php: 5301059 #: loan-calculator-wp.php:219 1060 #: includes/admin/forms/ww-loan-calculator-setting.php:667 993 1061 msgid "Loan Amount" 994 1062 msgstr "" 995 1063 996 #: includes/admin/forms/ww-loan-calculator-setting.php: 5221064 #: includes/admin/forms/ww-loan-calculator-setting.php:659 997 1065 msgid "Loan Amount Label" 998 1066 msgstr "" 999 1067 1000 #: includes/admin/forms/ww-loan-calculator-setting.php: 5461068 #: includes/admin/forms/ww-loan-calculator-setting.php:683 1001 1069 msgid "Loan Amount Max Value" 1002 1070 msgstr "" 1003 1071 1004 #: includes/admin/forms/ww-loan-calculator-setting.php: 5381072 #: includes/admin/forms/ww-loan-calculator-setting.php:675 1005 1073 msgid "Loan Amount Min Value" 1006 1074 msgstr "" 1007 1075 1008 #: includes/admin/forms/ww-loan-calculator-setting.php: 5541076 #: includes/admin/forms/ww-loan-calculator-setting.php:691 1009 1077 msgid "Loan Amount Tooltip" 1010 1078 msgstr "" 1011 1079 1012 #: includes/admin/class-loan-calculator-admin.php: 321013 #: includes/admin/class-loan-calculator-admin.php:3 41014 #: includes/admin/class-loan-calculator-admin.php:3 41080 #: includes/admin/class-loan-calculator-admin.php:29 1081 #: includes/admin/class-loan-calculator-admin.php:31 1082 #: includes/admin/class-loan-calculator-admin.php:31 1015 1083 msgid "Loan Calculator" 1016 1084 msgstr "" … … 1020 1088 msgstr "" 1021 1089 1022 #: loan-calculator-wp.php:14 51090 #: loan-calculator-wp.php:142 1023 1091 msgid "Loan Product Features" 1024 1092 msgstr "" 1025 1093 1026 #: includes/admin/forms/ww-loan-calculator-setting.php: 5621094 #: includes/admin/forms/ww-loan-calculator-setting.php:699 1027 1095 msgid "Loan Term" 1028 1096 msgstr "" 1029 1097 1030 #: includes/admin/forms/ww-loan-calculator-setting.php: 5991098 #: includes/admin/forms/ww-loan-calculator-setting.php:736 1031 1099 msgid "Loan Term Max Value" 1032 1100 msgstr "" 1033 1101 1034 #: includes/admin/forms/ww-loan-calculator-setting.php: 5831102 #: includes/admin/forms/ww-loan-calculator-setting.php:720 1035 1103 msgid "Loan Term Min Value" 1036 1104 msgstr "" 1037 1105 1038 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:3 131106 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:353 1039 1107 msgid "Loan Terms" 1040 1108 msgstr "" 1041 1109 1042 #: includes/admin/forms/ww-loan-calculator-setting.php: 6151110 #: includes/admin/forms/ww-loan-calculator-setting.php:752 1043 1111 msgid "Loan Terms Tooltip" 1044 1112 msgstr "" 1045 1113 1114 #: includes/loan-calculator-misc-functions.php:211 1115 msgid "Macanese pataca" 1116 msgstr "" 1117 1118 #: includes/loan-calculator-misc-functions.php:208 1119 msgid "Macedonian denar" 1120 msgstr "" 1121 1122 #: includes/loan-calculator-misc-functions.php:207 1123 msgid "Malagasy ariary" 1124 msgstr "" 1125 1126 #: includes/loan-calculator-misc-functions.php:215 1127 msgid "Malawian kwacha" 1128 msgstr "" 1129 1130 #: includes/loan-calculator-misc-functions.php:217 1131 msgid "Malaysian ringgit" 1132 msgstr "" 1133 1134 #: includes/loan-calculator-misc-functions.php:214 1135 msgid "Maldivian rufiyaa" 1136 msgstr "" 1137 1138 #: includes/loan-calculator-misc-functions.php:180 1139 msgid "Manx pound" 1140 msgstr "" 1141 1142 #: includes/loan-calculator-misc-functions.php:212 1143 msgid "Mauritanian ouguiya" 1144 msgstr "" 1145 1146 #: includes/loan-calculator-misc-functions.php:213 1147 msgid "Mauritian rupee" 1148 msgstr "" 1149 1150 #: includes/loan-calculator-misc-functions.php:216 1151 msgid "Mexican peso" 1152 msgstr "" 1153 1154 #: includes/admin/forms/ww-loan-calculator-setting.php:271 1155 #: includes/admin/forms/ww-loan-calculator-setting.php:1308 1156 msgid "Misc Settings" 1157 msgstr "" 1158 1159 #: includes/loan-calculator-misc-functions.php:206 1160 msgid "Moldovan leu" 1161 msgstr "" 1162 1046 1163 #: includes/loan-calculator-misc-functions.php:210 1047 msgid "Macanese pataca"1048 msgstr ""1049 1050 #: includes/loan-calculator-misc-functions.php:2071051 msgid "Macedonian denar"1052 msgstr ""1053 1054 #: includes/loan-calculator-misc-functions.php:2061055 msgid "Malagasy ariary"1056 msgstr ""1057 1058 #: includes/loan-calculator-misc-functions.php:2141059 msgid "Malawian kwacha"1060 msgstr ""1061 1062 #: includes/loan-calculator-misc-functions.php:2161063 msgid "Malaysian ringgit"1064 msgstr ""1065 1066 #: includes/loan-calculator-misc-functions.php:2131067 msgid "Maldivian rufiyaa"1068 msgstr ""1069 1070 #: includes/loan-calculator-misc-functions.php:1791071 msgid "Manx pound"1072 msgstr ""1073 1074 #: includes/loan-calculator-misc-functions.php:2111075 msgid "Mauritanian ouguiya"1076 msgstr ""1077 1078 #: includes/loan-calculator-misc-functions.php:2121079 msgid "Mauritian rupee"1080 msgstr ""1081 1082 #: includes/loan-calculator-misc-functions.php:2151083 msgid "Mexican peso"1084 msgstr ""1085 1086 #: includes/admin/forms/ww-loan-calculator-setting.php:2301087 #: includes/admin/forms/ww-loan-calculator-setting.php:11541088 msgid "Misc Settings"1089 msgstr ""1090 1091 #: includes/loan-calculator-misc-functions.php:2051092 msgid "Moldovan leu"1093 msgstr ""1094 1095 #: includes/loan-calculator-misc-functions.php:2091096 1164 msgid "Mongolian tögrög" 1097 1165 msgstr "" 1098 1166 1099 #: includes/class-ww-loan-calculator-public.php: 991167 #: includes/class-ww-loan-calculator-public.php:122 1100 1168 msgid "Month(s)" 1101 1169 msgstr "" 1102 1170 1103 1171 #: includes/loan-calculator-misc-functions.php:43 1104 #: includes/admin/forms/ww-loan-calculator-setting.php: 3651172 #: includes/admin/forms/ww-loan-calculator-setting.php:406 1105 1173 msgid "Monthly" 1106 1174 msgstr "" 1107 1175 1108 #: loan-calculator-wp.php:1 111176 #: loan-calculator-wp.php:108 1109 1177 msgid "Monthly fee" 1110 1178 msgstr "" 1111 1179 1112 #: includes/admin/forms/ww-loan-calculator-setting.php: 9331180 #: includes/admin/forms/ww-loan-calculator-setting.php:1087 1113 1181 msgid "Monthly Fee Label" 1114 1182 msgstr "" … … 1118 1186 msgstr "" 1119 1187 1120 #: includes/admin/forms/ww-loan-calculator-setting.php: 7551188 #: includes/admin/forms/ww-loan-calculator-setting.php:909 1121 1189 msgid "Monthly Rate" 1122 1190 msgstr "" 1123 1191 1124 #: includes/loan-calculator-misc-functions.php:20 41192 #: includes/loan-calculator-misc-functions.php:205 1125 1193 msgid "Moroccan dirham" 1126 1194 msgstr "" 1127 1195 1128 #: includes/loan-calculator-misc-functions.php:21 71196 #: includes/loan-calculator-misc-functions.php:218 1129 1197 msgid "Mozambican metical" 1130 1198 msgstr "" 1131 1199 1132 #: includes/loan-calculator-misc-functions.php:21 81200 #: includes/loan-calculator-misc-functions.php:219 1133 1201 msgid "Namibian dollar" 1134 1202 msgstr "" 1135 1203 1204 #: includes/loan-calculator-misc-functions.php:223 1205 msgid "Nepalese rupee" 1206 msgstr "" 1207 1208 #: includes/loan-calculator-misc-functions.php:119 1209 msgid "Netherlands Antillean guilder" 1210 msgstr "" 1211 1212 #: includes/loan-calculator-misc-functions.php:260 1213 msgid "New Taiwan dollar" 1214 msgstr "" 1215 1216 #: includes/loan-calculator-misc-functions.php:224 1217 msgid "New Zealand dollar" 1218 msgstr "" 1219 1220 #: includes/loan-calculator-misc-functions.php:221 1221 msgid "Nicaraguan córdoba" 1222 msgstr "" 1223 1224 #: includes/loan-calculator-misc-functions.php:220 1225 msgid "Nigerian naira" 1226 msgstr "" 1227 1228 #: includes/admin/class-loan-calculator-admin.php:76 1229 #: includes/admin/class-loan-calculator-admin.php:90 1230 msgid "No, thanks" 1231 msgstr "" 1232 1233 #: includes/loan-calculator-misc-functions.php:194 1234 msgid "North Korean won" 1235 msgstr "" 1236 1136 1237 #: includes/loan-calculator-misc-functions.php:222 1137 msgid "Nepalese rupee"1138 msgstr ""1139 1140 #: includes/loan-calculator-misc-functions.php:1181141 msgid "Netherlands Antillean guilder"1142 msgstr ""1143 1144 #: includes/loan-calculator-misc-functions.php:2591145 msgid "New Taiwan dollar"1146 msgstr ""1147 1148 #: includes/loan-calculator-misc-functions.php:2231149 msgid "New Zealand dollar"1150 msgstr ""1151 1152 #: includes/loan-calculator-misc-functions.php:2201153 msgid "Nicaraguan córdoba"1154 msgstr ""1155 1156 #: includes/loan-calculator-misc-functions.php:2191157 msgid "Nigerian naira"1158 msgstr ""1159 1160 #: includes/admin/class-loan-calculator-admin.php:821161 #: includes/admin/class-loan-calculator-admin.php:961162 msgid "No, thanks"1163 msgstr ""1164 1165 #: includes/loan-calculator-misc-functions.php:1931166 msgid "North Korean won"1167 msgstr ""1168 1169 #: includes/loan-calculator-misc-functions.php:2211170 1238 msgid "Norwegian krone" 1171 1239 msgstr "" 1172 1240 1173 #: includes/admin/forms/ww-loan-calculator-setting.php:265 1174 #: includes/admin/forms/ww-loan-calculator-setting.php:275 1175 #: includes/admin/forms/ww-loan-calculator-setting.php:284 1176 #: includes/admin/forms/ww-loan-calculator-setting.php:294 1177 #: includes/admin/forms/ww-loan-calculator-setting.php:312 1178 #: includes/admin/forms/ww-loan-calculator-setting.php:323 1179 #: includes/admin/forms/ww-loan-calculator-setting.php:376 1180 #: includes/admin/forms/ww-loan-calculator-setting.php:652 1181 #: includes/admin/forms/ww-loan-calculator-setting.php:663 1182 #: includes/admin/forms/ww-loan-calculator-setting.php:682 1183 #: includes/admin/forms/ww-loan-calculator-setting.php:692 1184 #: includes/admin/forms/ww-loan-calculator-setting.php:742 1185 #: includes/admin/forms/ww-loan-calculator-setting.php:775 1186 #: includes/admin/forms/ww-loan-calculator-setting.php:785 1187 #: includes/admin/forms/ww-loan-calculator-setting.php:794 1188 #: includes/admin/forms/ww-loan-calculator-setting.php:803 1189 #: includes/admin/forms/ww-loan-calculator-setting.php:812 1190 #: includes/admin/forms/ww-loan-calculator-setting.php:821 1191 #: includes/admin/forms/ww-loan-calculator-setting.php:830 1192 #: includes/admin/forms/ww-loan-calculator-setting.php:847 1193 #: includes/admin/forms/ww-loan-calculator-setting.php:920 1194 #: includes/admin/forms/ww-loan-calculator-setting.php:1094 1241 #: includes/admin/forms/ww-loan-calculator-setting.php:306 1242 #: includes/admin/forms/ww-loan-calculator-setting.php:316 1243 #: includes/admin/forms/ww-loan-calculator-setting.php:325 1244 #: includes/admin/forms/ww-loan-calculator-setting.php:335 1245 #: includes/admin/forms/ww-loan-calculator-setting.php:353 1246 #: includes/admin/forms/ww-loan-calculator-setting.php:364 1247 #: includes/admin/forms/ww-loan-calculator-setting.php:417 1248 #: includes/admin/forms/ww-loan-calculator-setting.php:591 1249 #: includes/admin/forms/ww-loan-calculator-setting.php:653 1250 #: includes/admin/forms/ww-loan-calculator-setting.php:789 1251 #: includes/admin/forms/ww-loan-calculator-setting.php:800 1252 #: includes/admin/forms/ww-loan-calculator-setting.php:810 1253 #: includes/admin/forms/ww-loan-calculator-setting.php:836 1254 #: includes/admin/forms/ww-loan-calculator-setting.php:846 1255 #: includes/admin/forms/ww-loan-calculator-setting.php:896 1256 #: includes/admin/forms/ww-loan-calculator-setting.php:929 1257 #: includes/admin/forms/ww-loan-calculator-setting.php:939 1258 #: includes/admin/forms/ww-loan-calculator-setting.php:948 1259 #: includes/admin/forms/ww-loan-calculator-setting.php:957 1260 #: includes/admin/forms/ww-loan-calculator-setting.php:966 1261 #: includes/admin/forms/ww-loan-calculator-setting.php:975 1262 #: includes/admin/forms/ww-loan-calculator-setting.php:984 1263 #: includes/admin/forms/ww-loan-calculator-setting.php:1001 1264 #: includes/admin/forms/ww-loan-calculator-setting.php:1074 1265 #: includes/admin/forms/ww-loan-calculator-setting.php:1248 1195 1266 msgid "Note" 1196 1267 msgstr "" 1197 1268 1198 #: includes/loan-calculator-misc-functions.php:22 41269 #: includes/loan-calculator-misc-functions.php:225 1199 1270 msgid "Omani rial" 1200 1271 msgstr "" 1201 1272 1202 #: loan-calculator-wp.php:14 31203 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php: 7701273 #: loan-calculator-wp.php:140 1274 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:814 1204 1275 msgid "over" 1205 1276 msgstr "" 1206 1277 1278 #: includes/loan-calculator-misc-functions.php:230 1279 msgid "Pakistani rupee" 1280 msgstr "" 1281 1282 #: includes/loan-calculator-misc-functions.php:226 1283 msgid "Panamanian balboa" 1284 msgstr "" 1285 1286 #: includes/loan-calculator-misc-functions.php:228 1287 msgid "Papua New Guinean kina" 1288 msgstr "" 1289 1290 #: includes/loan-calculator-misc-functions.php:233 1291 msgid "Paraguayan guaraní" 1292 msgstr "" 1293 1294 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:729 1295 msgid "Payment" 1296 msgstr "" 1297 1298 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:561 1299 msgid "Payment Mode" 1300 msgstr "" 1301 1302 #: includes/admin/forms/ww-loan-calculator-setting.php:917 1303 msgid "Payment Mode Tooltip" 1304 msgstr "" 1305 1306 #: loan-calculator-wp.php:134 1307 msgid "Per month for" 1308 msgstr "" 1309 1310 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:728 1311 msgid "Period" 1312 msgstr "" 1313 1207 1314 #: includes/loan-calculator-misc-functions.php:229 1208 msgid "Pakistani rupee"1209 msgstr ""1210 1211 #: includes/loan-calculator-misc-functions.php:2251212 msgid "Panamanian balboa"1213 msgstr ""1214 1215 #: includes/loan-calculator-misc-functions.php:2271216 msgid "Papua New Guinean kina"1217 msgstr ""1218 1219 #: includes/loan-calculator-misc-functions.php:2321220 msgid "Paraguayan guaraní"1221 msgstr ""1222 1223 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:6851224 msgid "Payment"1225 msgstr ""1226 1227 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:5211228 msgid "Payment Mode"1229 msgstr ""1230 1231 #: includes/admin/forms/ww-loan-calculator-setting.php:7631232 msgid "Payment Mode Tooltip"1233 msgstr ""1234 1235 #: loan-calculator-wp.php:1371236 msgid "Per month for"1237 msgstr ""1238 1239 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:6841240 msgid "Period"1241 msgstr ""1242 1243 #: includes/loan-calculator-misc-functions.php:2281244 1315 msgid "Philippine peso" 1245 1316 msgstr "" 1246 1317 1247 #: includes/loan-calculator-misc-functions.php:8 71318 #: includes/loan-calculator-misc-functions.php:88 1248 1319 msgid "Pie" 1249 1320 msgstr "" 1250 1321 1251 #: loan-calculator-wp.php:15 51322 #: loan-calculator-wp.php:152 1252 1323 msgid "Please choose payment mode of the loan." 1253 1324 msgstr "" 1254 1325 1255 #: loan-calculator-wp.php:154 1326 #: includes/class-ww-loan-calculator-scripts.php:69 1327 msgid "Please Enter About This Calculator Label" 1328 msgstr "" 1329 1330 #: includes/class-ww-loan-calculator-scripts.php:67 1331 msgid "Please Enter Application Fee" 1332 msgstr "" 1333 1334 #: includes/class-ww-loan-calculator-scripts.php:81 1335 msgid "Please Enter Application Fee Label" 1336 msgstr "" 1337 1338 #: includes/class-ww-loan-calculator-scripts.php:75 1339 msgid "Please Enter Balloon Amount Label" 1340 msgstr "" 1341 1342 #: includes/class-ww-loan-calculator-scripts.php:72 1343 msgid "Please Enter Balloon Amount Percentage" 1344 msgstr "" 1345 1346 #: includes/class-ww-loan-calculator-scripts.php:90 1347 msgid "Please Enter Contact Form Content" 1348 msgstr "" 1349 1350 #: includes/class-ww-loan-calculator-scripts.php:89 1351 msgid "Please Enter Contact Popup Button Label" 1352 msgstr "" 1353 1354 #: includes/class-ww-loan-calculator-scripts.php:91 1355 msgid "Please Enter Contact URL" 1356 msgstr "" 1357 1358 #: includes/class-ww-loan-calculator-scripts.php:76 1359 #: includes/class-ww-loan-calculator-scripts.php:92 1360 msgid "Please Enter Down Payment Label" 1361 msgstr "" 1362 1363 #: includes/class-ww-loan-calculator-scripts.php:93 1364 msgid "Please Enter Down Payment Maximum" 1365 msgstr "" 1366 1367 #: includes/class-ww-loan-calculator-scripts.php:77 1368 msgid "Please Enter Extra Payment Label" 1369 msgstr "" 1370 1371 #: includes/class-ww-loan-calculator-scripts.php:94 1372 msgid "Please Enter Extra Payment Maximum" 1373 msgstr "" 1374 1375 #: includes/class-ww-loan-calculator-scripts.php:80 1376 msgid "Please Enter Extra Payment Save Interest Label" 1377 msgstr "" 1378 1379 #: includes/class-ww-loan-calculator-scripts.php:78 1380 msgid "Please Enter Extra Payment Save Time Label" 1381 msgstr "" 1382 1383 #: includes/class-ww-loan-calculator-scripts.php:79 1384 msgid "Please Enter Extra Payment Total Label" 1385 msgstr "" 1386 1387 #: includes/class-ww-loan-calculator-scripts.php:66 1388 msgid "Please Enter Interest Rate Maximum Value" 1389 msgstr "" 1390 1391 #: includes/class-ww-loan-calculator-scripts.php:65 1392 msgid "Please Enter Interest Rate Minimum Value" 1393 msgstr "" 1394 1395 #: includes/class-ww-loan-calculator-scripts.php:64 1396 msgid "Please Enter Interest Rate Value" 1397 msgstr "" 1398 1399 #: includes/class-ww-loan-calculator-scripts.php:86 1400 msgid "Please Enter Loan Amortization Table Tooltip" 1401 msgstr "" 1402 1403 #: includes/class-ww-loan-calculator-scripts.php:60 1404 msgid "Please Enter Loan Amount Field Label" 1405 msgstr "" 1406 1407 #: includes/class-ww-loan-calculator-scripts.php:63 1408 msgid "Please Enter Loan Amount Maximum Value" 1409 msgstr "" 1410 1411 #: includes/class-ww-loan-calculator-scripts.php:62 1412 msgid "Please Enter Loan Amount Minimum Value" 1413 msgstr "" 1414 1415 #: includes/class-ww-loan-calculator-scripts.php:61 1416 msgid "Please Enter Loan Amount Value" 1417 msgstr "" 1418 1419 #: includes/class-ww-loan-calculator-scripts.php:82 1420 msgid "Please Enter Monthly Fee Label" 1421 msgstr "" 1422 1423 #: includes/class-ww-loan-calculator-scripts.php:68 1424 msgid "Please Enter Monthly Rate" 1425 msgstr "" 1426 1427 #: includes/class-ww-loan-calculator-scripts.php:70 1428 msgid "Please Enter Print Label" 1429 msgstr "" 1430 1431 #: includes/class-ww-loan-calculator-scripts.php:73 1432 msgid "Please Enter Regular Repayment Label" 1433 msgstr "" 1434 1435 #: includes/class-ww-loan-calculator-scripts.php:85 1436 msgid "Please Enter Repayment Chart Tooltip" 1437 msgstr "" 1438 1439 #: includes/class-ww-loan-calculator-scripts.php:71 1440 msgid "Please Enter Summery Chart Label" 1441 msgstr "" 1442 1443 #: loan-calculator-wp.php:151 1256 1444 msgid "Please enter the number of years in which you plan to repay the loan." 1257 1445 msgstr "" 1258 1446 1259 #: loan-calculator-wp.php:153 1447 #: includes/class-ww-loan-calculator-scripts.php:84 1448 msgid "Please Enter Total Fees Label" 1449 msgstr "" 1450 1451 #: includes/class-ww-loan-calculator-scripts.php:74 1452 msgid "Please Enter Total Interest Payable Label" 1453 msgstr "" 1454 1455 #: includes/class-ww-loan-calculator-scripts.php:83 1456 msgid "Please Enter Total Regular Fees Label" 1457 msgstr "" 1458 1459 #: includes/class-ww-loan-calculator-scripts.php:87 1460 msgid "Please Enter Video Tab Tooltip" 1461 msgstr "" 1462 1463 #: loan-calculator-wp.php:150 1260 1464 msgid "Please enter your loan amount here." 1261 1465 msgstr "" 1262 1466 1263 #: includes/admin/forms/ww-loan-calculator-setting.php:1152 1467 #: includes/class-ww-loan-calculator-scripts.php:88 1468 msgid "Please Enter Youtube Video Link" 1469 msgstr "" 1470 1471 #: includes/admin/forms/ww-loan-calculator-setting.php:1306 1264 1472 msgid "Plugin Misc Settings" 1265 1473 msgstr "" 1266 1474 1267 #: includes/loan-calculator-misc-functions.php:9 11475 #: includes/loan-calculator-misc-functions.php:92 1268 1476 msgid "PolarArea " 1269 1477 msgstr "" 1270 1478 1271 #: includes/loan-calculator-misc-functions.php:23 01479 #: includes/loan-calculator-misc-functions.php:231 1272 1480 msgid "Polish złoty" 1273 1481 msgstr "" 1274 1482 1275 #: includes/admin/forms/ww-loan-calculator-setting.php:1 0791483 #: includes/admin/forms/ww-loan-calculator-setting.php:1233 1276 1484 msgid "Popup" 1277 1485 msgstr "" 1278 1486 1279 #: includes/loan-calculator-misc-functions.php:16 21487 #: includes/loan-calculator-misc-functions.php:163 1280 1488 msgid "Pound sterling" 1281 1489 msgstr "" 1282 1490 1283 #: includes/class-ww-loan-calculator-public.php:1 021491 #: includes/class-ww-loan-calculator-public.php:125 1284 1492 msgid "Principal" 1285 1493 msgstr "" 1286 1494 1287 #: includes/admin/forms/ww-loan-calculator-setting.php:474 1495 #: includes/admin/forms/ww-loan-calculator-setting.php:604 1496 msgid "Principal Fill Color" 1497 msgstr "" 1498 1499 #: includes/admin/forms/ww-loan-calculator-setting.php:515 1288 1500 msgid "Principal Graph Border Color" 1289 1501 msgstr "" 1290 1502 1291 #: includes/admin/forms/ww-loan-calculator-setting.php: 4661503 #: includes/admin/forms/ww-loan-calculator-setting.php:507 1292 1504 msgid "Principal Graph Fill Color" 1293 1505 msgstr "" 1294 1506 1295 #: loan-calculator-wp.php:1 61 loan-calculator-wp.php:1881507 #: loan-calculator-wp.php:158 loan-calculator-wp.php:185 1296 1508 msgid "Print" 1297 1509 msgstr "" 1298 1510 1299 #: includes/admin/forms/ww-loan-calculator-setting.php:3 281511 #: includes/admin/forms/ww-loan-calculator-setting.php:369 1300 1512 msgid "Print Option Label" 1301 1513 msgstr "" 1302 1514 1303 #: includes/loan-calculator-misc-functions.php:23 31515 #: includes/loan-calculator-misc-functions.php:234 1304 1516 msgid "Qatari riyal" 1305 1517 msgstr "" 1306 1518 1307 1519 #: includes/loan-calculator-misc-functions.php:44 1308 #: includes/admin/forms/ww-loan-calculator-setting.php: 3671520 #: includes/admin/forms/ww-loan-calculator-setting.php:408 1309 1521 msgid "Quarterly" 1310 1522 msgstr "" … … 1314 1526 msgstr "" 1315 1527 1316 #: includes/loan-calculator-misc-functions.php:9 21528 #: includes/loan-calculator-misc-functions.php:93 1317 1529 msgid "Radar " 1318 1530 msgstr "" 1319 1531 1320 #: includes/admin/forms/ww-loan-calculator-setting.php: 8431532 #: includes/admin/forms/ww-loan-calculator-setting.php:997 1321 1533 msgid "Regular Repayment Label" 1322 1534 msgstr "" 1323 1535 1324 #: includes/admin/forms/ww-loan-calculator-setting.php:1 1841536 #: includes/admin/forms/ww-loan-calculator-setting.php:1338 1325 1537 msgid "Remove All Range Sliders" 1326 1538 msgstr "" 1327 1539 1328 #: includes/admin/forms/ww-loan-calculator-setting.php:1 1761540 #: includes/admin/forms/ww-loan-calculator-setting.php:1330 1329 1541 msgid "Remove Decimal Points" 1330 1542 msgstr "" 1331 1543 1332 #: loan-calculator-wp.php:14 71544 #: loan-calculator-wp.php:144 1333 1545 msgid "Repayment Chart" 1334 1546 msgstr "" 1335 1547 1336 #: includes/admin/forms/ww-loan-calculator-setting.php: 9901548 #: includes/admin/forms/ww-loan-calculator-setting.php:1144 1337 1549 msgid "Repayment Chart Tooltip" 1338 1550 msgstr "" 1339 1551 1340 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:3 361552 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:376 1341 1553 msgid "Repayment Frequency" 1342 1554 msgstr "" 1343 1555 1344 #: includes/loan-calculator-misc-functions.php:23 41556 #: includes/loan-calculator-misc-functions.php:235 1345 1557 msgid "Romanian leu" 1346 1558 msgstr "" 1347 1559 1560 #: includes/loan-calculator-misc-functions.php:237 1561 msgid "Russian ruble" 1562 msgstr "" 1563 1564 #: includes/loan-calculator-misc-functions.php:238 1565 msgid "Rwandan franc" 1566 msgstr "" 1567 1568 #: includes/loan-calculator-misc-functions.php:250 1569 msgid "São Tomé and Príncipe dobra" 1570 msgstr "" 1571 1572 #: includes/loan-calculator-misc-functions.php:245 1573 msgid "Saint Helena pound" 1574 msgstr "" 1575 1576 #: includes/loan-calculator-misc-functions.php:271 1577 msgid "Samoan tālā" 1578 msgstr "" 1579 1580 #: includes/loan-calculator-misc-functions.php:239 1581 msgid "Saudi riyal" 1582 msgstr "" 1583 1584 #: includes/loan-calculator-misc-functions.php:94 1585 msgid "Scatter " 1586 msgstr "" 1587 1588 #: includes/admin/forms/ww-loan-calculator-setting.php:438 1589 msgid "Select Font" 1590 msgstr "" 1591 1592 #: includes/admin/forms/ww-loan-calculator-setting.php:567 1593 msgid "Select Theme" 1594 msgstr "" 1595 1596 #: includes/admin/forms/ww-loan-calculator-setting.php:483 1597 msgid "Selected Color" 1598 msgstr "" 1599 1348 1600 #: includes/loan-calculator-misc-functions.php:236 1349 msgid "Russian ruble"1350 msgstr ""1351 1352 #: includes/loan-calculator-misc-functions.php:2371353 msgid "Rwandan franc"1354 msgstr ""1355 1356 #: includes/loan-calculator-misc-functions.php:2491357 msgid "São Tomé and Príncipe dobra"1358 msgstr ""1359 1360 #: includes/loan-calculator-misc-functions.php:2441361 msgid "Saint Helena pound"1362 msgstr ""1363 1364 #: includes/loan-calculator-misc-functions.php:2701365 msgid "Samoan tālā"1366 msgstr ""1367 1368 #: includes/loan-calculator-misc-functions.php:2381369 msgid "Saudi riyal"1370 msgstr ""1371 1372 #: includes/loan-calculator-misc-functions.php:931373 msgid "Scatter "1374 msgstr ""1375 1376 #: includes/admin/forms/ww-loan-calculator-setting.php:3971377 msgid "Select Font"1378 msgstr ""1379 1380 #: includes/admin/forms/ww-loan-calculator-setting.php:4991381 msgid "Select Theme"1382 msgstr ""1383 1384 #: includes/admin/forms/ww-loan-calculator-setting.php:4421385 msgid "Selected Color"1386 msgstr ""1387 1388 #: includes/loan-calculator-misc-functions.php:2351389 1601 msgid "Serbian dinar" 1390 1602 msgstr "" 1391 1603 1392 #: includes/admin/forms/ww-loan-calculator-setting.php: 8371604 #: includes/admin/forms/ww-loan-calculator-setting.php:991 1393 1605 msgid "Set the calculation results labels" 1394 1606 msgstr "" 1395 1607 1396 #: includes/admin/forms/ww-loan-calculator-setting.php: 5161608 #: includes/admin/forms/ww-loan-calculator-setting.php:652 1397 1609 msgid "Set the default value for all amount text fields" 1398 1610 msgstr "" 1399 1611 1400 #: includes/loan-calculator-misc-functions.php:24 01612 #: includes/loan-calculator-misc-functions.php:241 1401 1613 msgid "Seychellois rupee" 1402 1614 msgstr "" 1403 1615 1404 #: includes/admin/forms/ww-loan-calculator-setting.php: 2611616 #: includes/admin/forms/ww-loan-calculator-setting.php:302 1405 1617 msgid "Shortcode" 1406 1618 msgstr "" 1407 1619 1408 #: includes/admin/forms/ww-loan-calculator-setting.php: 9101620 #: includes/admin/forms/ww-loan-calculator-setting.php:1064 1409 1621 msgid "" 1410 1622 "Show application fees, monthly fees, total regular fees and total fees. " … … 1412 1624 msgstr "" 1413 1625 1414 #: includes/admin/forms/ww-loan-calculator-setting.php:1 1091626 #: includes/admin/forms/ww-loan-calculator-setting.php:1263 1415 1627 msgid "Show disclaimer notice at the end of calculator." 1416 1628 msgstr "" 1417 1629 1418 #: includes/loan-calculator-misc-functions.php:24 51630 #: includes/loan-calculator-misc-functions.php:246 1419 1631 msgid "Sierra Leonean leone" 1420 1632 msgstr "" 1421 1633 1634 #: includes/loan-calculator-misc-functions.php:244 1635 msgid "Singapore dollar" 1636 msgstr "" 1637 1638 #: includes/loan-calculator-misc-functions.php:227 1639 msgid "Sol" 1640 msgstr "" 1641 1642 #: includes/loan-calculator-misc-functions.php:240 1643 msgid "Solomon Islands dollar" 1644 msgstr "" 1645 1646 #: includes/loan-calculator-misc-functions.php:247 1647 msgid "Somali shilling" 1648 msgstr "" 1649 1650 #: includes/loan-calculator-misc-functions.php:277 1651 msgid "South African rand" 1652 msgstr "" 1653 1654 #: includes/loan-calculator-misc-functions.php:195 1655 msgid "South Korean won" 1656 msgstr "" 1657 1658 #: includes/loan-calculator-misc-functions.php:249 1659 msgid "South Sudanese pound" 1660 msgstr "" 1661 1662 #: includes/loan-calculator-misc-functions.php:201 1663 msgid "Sri Lankan rupee" 1664 msgstr "" 1665 1666 #: includes/loan-calculator-misc-functions.php:87 1667 msgid "Stacked Bar" 1668 msgstr "" 1669 1670 #: includes/loan-calculator-misc-functions.php:242 1671 msgid "Sudanese pound" 1672 msgstr "" 1673 1674 #: includes/admin/forms/ww-loan-calculator-setting.php:596 1675 msgid "Summary Chart Main Label" 1676 msgstr "" 1677 1678 #: includes/admin/forms/ww-loan-calculator-setting.php:586 1679 msgid "Summary Chart Option" 1680 msgstr "" 1681 1682 #: includes/admin/forms/ww-loan-calculator-setting.php:578 1683 msgid "Summary Chart Visual Settings" 1684 msgstr "" 1685 1686 #: includes/loan-calculator-misc-functions.php:248 1687 msgid "Surinamese dollar" 1688 msgstr "" 1689 1690 #: includes/loan-calculator-misc-functions.php:252 1691 msgid "Swazi lilangeni" 1692 msgstr "" 1693 1422 1694 #: includes/loan-calculator-misc-functions.php:243 1423 msgid "Singapore dollar" 1424 msgstr "" 1425 1426 #: includes/loan-calculator-misc-functions.php:226 1427 msgid "Sol" 1428 msgstr "" 1429 1430 #: includes/loan-calculator-misc-functions.php:239 1431 msgid "Solomon Islands dollar" 1432 msgstr "" 1433 1434 #: includes/loan-calculator-misc-functions.php:246 1435 msgid "Somali shilling" 1436 msgstr "" 1437 1438 #: includes/loan-calculator-misc-functions.php:276 1439 msgid "South African rand" 1440 msgstr "" 1441 1442 #: includes/loan-calculator-misc-functions.php:194 1443 msgid "South Korean won" 1444 msgstr "" 1445 1446 #: includes/loan-calculator-misc-functions.php:248 1447 msgid "South Sudanese pound" 1448 msgstr "" 1449 1450 #: includes/loan-calculator-misc-functions.php:200 1451 msgid "Sri Lankan rupee" 1452 msgstr "" 1453 1454 #: includes/loan-calculator-misc-functions.php:241 1455 msgid "Sudanese pound" 1456 msgstr "" 1457 1458 #: includes/loan-calculator-misc-functions.php:247 1459 msgid "Surinamese dollar" 1695 msgid "Swedish krona" 1696 msgstr "" 1697 1698 #: includes/loan-calculator-misc-functions.php:144 1699 msgid "Swiss franc" 1460 1700 msgstr "" 1461 1701 1462 1702 #: includes/loan-calculator-misc-functions.php:251 1463 msgid "Swazi lilangeni"1464 msgstr ""1465 1466 #: includes/loan-calculator-misc-functions.php:2421467 msgid "Swedish krona"1468 msgstr ""1469 1470 #: includes/loan-calculator-misc-functions.php:1431471 msgid "Swiss franc"1472 msgstr ""1473 1474 #: includes/loan-calculator-misc-functions.php:2501475 1703 msgid "Syrian pound" 1476 1704 msgstr "" 1477 1705 1478 #: includes/admin/forms/ww-loan-calculator-setting.php:2 281706 #: includes/admin/forms/ww-loan-calculator-setting.php:269 1479 1707 msgid "Tab Field" 1480 1708 msgstr "" 1481 1709 1482 #: includes/admin/forms/ww-loan-calculator-setting.php: 9611710 #: includes/admin/forms/ww-loan-calculator-setting.php:1115 1483 1711 msgid "Tab Settings Field" 1484 1712 msgstr "" 1485 1713 1714 #: includes/loan-calculator-misc-functions.php:254 1715 msgid "Tajikistani somoni" 1716 msgstr "" 1717 1718 #: includes/loan-calculator-misc-functions.php:261 1719 msgid "Tanzanian shilling" 1720 msgstr "" 1721 1486 1722 #: includes/loan-calculator-misc-functions.php:253 1487 msgid "Tajikistani somoni"1488 msgstr ""1489 1490 #: includes/loan-calculator-misc-functions.php:2601491 msgid "Tanzanian shilling"1492 msgstr ""1493 1494 #: includes/loan-calculator-misc-functions.php:2521495 1723 msgid "Thai baht" 1496 1724 msgstr "" 1497 1725 1498 #: loan-calculator-wp.php:15 71726 #: loan-calculator-wp.php:154 1499 1727 msgid "" 1500 1728 "The interest rate will default to the product you selected. You can also " … … 1503 1731 msgstr "" 1504 1732 1505 #: loan-calculator-wp.php:1 521733 #: loan-calculator-wp.php:149 1506 1734 msgid "" 1507 1735 "The repayment amount shown using this calculator is an estimate, based on " … … 1513 1741 msgstr "" 1514 1742 1515 #: loan-calculator-wp.php:2 601743 #: loan-calculator-wp.php:257 1516 1744 msgid "Time Saved From Extra Payments" 1517 1745 msgstr "" 1518 1746 1519 #: includes/admin/forms/ww-loan-calculator-setting.php: 6261747 #: includes/admin/forms/ww-loan-calculator-setting.php:763 1520 1748 msgid "" 1521 1749 "To enable the balloon amount in the loan calculator form, uncheck this box." 1522 1750 msgstr "" 1523 1751 1752 #: includes/loan-calculator-misc-functions.php:257 1753 msgid "Tongan paʻanga" 1754 msgstr "" 1755 1756 #: loan-calculator-wp.php:271 1757 msgid "Total Extra Payments" 1758 msgstr "" 1759 1760 #: loan-calculator-wp.php:110 1761 msgid "Total fees" 1762 msgstr "" 1763 1764 #: includes/admin/forms/ww-loan-calculator-setting.php:1103 1765 msgid "Total Fees Label" 1766 msgstr "" 1767 1768 #: includes/class-ww-loan-calculator-public.php:150 1769 msgid "Total Interest" 1770 msgstr "" 1771 1772 #: loan-calculator-wp.php:139 1773 msgid "Total interest payable" 1774 msgstr "" 1775 1776 #: includes/admin/forms/ww-loan-calculator-setting.php:1006 1777 msgid "Total Interest Payable Label" 1778 msgstr "" 1779 1780 #: loan-calculator-wp.php:109 1781 msgid "Total regular fees" 1782 msgstr "" 1783 1784 #: includes/admin/forms/ww-loan-calculator-setting.php:1095 1785 msgid "Total Regular Fees Label" 1786 msgstr "" 1787 1788 #: includes/loan-calculator-misc-functions.php:232 1789 msgid "Transnistrian ruble" 1790 msgstr "" 1791 1792 #: includes/loan-calculator-misc-functions.php:259 1793 msgid "Trinidad and Tobago dollar" 1794 msgstr "" 1795 1524 1796 #: includes/loan-calculator-misc-functions.php:256 1525 msgid "Tongan paʻanga" 1526 msgstr "" 1527 1528 #: loan-calculator-wp.php:274 1529 msgid "Total Extra Payments" 1530 msgstr "" 1531 1532 #: loan-calculator-wp.php:113 1533 msgid "Total fees" 1534 msgstr "" 1535 1536 #: includes/admin/forms/ww-loan-calculator-setting.php:949 1537 msgid "Total Fees Label" 1538 msgstr "" 1539 1540 #: loan-calculator-wp.php:142 1541 msgid "Total interest payable" 1542 msgstr "" 1543 1544 #: includes/admin/forms/ww-loan-calculator-setting.php:852 1545 msgid "Total Interest Payable Label" 1546 msgstr "" 1547 1548 #: loan-calculator-wp.php:112 1549 msgid "Total regular fees" 1550 msgstr "" 1551 1552 #: includes/admin/forms/ww-loan-calculator-setting.php:941 1553 msgid "Total Regular Fees Label" 1554 msgstr "" 1555 1556 #: includes/loan-calculator-misc-functions.php:231 1557 msgid "Transnistrian ruble" 1797 msgid "Tunisian dinar" 1558 1798 msgstr "" 1559 1799 1560 1800 #: includes/loan-calculator-misc-functions.php:258 1561 msgid "T rinidad and Tobago dollar"1801 msgid "Turkish lira" 1562 1802 msgstr "" 1563 1803 1564 1804 #: includes/loan-calculator-misc-functions.php:255 1565 msgid "Tunisian dinar"1566 msgstr ""1567 1568 #: includes/loan-calculator-misc-functions.php:2571569 msgid "Turkish lira"1570 msgstr ""1571 1572 #: includes/loan-calculator-misc-functions.php:2541573 1805 msgid "Turkmenistan manat" 1574 1806 msgstr "" 1575 1807 1808 #: includes/loan-calculator-misc-functions.php:263 1809 msgid "Ugandan shilling" 1810 msgstr "" 1811 1576 1812 #: includes/loan-calculator-misc-functions.php:262 1577 msgid "Ugandan shilling"1578 msgstr ""1579 1580 #: includes/loan-calculator-misc-functions.php:2611581 1813 msgid "Ukrainian hryvnia" 1582 1814 msgstr "" 1583 1815 1584 #: includes/loan-calculator-misc-functions.php:11 41816 #: includes/loan-calculator-misc-functions.php:115 1585 1817 msgid "United Arab Emirates dirham" 1586 1818 msgstr "" 1587 1819 1588 #: includes/loan-calculator-misc-functions.php:16 31820 #: includes/loan-calculator-misc-functions.php:164 1589 1821 msgid "United Kingdom (UK) pound" 1590 1822 msgstr "" 1591 1823 1592 #: includes/loan-calculator-misc-functions.php:26 31824 #: includes/loan-calculator-misc-functions.php:264 1593 1825 msgid "United States (US) dollar" 1594 1826 msgstr "" 1595 1827 1596 #: includes/loan-calculator-misc-functions.php:26 41828 #: includes/loan-calculator-misc-functions.php:265 1597 1829 msgid "Uruguayan peso" 1598 1830 msgstr "" 1599 1831 1600 #: includes/loan-calculator-misc-functions.php:26 51832 #: includes/loan-calculator-misc-functions.php:266 1601 1833 msgid "Uzbekistani som" 1602 1834 msgstr "" 1603 1835 1836 #: includes/loan-calculator-misc-functions.php:270 1837 msgid "Vanuatu vatu" 1838 msgstr "" 1839 1840 #: includes/loan-calculator-misc-functions.php:267 1841 msgid "Venezuelan bolívar" 1842 msgstr "" 1843 1844 #: loan-calculator-wp.php:143 1845 msgid "Video" 1846 msgstr "" 1847 1848 #: includes/admin/forms/ww-loan-calculator-setting.php:1176 1849 msgid "Video Tab Tooltip" 1850 msgstr "" 1851 1604 1852 #: includes/loan-calculator-misc-functions.php:269 1605 msgid "Vanuatu vatu"1606 msgstr ""1607 1608 #: includes/loan-calculator-misc-functions.php:2661609 msgid "Venezuelan bolívar"1610 msgstr ""1611 1612 #: loan-calculator-wp.php:1461613 msgid "Video"1614 msgstr ""1615 1616 #: includes/admin/forms/ww-loan-calculator-setting.php:10221617 msgid "Video Tab Tooltip"1618 msgstr ""1619 1620 #: includes/loan-calculator-misc-functions.php:2681621 1853 msgid "Vietnamese đồng" 1622 1854 msgstr "" 1623 1855 1624 1856 #: includes/loan-calculator-misc-functions.php:46 1625 #: includes/admin/forms/ww-loan-calculator-setting.php: 3711857 #: includes/admin/forms/ww-loan-calculator-setting.php:412 1626 1858 msgid "Weekly" 1627 1859 msgstr "" … … 1631 1863 msgstr "" 1632 1864 1633 #: includes/loan-calculator-misc-functions.php:27 31865 #: includes/loan-calculator-misc-functions.php:274 1634 1866 msgid "West African CFA franc" 1635 1867 msgstr "" 1636 1868 1637 #: includes/admin/forms/ww-loan-calculator-setting.php: 6611869 #: includes/admin/forms/ww-loan-calculator-setting.php:798 1638 1870 msgid "With % Amount" 1639 1871 msgstr "" … … 1643 1875 msgstr "" 1644 1876 1645 #: includes/class-ww-loan-calculator-public.php:1 001877 #: includes/class-ww-loan-calculator-public.php:123 1646 1878 msgid "Year(s)" 1647 1879 msgstr "" 1648 1880 1649 1881 #: includes/loan-calculator-misc-functions.php:45 1650 #: includes/admin/forms/ww-loan-calculator-setting.php: 3691882 #: includes/admin/forms/ww-loan-calculator-setting.php:410 1651 1883 msgid "Yearly" 1652 1884 msgstr "" … … 1656 1888 msgstr "" 1657 1889 1658 #: loan-calculator-wp.php:13 81890 #: loan-calculator-wp.php:135 1659 1891 msgid "years" 1660 1892 msgstr "" 1661 1893 1662 #: includes/loan-calculator-misc-functions.php:27 51894 #: includes/loan-calculator-misc-functions.php:276 1663 1895 msgid "Yemeni rial" 1664 1896 msgstr "" 1665 1897 1666 #: includes/admin/class-loan-calculator-admin.php: 811667 #: includes/admin/class-loan-calculator-admin.php: 951898 #: includes/admin/class-loan-calculator-admin.php:75 1899 #: includes/admin/class-loan-calculator-admin.php:89 1668 1900 msgid "Yes, I'd love to!" 1669 1901 msgstr "" 1670 1902 1671 #: includes/admin/class-loan-calculator-admin.php:7 81672 #: includes/admin/class-loan-calculator-admin.php: 921903 #: includes/admin/class-loan-calculator-admin.php:72 1904 #: includes/admin/class-loan-calculator-admin.php:86 1673 1905 msgid "" 1674 1906 "You have been using Loan Calculator Plugin for a while Would you like to " … … 1676 1908 msgstr "" 1677 1909 1678 #: includes/admin/forms/ww-loan-calculator-setting.php:1 0301910 #: includes/admin/forms/ww-loan-calculator-setting.php:1184 1679 1911 msgid "Youtube Video Link" 1680 1912 msgstr "" 1681 1913 1682 #: includes/loan-calculator-misc-functions.php:27 71914 #: includes/loan-calculator-misc-functions.php:278 1683 1915 msgid "Zambian kwacha" 1684 1916 msgstr "" 1685 1917 1686 #: loan-calculator-wp.php:13 61918 #: loan-calculator-wp.php:133 1687 1919 msgid "{frequency} Payment" 1688 1920 msgstr "" -
loan-calculator-wp/trunk/loan-calculator-wp.php
r3196117 r3209029 4 4 * Plugin URI: https://www.worldwebtechnology.com/ 5 5 * Description: Advanced Loan Calculator for Home Loans, Personal Loans, and various other types of loans. Includes features like a repayment chart, amortization table, video tab, balloon payment option, and supports all currencies. Use the contact form shortcode for easy access. 6 * Version: 1.5. 46 * Version: 1.5.5 7 7 * Author: World Web Technology 8 8 * Author URI: https://www.worldwebtechnology.com/ … … 27 27 */ 28 28 if (!defined('WW_LOAN_CALCULATOR_VERSION')) { 29 define('WW_LOAN_CALCULATOR_VERSION', '1.5. 4'); //version of plugin29 define('WW_LOAN_CALCULATOR_VERSION', '1.5.5'); //version of plugin 30 30 } 31 31 if (!defined('WW_LOAN_CALCULATOR_TEXT_DOMAIN')) { //check if variable is not defined previous then define it … … 96 96 function ww_loan_calculator_register_activation() 97 97 { 98 99 //$plugin_data = get_plugin_data( __FILE__ ); 100 //$loan_calculator_db_version = $plugin_data['Version']; 101 98 102 99 $loan_calculator_db_version = get_option( 'loan_calculator_db_version' ); 103 100 … … 163 160 $loan_calculator_default_options['calculator_heading'] = esc_html__('Feel free to use our Equipment Finance Calculator', 'loan-calculator-wp'); 164 161 $loan_calculator_default_options['calculator_popup_content'] = '<h1>Calculator Information</h1> 165 The Equipment Finance Calculator calculates the type of repayment required, at the frequency requested, in respect of the loan parameters entered, namely amount, term and interest rate. The Product selected determines the default interest rate for personal loan product.166 167 The Equipment Finance Calculator also calculates the time saved to pay off the loan and the amount of interest saved based on an additional input from the customer. This is if repayments are increased by the entered amount of extra contribution per repayment period. This feature is only enabled for the products that support an extra repayment.168 169 The calculations are done at the repayment frequency entered, in respect of the original loan parameters entered, namely amount, annual interest rate and term in years.170 <h1>Calculator Assumptions</h1>171 <h3>Length of Month</h3>172 All months are assumed to be of equal length. In reality, many loans accrue on a daily basis leading to a varying number of days interest dependent on the number of days in the particular month.173 <h3>Number of Weeks or Fortnights in a Year</h3>174 One year is assumed to contain exactly 52 weeks or 26 fortnights. This implicitly assumes that a year has 364 days rather than the actual 365 or 366.175 <h3>Rounding of Amount of Each Repayment</h3>176 In practice, repayments are rounded to at least the nearer cent. However the calculator uses the unrounded repayment to derive the amount of interest payable at points along the graph and in total over the full term of the loan. This assumption allows for a smooth graph and equal repayment amounts. Note that the final repayment after the increase in repayment amount.177 <h3>Rounding of Time Saved</h3>178 The time saved is presented as a number of years and months, fortnights or weeks, based on the repayment frequency selected. It assumes the potential partial last repayment when calculating the savings.179 <h3>Amount of Interest Saved</h3>180 This amount can only be approximated from the amount of time saved and based on the original loan details.181 <h3>Calculator Disclaimer</h3>182 The results from this calculator should be used as an indication only. Results do not represent either quotes or pre-qualifications for the product. Individual institutions apply different formulas. Information such as interest rates quoted and default figures used in the assumptions are subject to change.';162 The Equipment Finance Calculator calculates the type of repayment required, at the frequency requested, in respect of the loan parameters entered, namely amount, term and interest rate. The Product selected determines the default interest rate for personal loan product. 163 164 The Equipment Finance Calculator also calculates the time saved to pay off the loan and the amount of interest saved based on an additional input from the customer. This is if repayments are increased by the entered amount of extra contribution per repayment period. This feature is only enabled for the products that support an extra repayment. 165 166 The calculations are done at the repayment frequency entered, in respect of the original loan parameters entered, namely amount, annual interest rate and term in years. 167 <h1>Calculator Assumptions</h1> 168 <h3>Length of Month</h3> 169 All months are assumed to be of equal length. In reality, many loans accrue on a daily basis leading to a varying number of days interest dependent on the number of days in the particular month. 170 <h3>Number of Weeks or Fortnights in a Year</h3> 171 One year is assumed to contain exactly 52 weeks or 26 fortnights. This implicitly assumes that a year has 364 days rather than the actual 365 or 366. 172 <h3>Rounding of Amount of Each Repayment</h3> 173 In practice, repayments are rounded to at least the nearer cent. However the calculator uses the unrounded repayment to derive the amount of interest payable at points along the graph and in total over the full term of the loan. This assumption allows for a smooth graph and equal repayment amounts. Note that the final repayment after the increase in repayment amount. 174 <h3>Rounding of Time Saved</h3> 175 The time saved is presented as a number of years and months, fortnights or weeks, based on the repayment frequency selected. It assumes the potential partial last repayment when calculating the savings. 176 <h3>Amount of Interest Saved</h3> 177 This amount can only be approximated from the amount of time saved and based on the original loan details. 178 <h3>Calculator Disclaimer</h3> 179 The results from this calculator should be used as an indication only. Results do not represent either quotes or pre-qualifications for the product. Individual institutions apply different formulas. Information such as interest rates quoted and default figures used in the assumptions are subject to change.'; 183 180 $loan_calculator_default_options['calculation_fee_setting_enable'] = '0'; 184 181 $loan_calculator_default_options['delete_data_enable'] = '0'; … … 200 197 201 198 if( $loan_calculator_db_version == '1.0.1' ) { 202 199 203 200 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 204 201 … … 212 209 213 210 $loan_calculator_db_version = get_option( 'loan_calculator_db_version' ); 214 215 211 212 216 213 if( $loan_calculator_db_version == '1.0.2' || $loan_calculator_db_version == '1.3.9') { 217 214 … … 234 231 235 232 $loan_calculator_db_version = get_option( 'loan_calculator_db_version' ); 236 233 234 235 if( $loan_calculator_db_version == '1.0.3') { 236 237 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 238 239 240 $loan_calculator_default_options['extra_payment_option'] = ''; 237 241 238 if( $loan_calculator_db_version == '1.0.3') { 239 240 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 241 242 243 $loan_calculator_default_options['extra_payment_option'] = ''; 244 245 $loan_calculator_default_options['extra_payment_tooltip'] = esc_html__('If applicable, enter the extra payment, which will be deducted from loan amount', 'loan-calculator-wp'); 246 247 $loan_calculator_default_options['extra_payment_heading'] = esc_html__('Extra Payment Amount', 'loan-calculator-wp'); 248 249 update_option('ww_loan_option', $loan_calculator_default_options); 250 251 update_option( 'loan_calculator_db_version', '1.0.4' ); 252 253 } 254 255 256 if( $loan_calculator_db_version == '1.0.4') { 257 258 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 259 260 $loan_calculator_default_options['extra_payment_save_time_label'] = esc_html__('Time Saved From Extra Payments', 'loan-calculator-wp'); 261 262 263 update_option('ww_loan_option', $loan_calculator_default_options); 264 265 update_option( 'loan_calculator_db_version', '1.0.5' ); 266 267 } 268 269 270 if( $loan_calculator_db_version == '1.0.5') { 271 272 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 273 274 $loan_calculator_default_options['extra_payment_total_label'] = esc_html__('Total Extra Payments', 'loan-calculator-wp'); 275 276 $loan_calculator_default_options['hide_total_extra_payments'] = ''; 277 $loan_calculator_default_options['hide_save_time_extra_payments'] = ''; 278 279 $loan_calculator_default_options['extra_payment_save_interest_label'] = esc_html__('Interest Saved From Extra Payments', 'loan-calculator-wp'); 280 281 $loan_calculator_default_options['hide_save_interest_extra_payments'] = ''; 282 283 284 $loan_calculator_default_options['interest_rates_adj_disable'] = ''; 285 286 update_option('ww_loan_option', $loan_calculator_default_options); 287 288 update_option( 'loan_calculator_db_version', '1.0.6' ); 289 290 } 291 292 293 $plugin_activate_time = strtotime("now"); 294 update_option('plugin_activation_time', $plugin_activate_time); 295 update_option('lc_avoid_notice', 0); 296 update_option('lc_rating_notice', 0); 297 update_option('last_notice_timestamp', 0); 242 $loan_calculator_default_options['extra_payment_tooltip'] = esc_html__('If applicable, enter the extra payment, which will be deducted from loan amount', 'loan-calculator-wp'); 243 244 $loan_calculator_default_options['extra_payment_heading'] = esc_html__('Extra Payment Amount', 'loan-calculator-wp'); 245 246 update_option('ww_loan_option', $loan_calculator_default_options); 247 248 update_option( 'loan_calculator_db_version', '1.0.4' ); 249 250 } 251 252 253 if( $loan_calculator_db_version == '1.0.4') { 254 255 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 256 257 $loan_calculator_default_options['extra_payment_save_time_label'] = esc_html__('Time Saved From Extra Payments', 'loan-calculator-wp'); 258 259 260 update_option('ww_loan_option', $loan_calculator_default_options); 261 262 update_option( 'loan_calculator_db_version', '1.0.5' ); 263 264 } 265 266 267 if( $loan_calculator_db_version == '1.0.5') { 268 269 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 270 271 $loan_calculator_default_options['extra_payment_total_label'] = esc_html__('Total Extra Payments', 'loan-calculator-wp'); 272 273 $loan_calculator_default_options['hide_total_extra_payments'] = ''; 274 $loan_calculator_default_options['hide_save_time_extra_payments'] = ''; 275 276 $loan_calculator_default_options['extra_payment_save_interest_label'] = esc_html__('Interest Saved From Extra Payments', 'loan-calculator-wp'); 277 278 $loan_calculator_default_options['hide_save_interest_extra_payments'] = ''; 279 280 281 $loan_calculator_default_options['interest_rates_adj_disable'] = ''; 282 283 update_option('ww_loan_option', $loan_calculator_default_options); 284 285 update_option( 'loan_calculator_db_version', '1.0.6' ); 286 287 } 288 289 if($loan_calculator_db_version == '1.0.6'){ 290 291 $loan_calculator_default_options = get_option( 'ww_loan_option' ); 292 $loan_calculator_default_options['balance_border_color_graph'] = '#b8204c'; 293 $loan_calculator_default_options['balance_point_background_color_graph'] = '#b8204c'; 294 $loan_calculator_default_options['extra_payment_graph_color'] = '#00636b'; 295 296 297 $loan_calculator_default_options['summary_chart_option'] = ''; 298 299 $loan_calculator_default_options['summary_chart_label'] = esc_html__('Break-up of Total Payment', 'loan-calculator-wp'); 300 301 $loan_calculator_default_options['summary_chart_principal_fill_color'] = '#ed8c2b'; 302 $loan_calculator_default_options['summary_chart_interest_fill_color'] = '#88a825'; 303 $loan_calculator_default_options['summary_chart_ballon_payment_fill_color'] = '#25649f'; 304 $loan_calculator_default_options['summary_chart_down_payment_fill_color'] = '#b8204c'; 305 $loan_calculator_default_options['summary_chart_extra_payment_fill_color'] = '#cf4a30'; 306 307 308 $loan_calculator_default_options['down_payment_label'] = esc_html__('Down Payment', 'loan-calculator-wp'); 309 $loan_calculator_default_options['down_payment_max_per'] = 100; 310 311 update_option('ww_loan_option', $loan_calculator_default_options); 312 update_option( 'loan_calculator_db_version', '1.0.7' ); 313 314 } 315 316 317 $plugin_activate_time = strtotime("now"); 318 update_option('plugin_activation_time', $plugin_activate_time); 319 update_option('lc_avoid_notice', 0); 320 update_option('lc_rating_notice', 0); 321 update_option('last_notice_timestamp', 0); 298 322 } 299 323 … … 346 370 347 371 ww_loan_calculator_register_activation(); 348 372 349 373 } 350 374 add_action( 'plugins_loaded', 'ww_loan_upgrade_completed'); -
loan-calculator-wp/trunk/readme.txt
r3198752 r3209029 10 10 Requires PHP: 7.4 11 11 Tested up to: 6.6 12 Stable tag: 1.5. 412 Stable tag: 1.5.5 13 13 License: GPLv2 or later 14 14 License URI: https://www.gnu.org/licenses/gpl-2.0.html 15 Version: 1.5. 415 Version: 1.5.5 16 16 17 17 Loan / EMI Calculator for Home Loan and Personal Loan … … 49 49 - Down Payment Option (Fixed Amount & With % Amount) 50 50 - Extra Payment Option (pre payment) 51 - Break-up of Total Payment (Chart) 52 - Stacked bar Chart Option 51 53 52 54 **Best Used For** … … 121 123 == Changelog == 122 124 125 = 1.5.5 (Dec 17, 2024) = 126 * Break-up of Total Payment (Chart). 127 * Stacked bar Chart Option. 128 * jQuery Validation for the Backend Settings Fields. 129 * Label Option for the Down Payment Field. 130 * Maximum limit Option for the Down Payment. 131 123 132 = 1.5.4 (Nov 25, 2024) = 124 133 * Corrected a typo in the label.
Note: See TracChangeset
for help on using the changeset viewer.