Plugin Directory

Changeset 3209029


Ignore:
Timestamp:
12/17/2024 10:15:20 AM (15 months ago)
Author:
worldweb
Message:

1.5.5 (Dec 17, 2024)

  • Break-up of Total Payment (Chart).
  • Stacked bar Chart Option.
  • jQuery Validation for the Backend Settings Fields.
  • Label Option for the Down Payment Field.
  • Maximum limit Option for the Down Payment.
Location:
loan-calculator-wp
Files:
74 added
15 edited

Legend:

Unmodified
Added
Removed
  • loan-calculator-wp/trunk/includes/admin/class-loan-calculator-admin.php

    r3171465 r3209029  
    1111if (!class_exists('WW_Loan_Calculator_Admin_Pages')) {
    1212
    13     class WW_Loan_Calculator_Admin_Pages
    14     {
     13    class WW_Loan_Calculator_Admin_Pages {
    1514
    16         public function __construct()
    17         {
     15        public function __construct() {
    1816            // Construct properties
    1917        }
     
    2725         * @since 1.0.0
    2826         */
    29         public function ww_loan_calculator_admin_menu()
    30         {
     27        public function ww_loan_calculator_admin_menu() {
    3128            // Loan Calculator Menu
    3229            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');
     
    4340         * @since 1.0.0
    4441         */
    45         public function ww_loan_calculator_page()
    46         {
     42        public function ww_loan_calculator_page() {
    4743            // Include Loan Calculator Setting page
    4844            include_once(WW_LOAN_CALCULATOR_ADMIN . '/forms/ww-loan-calculator-setting.php');
    4945        }
    5046
    51         function loan_calculator_settings()
    52         {
     47        public function loan_calculator_settings() {
    5348
    5449            // Register Loan Calculator Setting
     
    5954        }
    6055
    61         function loan_calculator_wp_admin_notice()
    62         {
     56        public function loan_calculator_wp_admin_notice() {
    6357            if (is_plugin_active('loan-calculator-wp/loan-calculator-wp.php')) {
    6458                if (is_admin()) {
     
    7266                        if (get_option('plugin_activation_time')) {
    7367                            if ($display_notice_yes == 0 && $avoid_notice == 0) {
    74 ?>
     68                                ?>
    7569
    7670                                <div class="admin_notice_hide notice notice-info is-dismissible">
     
    8478                                </div>
    8579
    86                             <?php
     80                                <?php
    8781                            } else if ($last_notice_timestamp >= $future_popup_date && $avoid_notice == 1) {
    88                             ?>
     82                                ?>
    8983
    9084                                <div class="admin_notice_hide notice notice-info is-dismissible">
     
    9892                                </div>
    9993
    100 <?php
     94                                <?php
    10195                            }
    10296                        }
     
    106100        }
    107101
    108         function update_user_choice_weekly()
    109         {
     102        public function update_user_choice_weekly() {
    110103            /* it's an Ajax call */
    111104            if (defined('DOING_AJAX') && DOING_AJAX) {
     
    126119        }
    127120
    128         function update_display_notice_option()
    129         {
     121        public function update_display_notice_option() {
    130122            /* it's an Ajax call */
    131123            if (defined('DOING_AJAX') && DOING_AJAX) {
     
    147139         * @since 1.0.0
    148140         */
    149         function add_hooks()
    150         {
     141        public function add_hooks() {
    151142            add_action('admin_menu', array($this, 'ww_loan_calculator_admin_menu'));
    152143            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  
    11<?php
    22    // Exit if accessed directly
    3 if (!defined('ABSPATH')) exit;
     3if (!defined('ABSPATH')) exit; 
    44
    55    /**
     
    175175
    176176
     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
    177184    /* down payment options */
    178185
     
    228235
    229236    $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'] : "";
    230265
    231266
     
    242277                --calc-graph-border-color: <?php echo esc_attr($graph_border_color); ?>;
    243278                --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
    244288            }
    245289        </style>
     
    269313                <?php
    270314                    // 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);*/
    273317                ?>
    274318                <div class="calculator-content"><?php echo wp_kses_post($calculator_popup_content); ?></div>
     
    291335                        <div class="first-row-sub-child">
    292336
    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>
    294338                            <div class="loan-text-dis loan-amount">
    295339                                <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span>
     
    417461
    418462                                    <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>
    420464                                        <div class="loan-text-dis">
    421465                                            <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span>
     
    433477
    434478                                    <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>
    436480                                        <div class="loan-text-dis">
    437481                                            <span class="extra-info"><?php echo esc_attr($currency_symbols); ?></span>
     
    515559                                <?php  //} ?>
    516560                                <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>
    518566                                </div>
    519567                                <div id="tab-content2" class="tab-content">
     
    547595                    </div>
    548596                </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">
    550599                    <div class="loan-detail-cal-desc">
    551600                        <div class="loan-cal-desc">
     
    570619                        </div>
    571620                    <?php } ?>
     621                    <span id="total_interests_amt_hidden"></span>
    572622                    <div class="loan-cal-desc" id="ballon_amt_section">
    573623                        <div class="loan-cal-desc-heading">
     
    634684
    635685            </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>
    636696            <?php
    637697            $total_regular_fees_amt = round(floatval(ceil($loan_term) * 120), 2);
     
    700760<?php if ($disable_calculator_disclaimer_section == "") { ?>
    701761    <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>
    704764    </div>
    705765<?php } ?>
  • loan-calculator-wp/trunk/includes/admin/forms/theme-templates/new-theme/css/style.css

    r3171465 r3209029  
    995995    position: absolute;
    996996    left: 0;
    997     top: -52px;
     997    top: -40px;
    998998    background: #737373;
    999999    padding: 5px 10px;
     
    10191019label[for="tab2"]
    10201020.tooltip-disp {
    1021     left: 53px;
     1021    left: 133px;
    10221022}
    10231023.loan-option-text-info
     
    10291029.tooltip-disp {
    10301030/* left: 104px; */
    1031 left: 74px;
     1031/*left: 74px;*/
    10321032}
    10331033.loan-option-text-info
     
    15351535canvas#loan-process-graph {
    15361536/* 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);
     1538height: 465px !important;*/
    15391539/* width: 684px !important; */
    1540 width: 100% !important;
     1540/*width: 100% !important;*/
    15411541}
    15421542.new-theme-template-section section.loan-option-text-info {
     
    15451545    border-radius: 0px 0px 30px 30px;
    15461546}
    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;
    15521552}
    15531553.col-columns-20 .loan-right-input,
     
    20232023section.calculator-heading-section.calculator-heading-block,
    20242024section.loan-option-text-info.main-container-new-theme {
    2025     margin: 0 32px;
     2025    /*margin: 0 32px;*/
    20262026}
    20272027label.tab3_icon {
     
    20292029}
    20302030.loan-detail-section-right-content .loan-detail-section-child .tabs img {
    2031     width: 45px;
     2031    width: 35px;
    20322032    font-size: 18px;
    20332033}
     
    21412141}
    21422142.custom-container.loan-option-text-info-section-left-content {
    2143     margin-top: 20px;
     2143    /*margin-top: 20px;*/
    21442144}
    21452145.loan-detail-fee-desc {
     
    23222322#loan-process-tbl {
    23232323    white-space: nowrap;
     2324    width: 100%;
     2325}
     2326
     2327/* new bar chart css */
     2328
     2329span.balance-legend-icon {
     2330    position: relative;   
     2331}
     2332
     2333span.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
     2335span.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
     2337body.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
     2339body.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;
    23242462}
    23252463
     
    23312469        size: 297mm 420mm;
    23322470    }
    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   
    23702498}
    23712499@media screen and (max-width: 1740px) {
     
    23872515    canvas#loan-process-graph {
    23882516/* width: 480px !important; */
    2389 width: 100% !important;
     2517/*width: 100% !important;*/
    23902518}
    23912519.input-container span.percentage_annum {
     
    24192547font-weight: 700;
    24202548line-height: normal;
    2421 font-size: 18px;
     2549font-size: 16px;
    24222550}
    24232551.loan-option-text-info
     
    25432671    }
    25442672    canvas#loan-process-graph {
    2545         display: block;
     2673        /*display: block;
    25462674        box-sizing: border-box;
    25472675        height: 450px;
    2548         width: 409.5px;
     2676        width: 409.5px;*/
    25492677    }
    25502678    .col-columns-20 .loan-right-input,
     
    26042732    }
    26052733    .new-theme-template-section select#payment_type {
    2606         width: 170px;
     2734        /*width: 170px;
    26072735        height: 50px;
    2608         font-size: 20px;
     2736        font-size: 20px;*/
    26092737    }
    26102738    .dollar-sign {
     
    28222950    }
    28232951    .new-theme-template-section select#payment_type {
    2824         width: 136px;
     2952       /* width: 136px;
    28252953        height: 40px;
    2826         font-size: 14px;
     2954        font-size: 14px;*/
    28272955    }
    28282956/* .loan-text-dis-new-theme-block,
     
    28682996}
    28692997.second-row-sub-child {
    2870     margin-bottom: 60px;
     2998    /*margin-bottom: 60px;*/
    28712999}
    28723000.contact-us-section button.contact-book-btn-2 {
     
    29603088    .loan-detail-section-child-container {
    29613089        width: 100%;
    2962         padding: 15px 15px 0;
     3090        /*padding: 15px 15px 0;*/
    29633091        background: white;
    29643092        padding-top: 0;
     
    30033131    .new-theme-template-section section.loan-option-text-info {
    30043132        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;*/
    30073135        flex-direction: column;
    30083136    }
     
    32823410        font-size: 16px !important;
    32833411    }
     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    }
    32843423
    32853424}
     
    33343473    }
    33353474    canvas#loan-process-graph {
    3336         display: block;
     3475        /*display: block;
    33373476        box-sizing: border-box;
    3338         height: 430px !important;
     3477        height: 430px !important;*/
    33393478    }
    33403479    .loan-option-text-info
     
    33753514    .loan-detail-fee-heading {
    33763515        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;
    33773531    }
    33783532}
     
    33933547@media (max-width: 470px) {
    33943548    canvas#loan-process-graph {
    3395         width: 100% !important;
     3549        /*width: 100% !important;*/
    33963550    }
    33973551}
     
    34293583    }
    34303584    canvas#loan-process-graph {
    3431         width: 100% !important;
     3585        /*width: 100% !important;*/
    34323586    }
    34333587    .loan-cal-desc {
     
    34723626    }
    34733627    canvas#loan-process-graph {
    3474         height: auto !important;
     3628        /*height: auto !important;*/
    34753629    }
    34763630    label.tab1_icon {
     
    34883642        width: 100% !important;
    34893643    }
    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  
    175175$down_payment_heading = isset($loan_all_setting_data['down_payment_heading']) ? $loan_all_setting_data['down_payment_heading'] : "";
    176176
     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
    177185/* down payment options */
    178186
     
    226234
    227235$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'] : "";
    228260
    229261
     
    241273            --calc-graph-border-color: <?php echo esc_html($graph_border_color); ?>;
    242274            --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); ?>;     
    243283        }
    244284    </style>
     
    269309            <?php
    270310                // 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); */
    273313            ?>
    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>
    275315        </div>
    276316    </div>
     
    287327    </section>
    288328
    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 } ?>">
    290330        <div class="custom-container loan-option-text-info-section-left-content">
    291331            <div class="custom-container loan-option-text-info-section">
     
    462502                                <div class="loan-text-dis-new-theme-block dp-perc-mode">
    463503                                    <div class="loan-new-theme-inner-block">
    464                                         <label for="down_payment" class="loan-text"><?php esc_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>
    465505
    466506                                        <div class="loan-new-theme-range-slider">
     
    483523                                <div class="loan-text-dis-new-theme-block dp-fixed-mode">
    484524                                    <div class="loan-new-theme-inner-block">
    485                                         <label for="down_payment" class="loan-text"><?php esc_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>
    486526                                    </div>
    487527                                    <div class="col-columns-20">
     
    669709                           
    670710                            <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>
    672716                            </div>
    673717                            <div id="tab-content2" class="tab-content">
     
    695739                                </table>
    696740                            </div>
    697                         </div>
     741                        </div>                         
    698742                    </div>
    699743                </div>
     
    751795
    752796            <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">
    754798                    <div class="loan-detail-cal-desc">
    755799                        <div class="loan-cal-desc">
     
    772816                            </div>
    773817                        <?php } ?>
     818                        <span id="total_interests_amt_hidden"></span>
    774819                        <div class="loan-cal-desc" id="ballon_amt_section">
    775820                            <div class="loan-cal-desc-heading">
     
    834879                            <?php } ?>
    835880                        </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>                     
    837892                </div>
    838893                <?php
     
    841896                ?>
    842897                <?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">
    844899                        <div class="loan-detail-fee-desc">
    845900                            <div class="loan-detail-fee-block">
  • loan-calculator-wp/trunk/includes/admin/forms/ww-loan-calculator-setting.php

    r3196117 r3209029  
    149149$down_payment_tooltip = isset($loan_all_setting_data['down_payment_tooltip']) ? $loan_all_setting_data['down_payment_tooltip'] : "";
    150150
     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
    151159/* down payment option */
    152160
     
    194202
    195203$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
     220if($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
    196237
    197238
     
    232273    <!-- END : Loan Calculator Setting Tab -->
    233274    <!-- 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">
    235276        <?php
    236277        settings_fields('ww_loan_calculaor_option');
     
    306347                            'tinymce' => true,
    307348                            'media_buttons' => false,
    308                             'wpautop' => true,
     349                            'wpautop' => false,
    309350                        );
    310351                        wp_editor($calculator_popup_content, 'ww_loan_option_calculator_popup_content', $settings);
     
    494535                    </td>
    495536                </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 -->
    496564                <input type="hidden" name="ww_loan_option[select_theme]" value="default_theme" />
    497565                <tr id="select_theme">
     
    506574                    </td>
    507575                </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
    508644            </tbody>
    509645        </table>
     
    514650                        <h2><?php esc_html_e('Default Value for Amount Text Field', 'loan-calculator-wp'); ?></h2>
    515651                        <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'); ?>
    517654                        </span>
    518655                    </td>
     
    520657                <tr>
    521658                    <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" >
    526663                    </td>
    527664                </tr>
    528665                <tr id="loan-amount">
    529666                    <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" required onkeydown="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')">
    534671                    </td>
    535672                </tr>
    536673                <tr id="loan-amount-min">
    537674                    <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" required onkeydown="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')">
    542679                    </td>
    543680                </tr>
    544681                <tr id="loan-amount-max">
    545682                    <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" required onkeydown="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')">
    550687                    </td>
    551688                </tr>
     
    632769                    </th>
    633770                    <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 0 to 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">
    638775                    <th scope="row">
    639776                        <label for="balloon_amount_tooltip"><strong><?php esc_html_e('Balloon Amount Tooltip', 'loan-calculator-wp'); ?></strong></label>
     
    664801                    </td>
    665802                </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>
    666813                <tr class="down-payment-fields-row" <?php echo esc_attr($down_payment_fields_display_style); ?>>
    667814                    <th scope="row">
     
    671818                        <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>
    672819                    </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>                 
    675829                <tr>
    676830                    <th scope="row">
     
    688842                    </th>
    689843                    <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>
    691845                        <br><br>                       
    692846                        <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>
     
    703857                <tr>
    704858                    <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" required onkeydown="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" required onkeydown="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" required onkeydown="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')">
    725879                    </td>
    726880                </tr>
     
    10481202                <tr id="disable_contactus_section_row">
    10491203                    <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>
    10541208                    </td>
    10551209                </tr>
     
    11131267                <tr id="disable_calculator_disclaimer_section_row">
    11141268                    <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>
    11191273                    </td>
    11201274                </tr>
     
    11381292                            'tinymce' => true,
    11391293                            'media_buttons' => false,
    1140                             'wpautop' => true,
     1294                            'wpautop' => false,
    11411295                        );
    11421296                        wp_editor($calculator_disclaimer_description, 'calculator_disclaimer_description', $settings);
  • loan-calculator-wp/trunk/includes/class-ww-loan-calculator-public.php

    r3162164 r3209029  
    6464            $down_payment_mode = isset($loan_all_setting_data['down_payment_mode']) ? $loan_all_setting_data['down_payment_mode'] : "fixed";
    6565
     66             $down_payment_max_per = isset($loan_all_setting_data['down_payment_max_per']) ? $loan_all_setting_data['down_payment_max_per'] : "100";           
     67
    6668
    6769            $extra_payment_option = isset($loan_all_setting_data['extra_payment_option']) ? $loan_all_setting_data['extra_payment_option'] : "";
     
    7476            $hide_save_time_extra_payments = isset($loan_all_setting_data['hide_save_time_extra_payments']) ? $loan_all_setting_data['hide_save_time_extra_payments'] : "";
    7577
    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'] : "";
    7879
    7980            $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'] : "";
    80103
    81104
     
    122145                'interest_rates_adj_disable' => $interest_rates_adj_disable,
    123146                '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
    125162            );
    126163
     
    128165
    129166            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');
    130169            wp_enqueue_script('loan-calculator-frequency-payment');
    131170            wp_enqueue_script('loan-calculator-print-script');
  • loan-calculator-wp/trunk/includes/class-ww-loan-calculator-scripts.php

    r3171465 r3209029  
    2525        {
    2626
     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
    2735            // Add JS
    2836            wp_enqueue_script(
    2937                'loan-calculator-admin-script',
    3038                WW_LOAN_CALCULATOR_URL . 'includes/js/admin-script.js',
    31                 array('jquery', 'wp-color-picker'),
     39                array('jquery', 'wp-color-picker', 'jquery-validate'),
    3240                WW_LOAN_CALCULATOR_VERSION,
    3341                true
     
    4553            wp_enqueue_style('fstdropdown.min_select', WW_LOAN_CALCULATOR_URL . 'includes/css/fstdropdown.min.css', array(), WW_LOAN_CALCULATOR_VERSION);
    4654
     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
    4757            $admin_setting_data = array(
    4858                "ajaxurl" => admin_url('admin-ajax.php'),
    4959                "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')
    5095            );
    5196
     
    84129            wp_register_script('loan-calculator-frontend-script', WW_LOAN_CALCULATOR_URL . 'includes/js/frontend-script.js', array('jquery'), WW_LOAN_CALCULATOR_VERSION, true);
    85130            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
    86134
    87135            $active_theme = wp_get_theme();
  • loan-calculator-wp/trunk/includes/css/frontend-style.css

    r3185548 r3209029  
    723723.loan-detail-section-child:last-child {
    724724    width: 100%;
    725     padding-top: 15px;
     725    padding-top: 15px;   
    726726/*    padding-left: 17px;*/
    727727}
     
    23462346
    23472347.loan-number-payment-with-label label#label-for-freuency {
    2348     bottom: -20px;
     2348    bottom: -17px;
    23492349}
    23502350
     
    26542654    white-space: nowrap;
    26552655}
     2656
     2657/* new bar chart css */
     2658
     2659span.balance-legend-icon {
     2660    position: relative;   
     2661}
     2662
     2663span.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
     2665span.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
     2667body.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
     2669body.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
    26562788/****************************************************/
    26572789/**************** START Media Screen ****************/
     
    26642796    }
    26652797
    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;
    28522808        left: 0;
    28532809        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 {
    28542817        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{
    29102826        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
    29152834}
    29162835
     
    29292848    .first-row
    29302849    .first-row-sub-child:last-child {
    2931         width: 100%;
    2932 
    2933         margin: 15px 0;
     2850        /*width: 100%;*/
     2851
     2852        /*margin: 15px 0;*/
    29342853    }
    29352854}
     
    30392958    .first-row
    30402959    .first-row-sub-child {
    3041         width: 50%;
     2960        width: 100%;
    30422961    }
    30432962
     
    30492968        width: 100%;
    30502969
    3051         margin: 15px 0;
     2970        /*margin: 15px 0;*/
    30522971    }
    30532972
     
    33103229        overflow-x: scroll;
    33113230    }
     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    }
    33123239}
    33133240
     
    33233250        flex-wrap: wrap;
    33243251    }
     3252
     3253    .loan-detail-section-child .summary-calculation-and-chart-wrappar {
     3254        flex-direction: column;
     3255    }
     3256
    33253257}
    33263258
     
    33643296        text-wrap: balance;
    33653297    }
    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  
    4848    display: none !important;
    4949}
     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  
    11'use strict';
    22
    3 
    4 
    5 
    6 
    73jQuery(document).ready(function (jQuery) {
    84
    95
    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();
    1511   
    1612    jQuery(document).on('click', '#calculation_fee_setting_enable', function () {
     
    377373
    378374
     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
    379793});
    380794
    381795
    382 
    383 
    384 
    385796function onlyNos(evt, txt_name) {
    386797
    387 
    388 
    389798    var theEvent = evt || window.event;
    390799
     
    395804    key = String.fromCharCode(key);
    396805
    397 
    398 
    399 
    400 
    401806    // Add condition to allow left and right arrow keys
    402807
     
    407812    }
    408813
    409 
    410 
    411814    if ((theEvent.ctrlKey || theEvent.metaKey) && key.toLowerCase() === 'v') {
    412815
     
    415818    }
    416819
    417 
    418 
    419820    if (theEvent.key == "!" || theEvent.key == "@" || theEvent.key == "#" || theEvent.key == "$" || theEvent.key == "&" || theEvent.key == "%" || theEvent.key == "^" || theEvent.key == "*" || theEvent.key == ")" || theEvent.key == "(") {
    420821
     
    423824    }
    424825
    425 
    426 
    427826    if (keyCode == 67 || keyCode == 86 || keyCode == 88 || keyCode == 65 || keyCode==38 || keyCode == 40) {
    428827
     
    431830    }
    432831
    433 
    434 
    435832    var txt_value = jQuery("#" + txt_name).val();
    436833
     
    441838    }
    442839
    443 
    444 
    445840    if (key.length == 0) return;
    446841
  • loan-calculator-wp/trunk/includes/js/frontend-script.js

    r3162164 r3209029  
    1717  /*****************************************************************************************/
    1818 
    19  if (element.classList.contains("new-theme-template-section")) {
     19 if (element != null && element.classList.contains("new-theme-template-section")) {
    2020    //Condition For New theme
    2121    function loan_calculation_process() {
     
    5959      if (setting_data.down_payment_mode == 'percentage') {
    6060
    61         document.getElementById("down_payment_range").max = 80;
     61        document.getElementById("down_payment_range").max = setting_data.down_payment_max_per;
    6262
    6363        var down_payment_range = document.getElementById("down_payment_range");
     
    217217        jQuery("#extra_payment_total_section").hide();
    218218        jQuery("#extra_payment_saved_interest_section").hide();
     219        jQuery("#bottom_total_extra_payment").text('');
    219220      }
    220221
     
    779780
    780781  jQuery("#total_interests_amt").html(addCommas(total_int_amt));
     782  jQuery("#total_interests_amt_hidden").html(addCommas(total_int_amt));
     783
    781784
    782785
     
    787790      addCommas(Math.round(parseFloat(0) - parseFloat(0)))
    788791      );
     792
     793    jQuery("#total_interests_amt_hidden").html(
     794      addCommas(Math.round(parseFloat(0) - parseFloat(0)))
     795      );
     796
     797
    789798  } else {
    790799
     
    808817
    809818    jQuery("#total_interests_amt").html(total_sum_interests);
     819    jQuery("#total_interests_amt_hidden").html(total_sum_interests);
     820
     821
    810822  }
    811823}
     
    12611273
    12621274
    1263 /* extra payment display total interest in summery result */
     1275/* extra payment display total interest in summary result */
    12641276
    12651277if (setting_data.extra_payment_option == '1' && extra_payment > 0) {
     
    12681280
    12691281    jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay));
     1282    jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay));
    12701283
    12711284  }
     
    12731286
    12741287    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)));
    12751289
    12761290  }
     
    13281342}
    13291343
    1330 /* extra payment display total interest in summery result */
     1344/* extra payment display total interest in summary result */
    13311345
    13321346
     
    13401354var balance_arr = [];
    13411355var remainig_interests = [];
     1356var total_monthly_payment = [];
     1357var total_principal_amonut = [];
    13421358var balance = loan_amount;
     1359var interestSum = 0;
     1360var principalSum = 0;
     1361var monthly_paymentSum = 0;
    13431362
    13441363var graph_type = "Years";
     
    14031422}
    14041423
     1424 interestSum += interest;  // Accumulate interest
     1425 principalSum += principal;
     1426 monthly_paymentSum += monthly_payment;
     1427
    14051428if (loan_terms_month > 120) {
    1406   if (p % 12 == 0) {
     1429  if (p % 12 == 0 || p == loan_terms_month) {
    14071430    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));
    14091435      balance_arr.push(parseInt(balance));
     1436      total_monthly_payment.push(parseInt(monthly_paymentSum));
     1437      total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum));
    14101438    } else {
    1411       remainig_interests.push(parseFloat(total_interests.toFixed(2)));
     1439      remainig_interests.push(parseFloat(interestSum.toFixed(2)));
    14121440      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;
    14141447  }
    14151448} else {
    14161449  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    }
    14191458  } 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    }
    14221467  }
    14231468}
     
    14381483var loan_data = [];
    14391484const interests = [];
    1440 const principal_arr = [];
     1485const total_balance_arr = [];
    14411486const xData = [];
    14421487
    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
     1494for (var p = 1; p < remainig_interests.length; p++) {
     1495  total_balance_arr.push(balance_arr[p]);
    14451496  if (setting_data.remove_decimal_point == 1) {
    14461497    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
    14471503  } else {
    14481504    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
    14491511  }
    14501512  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
    14511519}
    14521520
     
    14611529  "--calc-graph-border-color-sub"
    14621530  );
     1531
     1532
     1533/* new stacked bar chart */
     1534if(setting_data.chart_types == 'stacked_bar'){
     1535
     1536var balance_border_color_graph = $("#loan-process-graph").css(
     1537  "--calc-graph-balance-border-color"
     1538  );
     1539var balance_point_background_color_graph = $("#loan-process-graph").css(
     1540  "--calc-graph-balance-point-background-color"
     1541  );
     1542var extra_payment_graph_color = $("#loan-process-graph").css(
     1543  "--calc-graph-extra-payment-graph-color"
     1544  );
     1545
     1546}
    14631547
    14641548const colors = {
     
    14831567};
    14841568
    1485 const data = {
     1569var data = {};
     1570
     1571/* new stacked bar chart */
     1572
     1573if(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 = {
    14861651  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}
    15131688
    15141689Chart.Tooltip.positioners.custom = function (elements, position) {
     
    15281703}
    15291704
    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
     1708if(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}
     1874else{
     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      }
    15381930    },
    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}
    15791934
    15801935/* END : PREPARE CHART JS DATA */
    15811936
    1582   /* extrapayment code to deduct time frequency in summery result */
     1937  /* extrapayment code to deduct time frequency in summary result */
    15831938  if (setting_data.extra_payment_option == '1' && extra_payment > 0) {
    15841939      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 */
    15871959
    15881960
     
    16372009    ).val();
    16382010  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 */
    16412018  var min_nop_value = jQuery("input[name='min_value']").val();
    16422019  var max_nop_value = jQuery("input[name='max_value']").val();
     
    20542431    }
    20552432
    2056     jQuery(".print-table").on('click', function () {
     2433    /*jQuery(".print-table").on('click', function () {
    20572434  // Show the loader and gray-out background
    20582435      jQuery('#overlay').show();
     
    20752452      setTimeout(function() {
    20762453        jQuery('#overlay').hide();
    2077     jQuery("#main-sec").print(/*options*/);
     2454    jQuery("#main-sec").print();
    20782455
    20792456    // Hide the loader and gray-out background after printing
    20802457      }, 50);
     2458    });*/
     2459
     2460    jQuery('.print-table').on('click', function () {
     2461      window.print();
    20812462    });
    20822463
     
    22272608        if (setting_data.remove_decimal_point == 1) {             
    22282609
    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; 
    22302611          down_payment = parseInt(down_payment);
    22312612
     
    22462627        else{
    22472628
    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; 
    22492630          down_payment = parseFloat(down_payment);
    22502631          if(down_payment>eighty_percent_loan_amt){
     
    22792660        jQuery(this).val(parseInt(jQuery(this).val()));         
    22802661
    2281         if(parseInt(jQuery(this).val()) > 80){
     2662        if(parseInt(jQuery(this).val()) > setting_data.down_payment_max_per){
    22822663
    22832664          if (setting_data.remove_decimal_point == 1) {
     
    24522833}   
    24532834
    2454      /* extra payment event code end */
     2835/* extra payment event code end */
    24552836
    24562837loan_calculation_process(); // call function
     
    24852866      if (setting_data.down_payment_mode == 'percentage') {
    24862867
    2487         document.getElementById("down_payment_range").max = 80;
     2868        document.getElementById("down_payment_range").max = setting_data.down_payment_max_per;
    24882869
    24892870        var down_payment_range = document.getElementById("down_payment_range");
     
    26303011        jQuery("#extra_payment_total_section").hide();
    26313012        jQuery("#extra_payment_saved_interest_section").hide();
     3013        jQuery("#bottom_total_extra_payment").text('');
    26323014      }
    26333015
     
    32263608
    32273609  jQuery("#total_interests_amt").html(addCommas(total_int_amt));
     3610  jQuery("#total_interests_amt_hidden").html(addCommas(total_int_amt));
     3611
     3612
    32283613} else {
    32293614  jQuery("#loan_amount_rate").html(interest_rates.toFixed(2));
     
    32553640
    32563641    jQuery("#total_interests_amt").html(addCommas(total_sum_interests));
     3642    jQuery("#total_interests_amt_hidden").html(addCommas(total_sum_interests));
     3643
    32573644  }
    32583645}
     
    37124099/* hide extra payment table column when its 0 */
    37134100
    3714 /* extra payment display total interest in summery result */
     4101/* extra payment display total interest in summary result */
    37154102
    37164103if (setting_data.extra_payment_option == '1' && extra_payment > 0) {
     
    37194106
    37204107    jQuery("#total_interests_amt").html(addCommas(total_interest_for_extra_pay));
     4108    jQuery("#total_interests_amt_hidden").html(addCommas(total_interest_for_extra_pay));
    37214109
    37224110  }
     
    37244112
    37254113    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)));
    37264115
    37274116  }
     
    37804169}
    37814170
    3782 /* extra payment display total interest in summery result */
     4171/* extra payment display total interest in summary result */
    37834172
    37844173
     
    37884177var balance_arr = [];
    37894178var remainig_interests = [];
     4179var total_monthly_payment = [];
     4180var total_principal_amonut = [];
    37904181var balance = loan_amount;
     4182var interestSum = 0;
     4183var principalSum = 0;
     4184var monthly_paymentSum = 0;
    37914185
    37924186var graph_type = "Years";
     
    38534247}
    38544248
     4249 interestSum += interest;  // Accumulate interest
     4250 principalSum += principal;
     4251 monthly_paymentSum += monthly_payment;
     4252
    38554253if (loan_terms_month > 120) {
    3856   if (p % 12 == 0) {
     4254  if (p % 12 == 0 || p == loan_terms_month) {
    38574255    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));
    38594259      balance_arr.push(parseInt(balance));
     4260      total_monthly_payment.push(parseInt(monthly_paymentSum));
     4261      total_principal_amonut.push(parseInt(monthly_paymentSum) - parseInt(interestSum));
    38604262    } else {
    3861       remainig_interests.push(parseFloat(total_interests.toFixed(2)));
     4263      remainig_interests.push(parseFloat(interestSum.toFixed(2)));
    38624264      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;
    38644271  }
    38654272} else {
    38664273  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    }
    38694282  } 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
    38724292  }
    38734293}
     
    38804300 break;
    38814301}
    3882       /* extra payment chart no of payments */
    3883 
     4302      /* extra payment chart no of payments */   
    38844303
    38854304}
     
    38894308var loan_data = [];
    38904309const interests = [];
    3891 const principal_arr = [];
     4310const total_balance_arr = [];
    38924311const xData = [];
    38934312
    3894 for (var p = 0; p < remainig_interests.length; p++) {
    3895   principal_arr.push(balance_arr[p]);
     4313/* new stacked bar chart */
     4314const principal_calc_new_arr = [];
     4315const extra_payment_arr = [];
     4316
     4317
     4318for (var p = 1; p < remainig_interests.length; p++) {
     4319  total_balance_arr.push(balance_arr[p]);
    38964320  if (setting_data.remove_decimal_point == 1) {
    38974321    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
    38984327  } else {
     4328
    38994329    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
    39004335  }
    39014336  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  }
    39024342}
    39034343
     
    39124352  "--calc-graph-border-color-sub"
    39134353  );
     4354
     4355/* new stacked bar chart */
     4356if(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}
    39144367
    39154368const colors = {
     
    39344387};
    39354388
    3936 const data = {
     4389
     4390var data = {};
     4391
     4392/* new stacked bar chart */
     4393if(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 = {
    39374472  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}
    39644509
    39654510Chart.Tooltip.positioners.custom = function (elements, position) {
     
    39814526}
    39824527
    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 */
     4529if(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",
    40074539        },
    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}
     4695else{
     4696var 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: {
    40104704          display: true,
    4011           labelString: "Term (Months)",
     4705          text: "Loan Calculator",
    40124706        },
     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        }
    40134751      },
    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 */
    40364758  if (setting_data.extra_payment_option == '1' && extra_payment > 0) {
    40374759      convert_total_terms_to_year_month(loan_terms_month,repayment_frequency_val);
    40384760  }
     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 */
    40394778
    40404779    // }, 50);
     
    40894828});
    40904829
    4091 jQuery("#loan_terms").on("blur", function () {
     4830jQuery("#loan_terms").on("blur", function () { 
    40924831    /*on filled input check min max values 6-7-2023*/
    40934832  var repayment_freq = jQuery("#repayment_freq option:selected").val();
     
    40974836  var default_nop_value = jQuery("input[name='loan_terms']").val();
    40984837 
     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  }
    40994844    /* nop = number of payments */
    41004845  var min_nop_value = jQuery("input[name='min_value']").val();
     
    46405385}
    46415386
    4642 jQuery(".print-table").on('click', function () {
    4643   // Show the loader and gray-out background
     5387/*jQuery(".print-table").on('click', function () {
    46445388  jQuery('#overlay').show();
    46455389 
     
    46475391  switchTab(selectedTabIds);
    46485392
    4649   // Apply print styles
    46505393  jQuery("#main-sec").css({
    46515394    "@media print": {
     
    46615404  setTimeout(function() {
    46625405    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();
    46665407  }, 50);
     5408});*/
     5409
     5410jQuery('.print-table').on('click', function () {
     5411  window.print();
    46675412});
    46685413
     
    48185563    if (setting_data.remove_decimal_point == 1) {
    48195564
    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; 
    48215566      down_payment = parseInt(down_payment);
    48225567      if(down_payment>eighty_percent_loan_amt){
     
    48365581    else{
    48375582
    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; 
    48395584      down_payment = parseFloat(down_payment);
    48405585      if(down_payment>eighty_percent_loan_amt){
     
    48715616    jQuery(this).val(parseInt(jQuery(this).val()));
    48725617
    4873     if(parseInt(jQuery(this).val()) > 80){
     5618    if(parseInt(jQuery(this).val()) > setting_data.down_payment_max_per){
    48745619
    48755620      if (setting_data.remove_decimal_point == 1) {
     
    52415986
    52425987
    5243   /* extra payment display saved time in result summery start */
     5988  /* extra payment display saved time in result summary start */
    52445989
    52455990  if (setting_data.extra_payment_option == '1' && parseInt(jQuery('#extra_payment').val().replaceAll(",", "")) > 0) {
     
    53326077
    53336078
    5334     /* extra payment display saved time in result summery end */
     6079    /* extra payment display saved time in result summary end */
    53356080
    53366081
     
    59886733});
    59896734
     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  
    8585        array(
    8686            'bar' => __('Bar', 'loan-calculator-wp'),
     87            'stacked_bar' => __('Stacked Bar', 'loan-calculator-wp'),
    8788            'pie' => __('Pie', 'loan-calculator-wp'),
    8889            'bubble' => __('Bubble ', 'loan-calculator-wp'),
  • loan-calculator-wp/trunk/languages/loan-calculator-wp.pot

    r3196117 r3209029  
    44"Project-Id-Version: Loan Calculator WP\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2024-11-25 06:12+0000\n"
     6"POT-Creation-Date: 2024-12-17 08:31+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1717"X-Domain: loan-calculator-wp"
    1818
    19 #: includes/admin/forms/ww-loan-calculator-setting.php:202
     19#: includes/admin/forms/ww-loan-calculator-setting.php:243
    2020msgid " Loan Calculator"
    2121msgstr ""
    2222
    23 #: includes/admin/forms/ww-loan-calculator-setting.php:847
     23#: includes/admin/forms/ww-loan-calculator-setting.php:1001
    2424msgid ""
    2525" {frequency} : Frequency will replace with the dynamic option selected in "
     
    2727msgstr ""
    2828
    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
    3031msgid "%"
    3132msgstr ""
    3233
    33 #: includes/admin/forms/ww-loan-calculator-setting.php:320
    34 #: includes/admin/forms/ww-loan-calculator-setting.php:571
    35 #: includes/admin/forms/ww-loan-calculator-setting.php:571
    36 #: includes/admin/forms/ww-loan-calculator-setting.php:587
    37 #: includes/admin/forms/ww-loan-calculator-setting.php:587
    38 #: includes/admin/forms/ww-loan-calculator-setting.php:603
    39 #: includes/admin/forms/ww-loan-calculator-setting.php:603
     34#: 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
    4041msgid "1"
    4142msgstr ""
    4243
    43 #: includes/admin/forms/ww-loan-calculator-setting.php:284
     44#: includes/admin/forms/ww-loan-calculator-setting.php:325
    4445msgid ""
    4546":  Check this box to disable about this Calculator option appear on top-"
     
    4748msgstr ""
    4849
    49 #: includes/admin/forms/ww-loan-calculator-setting.php:742
     50#: includes/admin/forms/ww-loan-calculator-setting.php:896
    5051msgid ": Check this box to disable interest rate adjustment by User"
    5152msgstr ""
    5253
    53 #: includes/admin/forms/ww-loan-calculator-setting.php:652
     54#: includes/admin/forms/ww-loan-calculator-setting.php:789
    5455msgid ""
    5556": Check this box to enable Down Payment option. It will be visible on the "
     
    5758msgstr ""
    5859
    59 #: includes/admin/forms/ww-loan-calculator-setting.php:682
     60#: includes/admin/forms/ww-loan-calculator-setting.php:836
    6061msgid ""
    6162": Check this box to enable Extra Payment option. It will be visible on the "
     
    6364msgstr ""
    6465
    65 #: includes/admin/forms/ww-loan-calculator-setting.php:323
     66#: includes/admin/forms/ww-loan-calculator-setting.php:591
     67msgid ""
     68": Check this box to enable Pie chart visible in calcualtion result sidebar "
     69"of the calculator"
     70msgstr ""
     71
     72#: includes/admin/forms/ww-loan-calculator-setting.php:364
    6673msgid ""
    6774": Check this box to enable print option. It will be visible on top right of "
     
    6976msgstr ""
    7077
    71 #: includes/admin/forms/ww-loan-calculator-setting.php:265
     78#: includes/admin/forms/ww-loan-calculator-setting.php:306
    7279msgid ": Copy this shortcode and add in any post or page"
    7380msgstr ""
    7481
    75 #: includes/admin/forms/ww-loan-calculator-setting.php:920
     82#: includes/admin/forms/ww-loan-calculator-setting.php:1074
    7683msgid ""
    7784": Display Application fees, monthly fees, total regular fees and total fees "
     
    7986msgstr ""
    8087
    81 #: includes/admin/forms/ww-loan-calculator-setting.php:275
     88#: includes/admin/forms/ww-loan-calculator-setting.php:316
    8289msgid ": Display calculator heading title"
    8390msgstr ""
    8491
    85 #: includes/admin/forms/ww-loan-calculator-setting.php:294
     92#: includes/admin/forms/ww-loan-calculator-setting.php:335
    8693msgid ": Display on top right of the calculator"
    8794msgstr ""
    8895
    89 #: includes/admin/forms/ww-loan-calculator-setting.php:692
     96#: includes/admin/forms/ww-loan-calculator-setting.php:810
     97msgid ""
     98": Enter maximum percentage of loan amount for Down payment that will be "
     99"allowed for User"
     100msgstr ""
     101
     102#: includes/admin/forms/ww-loan-calculator-setting.php:846
    90103msgid ""
    91104": Enter maximum percentage of loan amount for extra payment that will be "
     
    93106msgstr ""
    94107
    95 #: includes/admin/forms/ww-loan-calculator-setting.php:312
     108#: includes/admin/forms/ww-loan-calculator-setting.php:353
    96109msgid ""
    97110": Enter the about calculator information which will be displayed on click of "
     
    99112msgstr ""
    100113
    101 #: includes/admin/forms/ww-loan-calculator-setting.php:1094
     114#: includes/admin/forms/ww-loan-calculator-setting.php:1248
    102115msgid ""
    103116": Here you can enter any contact form shortcode. If you are using Contact "
     
    106119msgstr ""
    107120
    108 #: includes/admin/forms/ww-loan-calculator-setting.php:376
     121#: includes/admin/forms/ww-loan-calculator-setting.php:417
    109122msgid ""
    110123": If no Repayment Frequency Options are selected, the monthly option will be "
     
    112125msgstr ""
    113126
    114 #: includes/admin/forms/ww-loan-calculator-setting.php:785
     127#: includes/admin/forms/ww-loan-calculator-setting.php:939
    115128msgid ""
    116129": If you enable the setting, it will use \"In Advance\" or \"In Arrears\" "
     
    118131msgstr ""
    119132
    120 #: includes/admin/forms/ww-loan-calculator-setting.php:830
     133#: includes/admin/forms/ww-loan-calculator-setting.php:984
    121134msgid ": if you enable this option it will hide Save Interest Extra Payments"
    122135msgstr ""
    123136
    124 #: includes/admin/forms/ww-loan-calculator-setting.php:821
     137#: includes/admin/forms/ww-loan-calculator-setting.php:975
    125138msgid ": if you enable this option it will hide Save Time Extra Payments"
    126139msgstr ""
    127140
    128 #: includes/admin/forms/ww-loan-calculator-setting.php:812
     141#: includes/admin/forms/ww-loan-calculator-setting.php:966
    129142msgid ": if you enable this option it will hide Total Extra Payments"
    130143msgstr ""
    131144
    132 #: includes/admin/forms/ww-loan-calculator-setting.php:803
     145#: includes/admin/forms/ww-loan-calculator-setting.php:957
    133146msgid ": if you enable this option it will hide Total Interest Payable Amount"
    134147msgstr ""
    135148
    136 #: includes/admin/forms/ww-loan-calculator-setting.php:794
     149#: includes/admin/forms/ww-loan-calculator-setting.php:948
    137150msgid ""
    138151": If you enable this setting, you can see the label ( with Year and Month "
     
    140153msgstr ""
    141154
    142 #: includes/admin/forms/ww-loan-calculator-setting.php:775
     155#: includes/admin/forms/ww-loan-calculator-setting.php:929
    143156msgid ""
    144157": If you wish to showcase a particular payment mode selected from the "
     
    147160msgstr ""
    148161
    149 #: includes/admin/forms/ww-loan-calculator-setting.php:663
     162#: includes/admin/forms/ww-loan-calculator-setting.php:800
    150163msgid ""
    151164": You can select one option from above modes to add down payment in loan "
     
    153166msgstr ""
    154167
    155 #: includes/admin/forms/ww-loan-calculator-setting.php:264
     168#: includes/admin/forms/ww-loan-calculator-setting.php:305
    156169msgid "[loan_calculator]"
    157170msgstr ""
    158171
    159 #: includes/admin/forms/ww-loan-calculator-setting.php:299
     172#: includes/admin/forms/ww-loan-calculator-setting.php:340
    160173msgid "About Calculator Popup Content"
    161174msgstr ""
    162175
    163 #: loan-calculator-wp.php:162
     176#: loan-calculator-wp.php:159
    164177msgid "About this calculator"
    165178msgstr ""
    166179
    167 #: includes/admin/forms/ww-loan-calculator-setting.php:289
     180#: includes/admin/forms/ww-loan-calculator-setting.php:330
    168181msgid "About This Calculator Label"
    169182msgstr ""
     
    177190msgstr ""
    178191
    179 #: includes/loan-calculator-misc-functions.php:115
     192#: includes/loan-calculator-misc-functions.php:116
    180193msgid "Afghan afghani"
    181194msgstr ""
    182195
    183 #: includes/loan-calculator-misc-functions.php:116
     196#: includes/loan-calculator-misc-functions.php:117
    184197msgid "Albanian lek"
    185198msgstr ""
    186199
    187 #: includes/loan-calculator-misc-functions.php:155
     200#: includes/loan-calculator-misc-functions.php:156
    188201msgid "Algerian dinar"
    189202msgstr ""
    190203
    191 #: includes/loan-calculator-misc-functions.php:119
     204#: includes/loan-calculator-misc-functions.php:120
    192205msgid "Angolan kwanza"
    193206msgstr ""
    194207
    195 #: includes/admin/forms/ww-loan-calculator-setting.php:747
     208#: includes/admin/forms/ww-loan-calculator-setting.php:901
    196209msgid "Application Fee"
    197210msgstr ""
    198211
    199 #: loan-calculator-wp.php:110
     212#: loan-calculator-wp.php:107
    200213msgid "Application fee"
    201214msgstr ""
    202215
    203 #: includes/admin/forms/ww-loan-calculator-setting.php:925
     216#: includes/admin/forms/ww-loan-calculator-setting.php:1079
    204217msgid "Application Fee Label"
    205218msgstr ""
    206219
    207 #: includes/loan-calculator-misc-functions.php:120
     220#: includes/admin/forms/ww-loan-calculator-setting.php:653
     221msgid "are required fields"
     222msgstr ""
     223
     224#: includes/loan-calculator-misc-functions.php:121
    208225msgid "Argentine peso"
    209226msgstr ""
    210227
    211 #: includes/loan-calculator-misc-functions.php:117
     228#: includes/loan-calculator-misc-functions.php:118
    212229msgid "Armenian dram"
    213230msgstr ""
    214231
     232#: includes/loan-calculator-misc-functions.php:123
     233msgid "Aruban florin"
     234msgstr ""
     235
    215236#: includes/loan-calculator-misc-functions.php:122
    216 msgid "Aruban florin"
    217 msgstr ""
    218 
    219 #: includes/loan-calculator-misc-functions.php:121
    220237msgid "Australian dollar"
    221238msgstr ""
    222239
    223 #: includes/loan-calculator-misc-functions.php:123
     240#: includes/loan-calculator-misc-functions.php:124
    224241msgid "Azerbaijani manat"
    225242msgstr ""
    226243
    227 #: includes/admin/forms/ww-loan-calculator-setting.php:434
     244#: includes/admin/forms/ww-loan-calculator-setting.php:475
    228245msgid "Background Color"
    229246msgstr ""
    230247
    231 #: includes/admin/forms/ww-loan-calculator-setting.php:450
     248#: includes/admin/forms/ww-loan-calculator-setting.php:491
    232249msgid "Background Light Color"
    233250msgstr ""
    234251
    235 #: includes/loan-calculator-misc-functions.php:134
     252#: includes/loan-calculator-misc-functions.php:135
    236253msgid "Bahamian dollar"
    237254msgstr ""
    238255
    239 #: includes/loan-calculator-misc-functions.php:128
     256#: includes/loan-calculator-misc-functions.php:129
    240257msgid "Bahraini dinar"
    241258msgstr ""
    242259
    243 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:690
     260#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:734
    244261msgid "Balance"
    245262msgstr ""
    246263
    247 #: includes/admin/forms/ww-loan-calculator-setting.php:631
     264#: includes/admin/forms/ww-loan-calculator-setting.php:541
     265msgid "Balance Graph Border Color"
     266msgstr ""
     267
     268#: includes/admin/forms/ww-loan-calculator-setting.php:549
     269msgid "Balance Graph Point Color"
     270msgstr ""
     271
     272#: includes/class-ww-loan-calculator-public.php:151
     273msgid "Ballon Amount"
     274msgstr ""
     275
     276#: includes/admin/forms/ww-loan-calculator-setting.php:620
     277msgid "Ballon Payment Fill Color"
     278msgstr ""
     279
     280#: includes/admin/forms/ww-loan-calculator-setting.php:768
    248281msgid "Ballon Percentage"
    249282msgstr ""
    250283
    251 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:436
     284#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:476
    252285msgid "Balloon Amount"
    253286msgstr ""
    254287
    255 #: loan-calculator-wp.php:144
     288#: loan-calculator-wp.php:141
    256289msgid "Balloon amount"
    257290msgstr ""
    258291
    259 #: includes/admin/forms/ww-loan-calculator-setting.php:860
     292#: includes/admin/forms/ww-loan-calculator-setting.php:1014
    260293msgid "Balloon Amount Label"
    261294msgstr ""
    262295
    263 #: includes/admin/forms/ww-loan-calculator-setting.php:639
     296#: includes/admin/forms/ww-loan-calculator-setting.php:776
    264297msgid "Balloon Amount Tooltip"
    265298msgstr ""
    266299
    267 #: includes/loan-calculator-misc-functions.php:126
     300#: includes/loan-calculator-misc-functions.php:127
    268301msgid "Bangladeshi taka"
    269302msgstr ""
     
    273306msgstr ""
    274307
     308#: includes/loan-calculator-misc-functions.php:126
     309msgid "Barbadian dollar"
     310msgstr ""
     311
     312#: includes/loan-calculator-misc-functions.php:140
     313msgid "Belarusian ruble"
     314msgstr ""
     315
     316#: includes/loan-calculator-misc-functions.php:139
     317msgid "Belarusian ruble (old)"
     318msgstr ""
     319
     320#: includes/loan-calculator-misc-functions.php:141
     321msgid "Belize dollar"
     322msgstr ""
     323
     324#: includes/loan-calculator-misc-functions.php:131
     325msgid "Bermudian dollar"
     326msgstr ""
     327
     328#: includes/loan-calculator-misc-functions.php:137
     329msgid "Bhutanese ngultrum"
     330msgstr ""
     331
     332#: includes/loan-calculator-misc-functions.php:136
     333msgid "Bitcoin"
     334msgstr ""
     335
     336#: includes/loan-calculator-misc-functions.php:268
     337msgid "Bol&iacute;var soberano"
     338msgstr ""
     339
     340#: includes/loan-calculator-misc-functions.php:133
     341msgid "Bolivian boliviano"
     342msgstr ""
     343
     344#: includes/admin/forms/ww-loan-calculator-setting.php:499
     345msgid "Border Color"
     346msgstr ""
     347
    275348#: 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"
     349msgid "Bosnia and Herzegovina convertible mark"
    281350msgstr ""
    282351
    283352#: 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"
     353msgid "Botswana pula"
     354msgstr ""
     355
     356#: includes/loan-calculator-misc-functions.php:134
     357msgid "Brazilian real"
     358msgstr ""
     359
     360#: loan-calculator-wp.php:299
     361msgid "Break-up of Total Payment"
     362msgstr ""
     363
     364#: includes/loan-calculator-misc-functions.php:132
     365msgid "Brunei dollar"
     366msgstr ""
     367
     368#: includes/loan-calculator-misc-functions.php:89
     369msgid "Bubble "
     370msgstr ""
     371
     372#: includes/loan-calculator-misc-functions.php:128
     373msgid "Bulgarian lev"
     374msgstr ""
     375
     376#: includes/loan-calculator-misc-functions.php:209
     377msgid "Burmese kyat"
    289378msgstr ""
    290379
    291380#: includes/loan-calculator-misc-functions.php:130
    292 msgid "Bermudian dollar"
    293 msgstr ""
    294 
    295 #: includes/loan-calculator-misc-functions.php:136
    296 msgid "Bhutanese ngultrum"
    297 msgstr ""
    298 
    299 #: includes/loan-calculator-misc-functions.php:135
    300 msgid "Bitcoin"
    301 msgstr ""
    302 
    303 #: includes/loan-calculator-misc-functions.php:267
    304 msgid "Bol&iacute;var soberano"
    305 msgstr ""
    306 
    307 #: includes/loan-calculator-misc-functions.php:132
    308 msgid "Bolivian boliviano"
    309 msgstr ""
    310 
    311 #: includes/admin/forms/ww-loan-calculator-setting.php:458
    312 msgid "Border Color"
    313 msgstr ""
    314 
    315 #: includes/loan-calculator-misc-functions.php:124
    316 msgid "Bosnia and Herzegovina convertible mark"
    317 msgstr ""
    318 
    319 #: includes/loan-calculator-misc-functions.php:137
    320 msgid "Botswana pula"
    321 msgstr ""
    322 
    323 #: includes/loan-calculator-misc-functions.php:133
    324 msgid "Brazilian real"
    325 msgstr ""
    326 
    327 #: includes/loan-calculator-misc-functions.php:131
    328 msgid "Brunei dollar"
    329 msgstr ""
    330 
    331 #: includes/loan-calculator-misc-functions.php:88
    332 msgid "Bubble "
    333 msgstr ""
    334 
    335 #: includes/loan-calculator-misc-functions.php:127
    336 msgid "Bulgarian lev"
    337 msgstr ""
    338 
    339 #: includes/loan-calculator-misc-functions.php:208
    340 msgid "Burmese kyat"
    341 msgstr ""
    342 
    343 #: includes/loan-calculator-misc-functions.php:129
    344381msgid "Burundian franc"
    345382msgstr ""
    346383
    347 #: loan-calculator-wp.php:151
    348 #: includes/admin/forms/ww-loan-calculator-setting.php:1123
     384#: loan-calculator-wp.php:148
     385#: includes/admin/forms/ww-loan-calculator-setting.php:1277
    349386msgid "Calculator Disclaimer"
    350387msgstr ""
    351388
    352 #: includes/admin/forms/ww-loan-calculator-setting.php:1131
     389#: includes/admin/forms/ww-loan-calculator-setting.php:1285
    353390msgid "Calculator Disclaimer Description"
    354391msgstr ""
    355392
    356 #: includes/admin/forms/ww-loan-calculator-setting.php:1107
     393#: includes/admin/forms/ww-loan-calculator-setting.php:1261
    357394msgid "Calculator Disclaimer Settings "
    358395msgstr ""
    359396
    360 #: includes/admin/forms/ww-loan-calculator-setting.php:270
     397#: includes/admin/forms/ww-loan-calculator-setting.php:311
    361398msgid "Calculator Heading Title"
    362399msgstr ""
    363400
    364 #: includes/loan-calculator-misc-functions.php:191
     401#: includes/loan-calculator-misc-functions.php:192
    365402msgid "Cambodian riel"
    366403msgstr ""
    367404
    368 #: includes/loan-calculator-misc-functions.php:141
     405#: includes/loan-calculator-misc-functions.php:142
    369406msgid "Canadian dollar"
    370407msgstr ""
    371408
    372 #: includes/loan-calculator-misc-functions.php:150
     409#: includes/loan-calculator-misc-functions.php:151
    373410msgid "Cape Verdean escudo"
    374411msgstr ""
    375412
    376 #: includes/loan-calculator-misc-functions.php:196
     413#: includes/loan-calculator-misc-functions.php:197
    377414msgid "Cayman Islands dollar"
    378415msgstr ""
    379416
    380 #: includes/loan-calculator-misc-functions.php:271
     417#: includes/loan-calculator-misc-functions.php:272
    381418msgid "Central African CFA franc"
    382419msgstr ""
    383420
    384 #: includes/loan-calculator-misc-functions.php:274
     421#: includes/loan-calculator-misc-functions.php:275
    385422msgid "CFP franc"
    386423msgstr ""
    387424
    388 #: includes/admin/forms/ww-loan-calculator-setting.php:422
     425#: includes/admin/forms/ww-loan-calculator-setting.php:463
    389426msgid "Change Chart"
    390427msgstr ""
    391428
    392 #: includes/admin/forms/ww-loan-calculator-setting.php:1163
     429#: includes/admin/forms/ww-loan-calculator-setting.php:1317
    393430msgid ""
    394431"Check this box if you want to delete all settings data on plugin uninstall"
    395432msgstr ""
    396433
    397 #: includes/admin/forms/ww-loan-calculator-setting.php:1171
     434#: includes/admin/forms/ww-loan-calculator-setting.php:1325
    398435msgid ""
    399436"Check this box if you want to disable font awesome css on plugin install"
    400437msgstr ""
    401438
    402 #: includes/admin/forms/ww-loan-calculator-setting.php:1187
     439#: includes/admin/forms/ww-loan-calculator-setting.php:1341
    403440msgid ""
    404441"Check this box if you want to remove all range slider fields in the "
     
    406443msgstr ""
    407444
    408 #: includes/admin/forms/ww-loan-calculator-setting.php:1118
     445#: includes/admin/forms/ww-loan-calculator-setting.php:1272
    409446msgid ""
    410447"Check this box if you want to remove Calculator Disclaimer section in loan "
     
    412449msgstr ""
    413450
    414 #: includes/admin/forms/ww-loan-calculator-setting.php:1053
     451#: includes/admin/forms/ww-loan-calculator-setting.php:1207
    415452msgid ""
    416453"Check this box if you want to remove contact us section in loan calculator "
     
    418455msgstr ""
    419456
    420 #: includes/admin/forms/ww-loan-calculator-setting.php:1179
     457#: includes/admin/forms/ww-loan-calculator-setting.php:1333
    421458msgid ""
    422459"Check this box if you want to remove decimal point in loan calculator form"
    423460msgstr ""
    424461
    425 #: includes/admin/forms/ww-loan-calculator-setting.php:972
     462#: includes/admin/forms/ww-loan-calculator-setting.php:1126
    426463msgid ""
    427464"Check this box if you want to remove tab icon section in loan calculator form"
    428465msgstr ""
    429466
    430 #: includes/loan-calculator-misc-functions.php:144
     467#: includes/loan-calculator-misc-functions.php:145
    431468msgid "Chilean peso"
    432469msgstr ""
    433470
    434 #: includes/loan-calculator-misc-functions.php:145
     471#: includes/loan-calculator-misc-functions.php:146
    435472msgid "Chinese yuan"
    436473msgstr ""
    437474
    438 #: includes/loan-calculator-misc-functions.php:146
     475#: includes/loan-calculator-misc-functions.php:147
    439476msgid "Colombian peso"
    440477msgstr ""
    441478
    442 #: includes/loan-calculator-misc-functions.php:192
     479#: includes/loan-calculator-misc-functions.php:193
    443480msgid "Comorian franc"
    444481msgstr ""
    445482
    446 #: includes/admin/forms/ww-loan-calculator-setting.php:255
     483#: includes/admin/forms/ww-loan-calculator-setting.php:296
    447484msgid "Configure calculator general settings."
    448485msgstr ""
    449486
    450 #: includes/loan-calculator-misc-functions.php:142
     487#: includes/loan-calculator-misc-functions.php:143
    451488msgid "Congolese franc"
    452489msgstr ""
    453490
    454 #: includes/admin/forms/ww-loan-calculator-setting.php:1089
     491#: includes/admin/forms/ww-loan-calculator-setting.php:1243
    455492msgid "Contact Form Content"
    456493msgstr ""
    457494
    458 #: includes/admin/forms/ww-loan-calculator-setting.php:1044
     495#: includes/admin/forms/ww-loan-calculator-setting.php:1198
    459496msgid "Contact form setting."
    460497msgstr ""
    461498
    462 #: includes/admin/forms/ww-loan-calculator-setting.php:1058
     499#: includes/admin/forms/ww-loan-calculator-setting.php:1212
    463500msgid "Contact Info Label"
    464501msgstr ""
    465502
    466 #: includes/admin/forms/ww-loan-calculator-setting.php:1066
     503#: includes/admin/forms/ww-loan-calculator-setting.php:1220
    467504msgid "Contact Popup Button Label"
    468505msgstr ""
    469506
    470 #: includes/admin/forms/ww-loan-calculator-setting.php:1074
     507#: includes/admin/forms/ww-loan-calculator-setting.php:1228
    471508msgid "Contact Type"
    472509msgstr ""
    473510
    474 #: includes/admin/forms/ww-loan-calculator-setting.php:1099
     511#: includes/admin/forms/ww-loan-calculator-setting.php:1253
    475512msgid "Contact URL"
    476513msgstr ""
    477514
    478 #: includes/admin/forms/ww-loan-calculator-setting.php:229
     515#: includes/admin/forms/ww-loan-calculator-setting.php:270
    479516msgid "Contact Us / Disclaimer"
    480517msgstr ""
    481518
    482 #: loan-calculator-wp.php:150
     519#: loan-calculator-wp.php:147
    483520msgid "Contact us now for a quote"
    484521msgstr ""
    485522
    486 #: includes/admin/forms/ww-loan-calculator-setting.php:1042
     523#: includes/admin/forms/ww-loan-calculator-setting.php:1196
    487524msgid "Contact Us Settings - Setup Contact Form"
    488525msgstr ""
    489526
    490 #: includes/loan-calculator-misc-functions.php:147
     527#: includes/loan-calculator-misc-functions.php:148
    491528msgid "Costa Rican col&oacute;n"
    492529msgstr ""
    493530
    494 #: includes/loan-calculator-misc-functions.php:174
     531#: includes/loan-calculator-misc-functions.php:175
    495532msgid "Croatian kuna"
    496533msgstr ""
    497534
    498 #: includes/loan-calculator-misc-functions.php:148
     535#: includes/loan-calculator-misc-functions.php:149
    499536msgid "Cuban convertible peso"
    500537msgstr ""
    501538
    502 #: includes/loan-calculator-misc-functions.php:149
     539#: includes/loan-calculator-misc-functions.php:150
    503540msgid "Cuban peso"
    504541msgstr ""
    505542
    506 #: includes/admin/forms/ww-loan-calculator-setting.php:336
     543#: includes/admin/forms/ww-loan-calculator-setting.php:377
    507544msgid "Currency "
    508545msgstr ""
    509546
    510 #: includes/admin/forms/ww-loan-calculator-setting.php:387
     547#: includes/admin/forms/ww-loan-calculator-setting.php:428
    511548msgid ""
    512549"Customize the calculator look. Change the background color, hover color, "
     
    514551msgstr ""
    515552
    516 #: includes/loan-calculator-misc-functions.php:151
     553#: includes/admin/forms/ww-loan-calculator-setting.php:580
     554msgid "Customize Visual of Summary Chart"
     555msgstr ""
     556
     557#: includes/loan-calculator-misc-functions.php:152
    517558msgid "Czech koruna"
    518559msgstr ""
    519560
     561#: includes/loan-calculator-misc-functions.php:154
     562msgid "Danish krone"
     563msgstr ""
     564
     565#: includes/admin/forms/ww-loan-calculator-setting.php:934
     566msgid "Default Payment Mode"
     567msgstr ""
     568
     569#: includes/admin/forms/ww-loan-calculator-setting.php:989
     570msgid "Default Text for Calculation Result"
     571msgstr ""
     572
     573#: includes/admin/forms/ww-loan-calculator-setting.php:650
     574msgid "Default Value for Amount Text Field"
     575msgstr ""
     576
     577#: includes/admin/forms/ww-loan-calculator-setting.php:268
     578msgid "Default Value Settings"
     579msgstr ""
     580
     581#: includes/admin/forms/ww-loan-calculator-setting.php:1314
     582msgid "Delete Data On Uninstall"
     583msgstr ""
     584
     585#: includes/admin/forms/ww-loan-calculator-setting.php:321
     586msgid "Disable About This Calculator Option"
     587msgstr ""
     588
     589#: includes/admin/forms/ww-loan-calculator-setting.php:760
     590msgid "Disable Ballon"
     591msgstr ""
     592
     593#: includes/admin/forms/ww-loan-calculator-setting.php:1269
     594msgid "Disable Calculator Disclaimer Section"
     595msgstr ""
     596
     597#: includes/admin/forms/ww-loan-calculator-setting.php:1204
     598msgid "Disable Contact Us Section"
     599msgstr ""
     600
     601#: includes/admin/forms/ww-loan-calculator-setting.php:1322
     602msgid "Disable Font Awesome CSS"
     603msgstr ""
     604
     605#: includes/admin/forms/ww-loan-calculator-setting.php:891
     606#: includes/admin/forms/ww-loan-calculator-setting.php:894
     607msgid "Disable Interest Rates Adjustment"
     608msgstr ""
     609
     610#: includes/admin/forms/ww-loan-calculator-setting.php:1123
     611msgid "Disable Tabs Icon"
     612msgstr ""
     613
     614#: includes/admin/forms/ww-loan-calculator-setting.php:426
     615msgid "Display Color Settings"
     616msgstr ""
     617
     618#: includes/admin/forms/ww-loan-calculator-setting.php:944
     619msgid "Display Loan Term Label"
     620msgstr ""
     621
     622#: includes/admin/forms/ww-loan-calculator-setting.php:267
     623msgid "Display Settings"
     624msgstr ""
     625
     626#: includes/admin/forms/ww-loan-calculator-setting.php:925
     627msgid "Display Specific Payment Mode"
     628msgstr ""
     629
    520630#: 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"
     631msgid "Djiboutian franc"
     632msgstr ""
     633
     634#: includes/loan-calculator-misc-functions.php:155
     635msgid "Dominican peso"
     636msgstr ""
     637
     638#: includes/loan-calculator-misc-functions.php:90
     639msgid "Doughnut "
     640msgstr ""
     641
     642#: loan-calculator-wp.php:308 includes/class-ww-loan-calculator-public.php:139
     643msgid "Down Payment"
     644msgstr ""
     645
     646#: loan-calculator-wp.php:224
     647msgid "Down Payment Amount"
     648msgstr ""
     649
     650#: includes/admin/forms/ww-loan-calculator-setting.php:628
     651msgid "Down Payment Fill Color"
     652msgstr ""
     653
     654#: includes/admin/forms/ww-loan-calculator-setting.php:823
     655#: includes/admin/forms/ww-loan-calculator-setting.php:1022
     656msgid "Down Payment Label"
     657msgstr ""
     658
     659#: includes/admin/forms/ww-loan-calculator-setting.php:805
     660msgid "Down Payment Maximum"
     661msgstr ""
     662
     663#: includes/admin/forms/ww-loan-calculator-setting.php:794
     664msgid "Down Payment Mode"
     665msgstr ""
     666
     667#: includes/admin/forms/ww-loan-calculator-setting.php:784
     668msgid "Down Payment Option"
     669msgstr ""
     670
     671#: includes/admin/forms/ww-loan-calculator-setting.php:815
     672msgid "Down Payment Tooltip"
     673msgstr ""
     674
     675#: includes/loan-calculator-misc-functions.php:273
     676msgid "East Caribbean dollar"
     677msgstr ""
     678
     679#: includes/loan-calculator-misc-functions.php:157
     680msgid "Egyptian pound"
     681msgstr ""
     682
     683#: includes/admin/forms/ww-loan-calculator-setting.php:787
     684msgid "Enable Down Payment Option"
     685msgstr ""
     686
     687#: includes/admin/forms/ww-loan-calculator-setting.php:834
     688msgid "Enable Extra Payment Option"
     689msgstr ""
     690
     691#: includes/admin/forms/ww-loan-calculator-setting.php:1070
     692#: includes/admin/forms/ww-loan-calculator-setting.php:1074
     693msgid "Enable Fees Calculation"
     694msgstr ""
     695
     696#: includes/admin/forms/ww-loan-calculator-setting.php:1117
     697msgid "Enable individual tab based on your need"
     698msgstr ""
     699
     700#: includes/admin/forms/ww-loan-calculator-setting.php:1152
     701#: includes/admin/forms/ww-loan-calculator-setting.php:1155
     702msgid "Enable Loan Mortisation Tab"
     703msgstr ""
     704
     705#: includes/admin/forms/ww-loan-calculator-setting.php:358
     706#: includes/admin/forms/ww-loan-calculator-setting.php:362
     707msgid "Enable Print Option"
     708msgstr ""
     709
     710#: includes/admin/forms/ww-loan-calculator-setting.php:1131
     711#: includes/admin/forms/ww-loan-calculator-setting.php:1134
     712msgid "Enable Repayment Chart Tab"
     713msgstr ""
     714
     715#: includes/admin/forms/ww-loan-calculator-setting.php:403
     716msgid "Enable Repayment Frequency"
     717msgstr ""
     718
     719#: includes/admin/forms/ww-loan-calculator-setting.php:589
     720msgid "Enable Summary Chart"
    558721msgstr ""
    559722
    560723#: 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
    673725msgid "Enable Video Tab"
    674726msgstr ""
    675727
    676 #: includes/loan-calculator-misc-functions.php:157
     728#: includes/loan-calculator-misc-functions.php:158
    677729msgid "Eritrean nakfa"
    678730msgstr ""
    679731
    680 #: includes/loan-calculator-misc-functions.php:158
     732#: includes/loan-calculator-misc-functions.php:159
    681733msgid "Ethiopian birr"
    682734msgstr ""
    683735
    684 #: includes/loan-calculator-misc-functions.php:159
     736#: includes/loan-calculator-misc-functions.php:160
    685737msgid "Euro"
    686738msgstr ""
    687739
    688 #: loan-calculator-wp.php:247
     740#: includes/class-ww-loan-calculator-public.php:149
     741msgid "Extra Payment"
     742msgstr ""
     743
     744#: loan-calculator-wp.php:244
    689745msgid "Extra Payment Amount"
    690746msgstr ""
    691747
    692 #: includes/admin/forms/ww-loan-calculator-setting.php:876
     748#: includes/admin/forms/ww-loan-calculator-setting.php:636
     749msgid "Extra Payment Fill Color"
     750msgstr ""
     751
     752#: includes/admin/forms/ww-loan-calculator-setting.php:557
     753msgid "Extra Payment Graph Color"
     754msgstr ""
     755
     756#: includes/admin/forms/ww-loan-calculator-setting.php:1030
    693757msgid "Extra Payment Label"
    694758msgstr ""
    695759
    696 #: includes/admin/forms/ww-loan-calculator-setting.php:687
     760#: includes/admin/forms/ww-loan-calculator-setting.php:841
    697761msgid "Extra Payment Maximum"
    698762msgstr ""
    699763
    700 #: includes/admin/forms/ww-loan-calculator-setting.php:677
     764#: includes/admin/forms/ww-loan-calculator-setting.php:831
    701765msgid "Extra Payment Option"
    702766msgstr ""
    703767
    704 #: includes/admin/forms/ww-loan-calculator-setting.php:900
     768#: includes/admin/forms/ww-loan-calculator-setting.php:1054
    705769msgid "Extra Payment Save Interest Label"
    706770msgstr ""
    707771
    708 #: includes/admin/forms/ww-loan-calculator-setting.php:884
     772#: includes/admin/forms/ww-loan-calculator-setting.php:1038
    709773msgid "Extra Payment Save Time Label"
    710774msgstr ""
    711775
    712 #: includes/admin/forms/ww-loan-calculator-setting.php:697
     776#: includes/admin/forms/ww-loan-calculator-setting.php:851
    713777msgid "Extra Payment Tooltip"
    714778msgstr ""
    715779
    716 #: includes/admin/forms/ww-loan-calculator-setting.php:892
     780#: includes/admin/forms/ww-loan-calculator-setting.php:1046
    717781msgid "Extra Payment Total Label"
    718782msgstr ""
    719783
     784#: includes/loan-calculator-misc-functions.php:162
     785msgid "Falkland Islands pound"
     786msgstr ""
     787
     788#: includes/admin/forms/ww-loan-calculator-setting.php:1062
     789msgid "Fee Calculation Settings "
     790msgstr ""
     791
     792#: loan-calculator-wp.php:160
     793msgid "Feel free to use our Equipment Finance Calculator"
     794msgstr ""
     795
    720796#: includes/loan-calculator-misc-functions.php:161
    721 msgid "Falkland Islands pound"
    722 msgstr ""
    723 
    724 #: includes/admin/forms/ww-loan-calculator-setting.php:908
    725 msgid "Fee Calculation Settings "
    726 msgstr ""
    727 
    728 #: loan-calculator-wp.php:163
    729 msgid "Feel free to use our Equipment Finance Calculator"
    730 msgstr ""
    731 
    732 #: includes/loan-calculator-misc-functions.php:160
    733797msgid "Fijian dollar"
    734798msgstr ""
    735799
    736 #: includes/admin/forms/ww-loan-calculator-setting.php:660
     800#: includes/admin/forms/ww-loan-calculator-setting.php:797
    737801msgid "Fixed Amount"
    738802msgstr ""
    739803
    740804#: includes/loan-calculator-misc-functions.php:47
    741 #: includes/admin/forms/ww-loan-calculator-setting.php:373
     805#: includes/admin/forms/ww-loan-calculator-setting.php:414
    742806msgid "Fortnightly"
    743807msgstr ""
     
    747811msgstr ""
    748812
     813#: includes/loan-calculator-misc-functions.php:169
     814msgid "Gambian dalasi"
     815msgstr ""
     816
     817#: includes/admin/forms/ww-loan-calculator-setting.php:266
     818#: includes/admin/forms/ww-loan-calculator-setting.php:294
     819msgid "General Settings"
     820msgstr ""
     821
     822#: includes/loan-calculator-misc-functions.php:165
     823msgid "Georgian lari"
     824msgstr ""
     825
     826#: includes/loan-calculator-misc-functions.php:167
     827msgid "Ghana cedi"
     828msgstr ""
     829
    749830#: 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"
     831msgid "Gibraltar pound"
     832msgstr ""
     833
     834#: includes/loan-calculator-misc-functions.php:171
     835msgid "Guatemalan quetzal"
    760836msgstr ""
    761837
    762838#: 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"
     839msgid "Guernsey pound"
    768840msgstr ""
    769841
    770842#: includes/loan-calculator-misc-functions.php:170
    771 msgid "Guatemalan quetzal"
    772 msgstr ""
    773 
    774 #: includes/loan-calculator-misc-functions.php:165
    775 msgid "Guernsey pound"
    776 msgstr ""
    777 
    778 #: includes/loan-calculator-misc-functions.php:169
    779843msgid "Guinean franc"
    780844msgstr ""
    781845
    782 #: includes/loan-calculator-misc-functions.php:171
     846#: includes/loan-calculator-misc-functions.php:172
    783847msgid "Guyanese dollar"
    784848msgstr ""
    785849
    786 #: includes/loan-calculator-misc-functions.php:175
     850#: includes/loan-calculator-misc-functions.php:176
    787851msgid "Haitian gourde"
    788852msgstr ""
    789853
    790 #: includes/admin/forms/ww-loan-calculator-setting.php:826
     854#: includes/admin/forms/ww-loan-calculator-setting.php:980
    791855msgid "Hide Save Interest For Extra Payments"
    792856msgstr ""
    793857
    794 #: includes/admin/forms/ww-loan-calculator-setting.php:817
     858#: includes/admin/forms/ww-loan-calculator-setting.php:971
    795859msgid "Hide Save Time For Extra Payments"
    796860msgstr ""
    797861
    798 #: includes/admin/forms/ww-loan-calculator-setting.php:808
     862#: includes/admin/forms/ww-loan-calculator-setting.php:962
    799863msgid "Hide Total Extra Payments"
    800864msgstr ""
    801865
    802 #: includes/admin/forms/ww-loan-calculator-setting.php:799
     866#: includes/admin/forms/ww-loan-calculator-setting.php:953
    803867msgid "Hide Total Interest Payable"
    804868msgstr ""
    805869
     870#: includes/loan-calculator-misc-functions.php:174
     871msgid "Honduran lempira"
     872msgstr ""
     873
    806874#: includes/loan-calculator-misc-functions.php:173
    807 msgid "Honduran lempira"
    808 msgstr ""
    809 
    810 #: includes/loan-calculator-misc-functions.php:172
    811875msgid "Hong Kong dollar"
    812876msgstr ""
     
    817881msgstr ""
    818882
    819 #: includes/loan-calculator-misc-functions.php:176
     883#: includes/loan-calculator-misc-functions.php:177
    820884msgid "Hungarian forint"
    821885msgstr ""
    822886
    823 #: loan-calculator-wp.php:109
     887#: loan-calculator-wp.php:106
    824888msgid "I want a"
    825889msgstr ""
    826890
    827 #: includes/loan-calculator-misc-functions.php:184
     891#: includes/loan-calculator-misc-functions.php:185
    828892msgid "Icelandic kr&oacute;na"
    829893msgstr ""
    830894
    831 #: loan-calculator-wp.php:158
     895#: loan-calculator-wp.php:155
    832896msgid ""
    833897"If applicable, enter the balloon amount, which is a lump sum payment due at "
     
    835899msgstr ""
    836900
    837 #: loan-calculator-wp.php:226
     901#: loan-calculator-wp.php:223
    838902msgid ""
    839903"If applicable, enter the down payment, which will be deducted from loan "
     
    841905msgstr ""
    842906
    843 #: loan-calculator-wp.php:245
     907#: loan-calculator-wp.php:242
    844908msgid ""
    845909"If applicable, enter the extra payment, which will be deducted from loan "
     
    847911msgstr ""
    848912
    849 #: includes/admin/forms/ww-loan-calculator-setting.php:783
    850 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:541
    851 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:541
    852 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:549
    853 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:549
     913#: 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
    854918msgid "In Advance"
    855919msgstr ""
    856920
    857 #: includes/admin/forms/ww-loan-calculator-setting.php:784
    858 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:533
    859 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:550
    860 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:550
     921#: 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
    861925msgid "In Arrears"
    862926msgstr ""
    863927
    864 #: includes/loan-calculator-misc-functions.php:180
     928#: includes/loan-calculator-misc-functions.php:181
    865929msgid "Indian rupee"
    866930msgstr ""
    867931
    868 #: includes/loan-calculator-misc-functions.php:177
     932#: includes/loan-calculator-misc-functions.php:178
    869933msgid "Indonesian rupiah"
    870934msgstr ""
    871935
    872 #: includes/class-ww-loan-calculator-public.php:101
    873 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:689
     936#: 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
    874938msgid "Interest"
    875939msgstr ""
    876940
    877 #: includes/admin/forms/ww-loan-calculator-setting.php:490
     941#: includes/admin/forms/ww-loan-calculator-setting.php:612
     942msgid "Interest Fill Color"
     943msgstr ""
     944
     945#: includes/admin/forms/ww-loan-calculator-setting.php:531
    878946msgid "Interest Graph Border Color"
    879947msgstr ""
    880948
    881 #: includes/admin/forms/ww-loan-calculator-setting.php:482
     949#: includes/admin/forms/ww-loan-calculator-setting.php:523
    882950msgid "Interest Graph Fill Color"
    883951msgstr ""
    884952
    885 #: includes/admin/forms/ww-loan-calculator-setting.php:705
    886 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:390
    887 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:407
     953#: 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
    888956msgid "Interest Rate"
    889957msgstr ""
    890958
    891 #: includes/admin/forms/ww-loan-calculator-setting.php:721
     959#: includes/admin/forms/ww-loan-calculator-setting.php:875
    892960msgid "Interest Rate Max Value"
    893961msgstr ""
    894962
    895 #: includes/admin/forms/ww-loan-calculator-setting.php:713
     963#: includes/admin/forms/ww-loan-calculator-setting.php:867
    896964msgid "Interest Rate Min Value"
    897965msgstr ""
    898966
    899 #: includes/admin/forms/ww-loan-calculator-setting.php:729
     967#: includes/admin/forms/ww-loan-calculator-setting.php:883
    900968msgid "Interest Rate Tooltip"
    901969msgstr ""
    902970
    903 #: loan-calculator-wp.php:279
     971#: loan-calculator-wp.php:276
    904972msgid "Interest Saved From Extra Payments"
    905973msgstr ""
    906974
     975#: includes/loan-calculator-misc-functions.php:183
     976msgid "Iranian rial"
     977msgstr ""
     978
     979#: includes/loan-calculator-misc-functions.php:184
     980msgid "Iranian toman"
     981msgstr ""
     982
    907983#: includes/loan-calculator-misc-functions.php:182
    908 msgid "Iranian rial"
    909 msgstr ""
    910 
    911 #: includes/loan-calculator-misc-functions.php:183
    912 msgid "Iranian toman"
    913 msgstr ""
    914 
    915 #: includes/loan-calculator-misc-functions.php:181
    916984msgid "Iraqi dinar"
    917985msgstr ""
    918986
    919 #: includes/loan-calculator-misc-functions.php:178
     987#: includes/loan-calculator-misc-functions.php:179
    920988msgid "Israeli new shekel"
    921989msgstr ""
    922990
     991#: includes/loan-calculator-misc-functions.php:187
     992msgid "Jamaican dollar"
     993msgstr ""
     994
     995#: includes/loan-calculator-misc-functions.php:189
     996msgid "Japanese yen"
     997msgstr ""
     998
    923999#: includes/loan-calculator-misc-functions.php:186
    924 msgid "Jamaican dollar"
     1000msgid "Jersey pound"
    9251001msgstr ""
    9261002
    9271003#: includes/loan-calculator-misc-functions.php:188
    928 msgid "Japanese yen"
    929 msgstr ""
    930 
    931 #: includes/loan-calculator-misc-functions.php:185
    932 msgid "Jersey pound"
    933 msgstr ""
    934 
    935 #: includes/loan-calculator-misc-functions.php:187
    9361004msgid "Jordanian dinar"
    9371005msgstr ""
    9381006
    939 #: includes/loan-calculator-misc-functions.php:197
     1007#: includes/loan-calculator-misc-functions.php:198
    9401008msgid "Kazakhstani tenge"
    9411009msgstr ""
    9421010
    943 #: includes/loan-calculator-misc-functions.php:189
     1011#: includes/loan-calculator-misc-functions.php:190
    9441012msgid "Kenyan shilling"
    9451013msgstr ""
    9461014
    947 #: includes/loan-calculator-misc-functions.php:195
     1015#: includes/loan-calculator-misc-functions.php:196
    9481016msgid "Kuwaiti dinar"
    9491017msgstr ""
    9501018
    951 #: includes/loan-calculator-misc-functions.php:190
     1019#: includes/loan-calculator-misc-functions.php:191
    9521020msgid "Kyrgyzstani som"
    9531021msgstr ""
    9541022
    955 #: includes/loan-calculator-misc-functions.php:198
     1023#: includes/loan-calculator-misc-functions.php:199
    9561024msgid "Lao kip"
    9571025msgstr ""
    9581026
    959 #: includes/loan-calculator-misc-functions.php:199
     1027#: includes/loan-calculator-misc-functions.php:200
    9601028msgid "Lebanese pound"
    9611029msgstr ""
    9621030
     1031#: includes/loan-calculator-misc-functions.php:203
     1032msgid "Lesotho loti"
     1033msgstr ""
     1034
    9631035#: includes/loan-calculator-misc-functions.php:202
    964 msgid "Lesotho loti"
    965 msgstr ""
    966 
    967 #: includes/loan-calculator-misc-functions.php:201
    9681036msgid "Liberian dollar"
    9691037msgstr ""
    9701038
    971 #: includes/loan-calculator-misc-functions.php:203
     1039#: includes/loan-calculator-misc-functions.php:204
    9721040msgid "Libyan dinar"
    9731041msgstr ""
    9741042
    975 #: includes/loan-calculator-misc-functions.php:90
     1043#: includes/loan-calculator-misc-functions.php:91
    9761044msgid "Line "
    9771045msgstr ""
    9781046
    979 #: includes/admin/forms/ww-loan-calculator-setting.php:1083
     1047#: includes/admin/forms/ww-loan-calculator-setting.php:1237
    9801048msgid "Link"
    9811049msgstr ""
    9821050
    983 #: loan-calculator-wp.php:148
     1051#: loan-calculator-wp.php:145
    9841052msgid "Loan Amortization Table"
    9851053msgstr ""
    9861054
    987 #: includes/admin/forms/ww-loan-calculator-setting.php:1006
     1055#: includes/admin/forms/ww-loan-calculator-setting.php:1160
    9881056msgid "Loan Amortization Table Tooltip"
    9891057msgstr ""
    9901058
    991 #: loan-calculator-wp.php:222
    992 #: includes/admin/forms/ww-loan-calculator-setting.php:530
     1059#: loan-calculator-wp.php:219
     1060#: includes/admin/forms/ww-loan-calculator-setting.php:667
    9931061msgid "Loan Amount"
    9941062msgstr ""
    9951063
    996 #: includes/admin/forms/ww-loan-calculator-setting.php:522
     1064#: includes/admin/forms/ww-loan-calculator-setting.php:659
    9971065msgid "Loan Amount Label"
    9981066msgstr ""
    9991067
    1000 #: includes/admin/forms/ww-loan-calculator-setting.php:546
     1068#: includes/admin/forms/ww-loan-calculator-setting.php:683
    10011069msgid "Loan Amount Max Value"
    10021070msgstr ""
    10031071
    1004 #: includes/admin/forms/ww-loan-calculator-setting.php:538
     1072#: includes/admin/forms/ww-loan-calculator-setting.php:675
    10051073msgid "Loan Amount Min Value"
    10061074msgstr ""
    10071075
    1008 #: includes/admin/forms/ww-loan-calculator-setting.php:554
     1076#: includes/admin/forms/ww-loan-calculator-setting.php:691
    10091077msgid "Loan Amount Tooltip"
    10101078msgstr ""
    10111079
    1012 #: includes/admin/class-loan-calculator-admin.php:32
    1013 #: includes/admin/class-loan-calculator-admin.php:34
    1014 #: includes/admin/class-loan-calculator-admin.php:34
     1080#: 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
    10151083msgid "Loan Calculator"
    10161084msgstr ""
     
    10201088msgstr ""
    10211089
    1022 #: loan-calculator-wp.php:145
     1090#: loan-calculator-wp.php:142
    10231091msgid "Loan Product Features"
    10241092msgstr ""
    10251093
    1026 #: includes/admin/forms/ww-loan-calculator-setting.php:562
     1094#: includes/admin/forms/ww-loan-calculator-setting.php:699
    10271095msgid "Loan Term"
    10281096msgstr ""
    10291097
    1030 #: includes/admin/forms/ww-loan-calculator-setting.php:599
     1098#: includes/admin/forms/ww-loan-calculator-setting.php:736
    10311099msgid "Loan Term Max Value"
    10321100msgstr ""
    10331101
    1034 #: includes/admin/forms/ww-loan-calculator-setting.php:583
     1102#: includes/admin/forms/ww-loan-calculator-setting.php:720
    10351103msgid "Loan Term Min Value"
    10361104msgstr ""
    10371105
    1038 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:313
     1106#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:353
    10391107msgid "Loan Terms"
    10401108msgstr ""
    10411109
    1042 #: includes/admin/forms/ww-loan-calculator-setting.php:615
     1110#: includes/admin/forms/ww-loan-calculator-setting.php:752
    10431111msgid "Loan Terms Tooltip"
    10441112msgstr ""
    10451113
     1114#: includes/loan-calculator-misc-functions.php:211
     1115msgid "Macanese pataca"
     1116msgstr ""
     1117
     1118#: includes/loan-calculator-misc-functions.php:208
     1119msgid "Macedonian denar"
     1120msgstr ""
     1121
     1122#: includes/loan-calculator-misc-functions.php:207
     1123msgid "Malagasy ariary"
     1124msgstr ""
     1125
     1126#: includes/loan-calculator-misc-functions.php:215
     1127msgid "Malawian kwacha"
     1128msgstr ""
     1129
     1130#: includes/loan-calculator-misc-functions.php:217
     1131msgid "Malaysian ringgit"
     1132msgstr ""
     1133
     1134#: includes/loan-calculator-misc-functions.php:214
     1135msgid "Maldivian rufiyaa"
     1136msgstr ""
     1137
     1138#: includes/loan-calculator-misc-functions.php:180
     1139msgid "Manx pound"
     1140msgstr ""
     1141
     1142#: includes/loan-calculator-misc-functions.php:212
     1143msgid "Mauritanian ouguiya"
     1144msgstr ""
     1145
     1146#: includes/loan-calculator-misc-functions.php:213
     1147msgid "Mauritian rupee"
     1148msgstr ""
     1149
     1150#: includes/loan-calculator-misc-functions.php:216
     1151msgid "Mexican peso"
     1152msgstr ""
     1153
     1154#: includes/admin/forms/ww-loan-calculator-setting.php:271
     1155#: includes/admin/forms/ww-loan-calculator-setting.php:1308
     1156msgid "Misc Settings"
     1157msgstr ""
     1158
     1159#: includes/loan-calculator-misc-functions.php:206
     1160msgid "Moldovan leu"
     1161msgstr ""
     1162
    10461163#: includes/loan-calculator-misc-functions.php:210
    1047 msgid "Macanese pataca"
    1048 msgstr ""
    1049 
    1050 #: includes/loan-calculator-misc-functions.php:207
    1051 msgid "Macedonian denar"
    1052 msgstr ""
    1053 
    1054 #: includes/loan-calculator-misc-functions.php:206
    1055 msgid "Malagasy ariary"
    1056 msgstr ""
    1057 
    1058 #: includes/loan-calculator-misc-functions.php:214
    1059 msgid "Malawian kwacha"
    1060 msgstr ""
    1061 
    1062 #: includes/loan-calculator-misc-functions.php:216
    1063 msgid "Malaysian ringgit"
    1064 msgstr ""
    1065 
    1066 #: includes/loan-calculator-misc-functions.php:213
    1067 msgid "Maldivian rufiyaa"
    1068 msgstr ""
    1069 
    1070 #: includes/loan-calculator-misc-functions.php:179
    1071 msgid "Manx pound"
    1072 msgstr ""
    1073 
    1074 #: includes/loan-calculator-misc-functions.php:211
    1075 msgid "Mauritanian ouguiya"
    1076 msgstr ""
    1077 
    1078 #: includes/loan-calculator-misc-functions.php:212
    1079 msgid "Mauritian rupee"
    1080 msgstr ""
    1081 
    1082 #: includes/loan-calculator-misc-functions.php:215
    1083 msgid "Mexican peso"
    1084 msgstr ""
    1085 
    1086 #: includes/admin/forms/ww-loan-calculator-setting.php:230
    1087 #: includes/admin/forms/ww-loan-calculator-setting.php:1154
    1088 msgid "Misc Settings"
    1089 msgstr ""
    1090 
    1091 #: includes/loan-calculator-misc-functions.php:205
    1092 msgid "Moldovan leu"
    1093 msgstr ""
    1094 
    1095 #: includes/loan-calculator-misc-functions.php:209
    10961164msgid "Mongolian t&ouml;gr&ouml;g"
    10971165msgstr ""
    10981166
    1099 #: includes/class-ww-loan-calculator-public.php:99
     1167#: includes/class-ww-loan-calculator-public.php:122
    11001168msgid "Month(s)"
    11011169msgstr ""
    11021170
    11031171#: includes/loan-calculator-misc-functions.php:43
    1104 #: includes/admin/forms/ww-loan-calculator-setting.php:365
     1172#: includes/admin/forms/ww-loan-calculator-setting.php:406
    11051173msgid "Monthly"
    11061174msgstr ""
    11071175
    1108 #: loan-calculator-wp.php:111
     1176#: loan-calculator-wp.php:108
    11091177msgid "Monthly fee"
    11101178msgstr ""
    11111179
    1112 #: includes/admin/forms/ww-loan-calculator-setting.php:933
     1180#: includes/admin/forms/ww-loan-calculator-setting.php:1087
    11131181msgid "Monthly Fee Label"
    11141182msgstr ""
     
    11181186msgstr ""
    11191187
    1120 #: includes/admin/forms/ww-loan-calculator-setting.php:755
     1188#: includes/admin/forms/ww-loan-calculator-setting.php:909
    11211189msgid "Monthly Rate"
    11221190msgstr ""
    11231191
    1124 #: includes/loan-calculator-misc-functions.php:204
     1192#: includes/loan-calculator-misc-functions.php:205
    11251193msgid "Moroccan dirham"
    11261194msgstr ""
    11271195
    1128 #: includes/loan-calculator-misc-functions.php:217
     1196#: includes/loan-calculator-misc-functions.php:218
    11291197msgid "Mozambican metical"
    11301198msgstr ""
    11311199
    1132 #: includes/loan-calculator-misc-functions.php:218
     1200#: includes/loan-calculator-misc-functions.php:219
    11331201msgid "Namibian dollar"
    11341202msgstr ""
    11351203
     1204#: includes/loan-calculator-misc-functions.php:223
     1205msgid "Nepalese rupee"
     1206msgstr ""
     1207
     1208#: includes/loan-calculator-misc-functions.php:119
     1209msgid "Netherlands Antillean guilder"
     1210msgstr ""
     1211
     1212#: includes/loan-calculator-misc-functions.php:260
     1213msgid "New Taiwan dollar"
     1214msgstr ""
     1215
     1216#: includes/loan-calculator-misc-functions.php:224
     1217msgid "New Zealand dollar"
     1218msgstr ""
     1219
     1220#: includes/loan-calculator-misc-functions.php:221
     1221msgid "Nicaraguan c&oacute;rdoba"
     1222msgstr ""
     1223
     1224#: includes/loan-calculator-misc-functions.php:220
     1225msgid "Nigerian naira"
     1226msgstr ""
     1227
     1228#: includes/admin/class-loan-calculator-admin.php:76
     1229#: includes/admin/class-loan-calculator-admin.php:90
     1230msgid "No, thanks"
     1231msgstr ""
     1232
     1233#: includes/loan-calculator-misc-functions.php:194
     1234msgid "North Korean won"
     1235msgstr ""
     1236
    11361237#: includes/loan-calculator-misc-functions.php:222
    1137 msgid "Nepalese rupee"
    1138 msgstr ""
    1139 
    1140 #: includes/loan-calculator-misc-functions.php:118
    1141 msgid "Netherlands Antillean guilder"
    1142 msgstr ""
    1143 
    1144 #: includes/loan-calculator-misc-functions.php:259
    1145 msgid "New Taiwan dollar"
    1146 msgstr ""
    1147 
    1148 #: includes/loan-calculator-misc-functions.php:223
    1149 msgid "New Zealand dollar"
    1150 msgstr ""
    1151 
    1152 #: includes/loan-calculator-misc-functions.php:220
    1153 msgid "Nicaraguan c&oacute;rdoba"
    1154 msgstr ""
    1155 
    1156 #: includes/loan-calculator-misc-functions.php:219
    1157 msgid "Nigerian naira"
    1158 msgstr ""
    1159 
    1160 #: includes/admin/class-loan-calculator-admin.php:82
    1161 #: includes/admin/class-loan-calculator-admin.php:96
    1162 msgid "No, thanks"
    1163 msgstr ""
    1164 
    1165 #: includes/loan-calculator-misc-functions.php:193
    1166 msgid "North Korean won"
    1167 msgstr ""
    1168 
    1169 #: includes/loan-calculator-misc-functions.php:221
    11701238msgid "Norwegian krone"
    11711239msgstr ""
    11721240
    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
    11951266msgid "Note"
    11961267msgstr ""
    11971268
    1198 #: includes/loan-calculator-misc-functions.php:224
     1269#: includes/loan-calculator-misc-functions.php:225
    11991270msgid "Omani rial"
    12001271msgstr ""
    12011272
    1202 #: loan-calculator-wp.php:143
    1203 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:770
     1273#: loan-calculator-wp.php:140
     1274#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:814
    12041275msgid "over"
    12051276msgstr ""
    12061277
     1278#: includes/loan-calculator-misc-functions.php:230
     1279msgid "Pakistani rupee"
     1280msgstr ""
     1281
     1282#: includes/loan-calculator-misc-functions.php:226
     1283msgid "Panamanian balboa"
     1284msgstr ""
     1285
     1286#: includes/loan-calculator-misc-functions.php:228
     1287msgid "Papua New Guinean kina"
     1288msgstr ""
     1289
     1290#: includes/loan-calculator-misc-functions.php:233
     1291msgid "Paraguayan guaran&iacute;"
     1292msgstr ""
     1293
     1294#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:729
     1295msgid "Payment"
     1296msgstr ""
     1297
     1298#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:561
     1299msgid "Payment Mode"
     1300msgstr ""
     1301
     1302#: includes/admin/forms/ww-loan-calculator-setting.php:917
     1303msgid "Payment Mode Tooltip"
     1304msgstr ""
     1305
     1306#: loan-calculator-wp.php:134
     1307msgid "Per month for"
     1308msgstr ""
     1309
     1310#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:728
     1311msgid "Period"
     1312msgstr ""
     1313
    12071314#: includes/loan-calculator-misc-functions.php:229
    1208 msgid "Pakistani rupee"
    1209 msgstr ""
    1210 
    1211 #: includes/loan-calculator-misc-functions.php:225
    1212 msgid "Panamanian balboa"
    1213 msgstr ""
    1214 
    1215 #: includes/loan-calculator-misc-functions.php:227
    1216 msgid "Papua New Guinean kina"
    1217 msgstr ""
    1218 
    1219 #: includes/loan-calculator-misc-functions.php:232
    1220 msgid "Paraguayan guaran&iacute;"
    1221 msgstr ""
    1222 
    1223 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:685
    1224 msgid "Payment"
    1225 msgstr ""
    1226 
    1227 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:521
    1228 msgid "Payment Mode"
    1229 msgstr ""
    1230 
    1231 #: includes/admin/forms/ww-loan-calculator-setting.php:763
    1232 msgid "Payment Mode Tooltip"
    1233 msgstr ""
    1234 
    1235 #: loan-calculator-wp.php:137
    1236 msgid "Per month for"
    1237 msgstr ""
    1238 
    1239 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:684
    1240 msgid "Period"
    1241 msgstr ""
    1242 
    1243 #: includes/loan-calculator-misc-functions.php:228
    12441315msgid "Philippine peso"
    12451316msgstr ""
    12461317
    1247 #: includes/loan-calculator-misc-functions.php:87
     1318#: includes/loan-calculator-misc-functions.php:88
    12481319msgid "Pie"
    12491320msgstr ""
    12501321
    1251 #: loan-calculator-wp.php:155
     1322#: loan-calculator-wp.php:152
    12521323msgid "Please choose payment mode of the loan."
    12531324msgstr ""
    12541325
    1255 #: loan-calculator-wp.php:154
     1326#: includes/class-ww-loan-calculator-scripts.php:69
     1327msgid "Please Enter About This Calculator Label"
     1328msgstr ""
     1329
     1330#: includes/class-ww-loan-calculator-scripts.php:67
     1331msgid "Please Enter Application Fee"
     1332msgstr ""
     1333
     1334#: includes/class-ww-loan-calculator-scripts.php:81
     1335msgid "Please Enter Application Fee Label"
     1336msgstr ""
     1337
     1338#: includes/class-ww-loan-calculator-scripts.php:75
     1339msgid "Please Enter Balloon Amount Label"
     1340msgstr ""
     1341
     1342#: includes/class-ww-loan-calculator-scripts.php:72
     1343msgid "Please Enter Balloon Amount Percentage"
     1344msgstr ""
     1345
     1346#: includes/class-ww-loan-calculator-scripts.php:90
     1347msgid "Please Enter Contact Form Content"
     1348msgstr ""
     1349
     1350#: includes/class-ww-loan-calculator-scripts.php:89
     1351msgid "Please Enter Contact Popup Button Label"
     1352msgstr ""
     1353
     1354#: includes/class-ww-loan-calculator-scripts.php:91
     1355msgid "Please Enter Contact URL"
     1356msgstr ""
     1357
     1358#: includes/class-ww-loan-calculator-scripts.php:76
     1359#: includes/class-ww-loan-calculator-scripts.php:92
     1360msgid "Please Enter Down Payment Label"
     1361msgstr ""
     1362
     1363#: includes/class-ww-loan-calculator-scripts.php:93
     1364msgid "Please Enter Down Payment Maximum"
     1365msgstr ""
     1366
     1367#: includes/class-ww-loan-calculator-scripts.php:77
     1368msgid "Please Enter Extra Payment Label"
     1369msgstr ""
     1370
     1371#: includes/class-ww-loan-calculator-scripts.php:94
     1372msgid "Please Enter Extra Payment Maximum"
     1373msgstr ""
     1374
     1375#: includes/class-ww-loan-calculator-scripts.php:80
     1376msgid "Please Enter Extra Payment Save Interest Label"
     1377msgstr ""
     1378
     1379#: includes/class-ww-loan-calculator-scripts.php:78
     1380msgid "Please Enter Extra Payment Save Time Label"
     1381msgstr ""
     1382
     1383#: includes/class-ww-loan-calculator-scripts.php:79
     1384msgid "Please Enter Extra Payment Total Label"
     1385msgstr ""
     1386
     1387#: includes/class-ww-loan-calculator-scripts.php:66
     1388msgid "Please Enter Interest Rate Maximum Value"
     1389msgstr ""
     1390
     1391#: includes/class-ww-loan-calculator-scripts.php:65
     1392msgid "Please Enter Interest Rate Minimum Value"
     1393msgstr ""
     1394
     1395#: includes/class-ww-loan-calculator-scripts.php:64
     1396msgid "Please Enter Interest Rate Value"
     1397msgstr ""
     1398
     1399#: includes/class-ww-loan-calculator-scripts.php:86
     1400msgid "Please Enter Loan Amortization Table Tooltip"
     1401msgstr ""
     1402
     1403#: includes/class-ww-loan-calculator-scripts.php:60
     1404msgid "Please Enter Loan Amount Field Label"
     1405msgstr ""
     1406
     1407#: includes/class-ww-loan-calculator-scripts.php:63
     1408msgid "Please Enter Loan Amount Maximum Value"
     1409msgstr ""
     1410
     1411#: includes/class-ww-loan-calculator-scripts.php:62
     1412msgid "Please Enter Loan Amount Minimum Value"
     1413msgstr ""
     1414
     1415#: includes/class-ww-loan-calculator-scripts.php:61
     1416msgid "Please Enter Loan Amount Value"
     1417msgstr ""
     1418
     1419#: includes/class-ww-loan-calculator-scripts.php:82
     1420msgid "Please Enter Monthly Fee Label"
     1421msgstr ""
     1422
     1423#: includes/class-ww-loan-calculator-scripts.php:68
     1424msgid "Please Enter Monthly Rate"
     1425msgstr ""
     1426
     1427#: includes/class-ww-loan-calculator-scripts.php:70
     1428msgid "Please Enter Print Label"
     1429msgstr ""
     1430
     1431#: includes/class-ww-loan-calculator-scripts.php:73
     1432msgid "Please Enter Regular Repayment Label"
     1433msgstr ""
     1434
     1435#: includes/class-ww-loan-calculator-scripts.php:85
     1436msgid "Please Enter Repayment Chart Tooltip"
     1437msgstr ""
     1438
     1439#: includes/class-ww-loan-calculator-scripts.php:71
     1440msgid "Please Enter Summery Chart Label"
     1441msgstr ""
     1442
     1443#: loan-calculator-wp.php:151
    12561444msgid "Please enter the number of years in which you plan to repay the loan."
    12571445msgstr ""
    12581446
    1259 #: loan-calculator-wp.php:153
     1447#: includes/class-ww-loan-calculator-scripts.php:84
     1448msgid "Please Enter Total Fees Label"
     1449msgstr ""
     1450
     1451#: includes/class-ww-loan-calculator-scripts.php:74
     1452msgid "Please Enter Total Interest Payable Label"
     1453msgstr ""
     1454
     1455#: includes/class-ww-loan-calculator-scripts.php:83
     1456msgid "Please Enter Total Regular Fees Label"
     1457msgstr ""
     1458
     1459#: includes/class-ww-loan-calculator-scripts.php:87
     1460msgid "Please Enter Video Tab Tooltip"
     1461msgstr ""
     1462
     1463#: loan-calculator-wp.php:150
    12601464msgid "Please enter your loan amount here."
    12611465msgstr ""
    12621466
    1263 #: includes/admin/forms/ww-loan-calculator-setting.php:1152
     1467#: includes/class-ww-loan-calculator-scripts.php:88
     1468msgid "Please Enter Youtube Video Link"
     1469msgstr ""
     1470
     1471#: includes/admin/forms/ww-loan-calculator-setting.php:1306
    12641472msgid "Plugin Misc Settings"
    12651473msgstr ""
    12661474
    1267 #: includes/loan-calculator-misc-functions.php:91
     1475#: includes/loan-calculator-misc-functions.php:92
    12681476msgid "PolarArea "
    12691477msgstr ""
    12701478
    1271 #: includes/loan-calculator-misc-functions.php:230
     1479#: includes/loan-calculator-misc-functions.php:231
    12721480msgid "Polish z&#x142;oty"
    12731481msgstr ""
    12741482
    1275 #: includes/admin/forms/ww-loan-calculator-setting.php:1079
     1483#: includes/admin/forms/ww-loan-calculator-setting.php:1233
    12761484msgid "Popup"
    12771485msgstr ""
    12781486
    1279 #: includes/loan-calculator-misc-functions.php:162
     1487#: includes/loan-calculator-misc-functions.php:163
    12801488msgid "Pound sterling"
    12811489msgstr ""
    12821490
    1283 #: includes/class-ww-loan-calculator-public.php:102
     1491#: includes/class-ww-loan-calculator-public.php:125
    12841492msgid "Principal"
    12851493msgstr ""
    12861494
    1287 #: includes/admin/forms/ww-loan-calculator-setting.php:474
     1495#: includes/admin/forms/ww-loan-calculator-setting.php:604
     1496msgid "Principal Fill Color"
     1497msgstr ""
     1498
     1499#: includes/admin/forms/ww-loan-calculator-setting.php:515
    12881500msgid "Principal Graph Border Color"
    12891501msgstr ""
    12901502
    1291 #: includes/admin/forms/ww-loan-calculator-setting.php:466
     1503#: includes/admin/forms/ww-loan-calculator-setting.php:507
    12921504msgid "Principal Graph Fill Color"
    12931505msgstr ""
    12941506
    1295 #: loan-calculator-wp.php:161 loan-calculator-wp.php:188
     1507#: loan-calculator-wp.php:158 loan-calculator-wp.php:185
    12961508msgid "Print"
    12971509msgstr ""
    12981510
    1299 #: includes/admin/forms/ww-loan-calculator-setting.php:328
     1511#: includes/admin/forms/ww-loan-calculator-setting.php:369
    13001512msgid "Print Option Label"
    13011513msgstr ""
    13021514
    1303 #: includes/loan-calculator-misc-functions.php:233
     1515#: includes/loan-calculator-misc-functions.php:234
    13041516msgid "Qatari riyal"
    13051517msgstr ""
    13061518
    13071519#: includes/loan-calculator-misc-functions.php:44
    1308 #: includes/admin/forms/ww-loan-calculator-setting.php:367
     1520#: includes/admin/forms/ww-loan-calculator-setting.php:408
    13091521msgid "Quarterly"
    13101522msgstr ""
     
    13141526msgstr ""
    13151527
    1316 #: includes/loan-calculator-misc-functions.php:92
     1528#: includes/loan-calculator-misc-functions.php:93
    13171529msgid "Radar "
    13181530msgstr ""
    13191531
    1320 #: includes/admin/forms/ww-loan-calculator-setting.php:843
     1532#: includes/admin/forms/ww-loan-calculator-setting.php:997
    13211533msgid "Regular Repayment Label"
    13221534msgstr ""
    13231535
    1324 #: includes/admin/forms/ww-loan-calculator-setting.php:1184
     1536#: includes/admin/forms/ww-loan-calculator-setting.php:1338
    13251537msgid "Remove All Range Sliders"
    13261538msgstr ""
    13271539
    1328 #: includes/admin/forms/ww-loan-calculator-setting.php:1176
     1540#: includes/admin/forms/ww-loan-calculator-setting.php:1330
    13291541msgid "Remove Decimal Points"
    13301542msgstr ""
    13311543
    1332 #: loan-calculator-wp.php:147
     1544#: loan-calculator-wp.php:144
    13331545msgid "Repayment Chart"
    13341546msgstr ""
    13351547
    1336 #: includes/admin/forms/ww-loan-calculator-setting.php:990
     1548#: includes/admin/forms/ww-loan-calculator-setting.php:1144
    13371549msgid "Repayment Chart Tooltip"
    13381550msgstr ""
    13391551
    1340 #: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:336
     1552#: includes/admin/forms/theme-templates/new-theme/ww-loan-calculator-loan-new-theme-form.php:376
    13411553msgid "Repayment Frequency"
    13421554msgstr ""
    13431555
    1344 #: includes/loan-calculator-misc-functions.php:234
     1556#: includes/loan-calculator-misc-functions.php:235
    13451557msgid "Romanian leu"
    13461558msgstr ""
    13471559
     1560#: includes/loan-calculator-misc-functions.php:237
     1561msgid "Russian ruble"
     1562msgstr ""
     1563
     1564#: includes/loan-calculator-misc-functions.php:238
     1565msgid "Rwandan franc"
     1566msgstr ""
     1567
     1568#: includes/loan-calculator-misc-functions.php:250
     1569msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe dobra"
     1570msgstr ""
     1571
     1572#: includes/loan-calculator-misc-functions.php:245
     1573msgid "Saint Helena pound"
     1574msgstr ""
     1575
     1576#: includes/loan-calculator-misc-functions.php:271
     1577msgid "Samoan t&#x101;l&#x101;"
     1578msgstr ""
     1579
     1580#: includes/loan-calculator-misc-functions.php:239
     1581msgid "Saudi riyal"
     1582msgstr ""
     1583
     1584#: includes/loan-calculator-misc-functions.php:94
     1585msgid "Scatter "
     1586msgstr ""
     1587
     1588#: includes/admin/forms/ww-loan-calculator-setting.php:438
     1589msgid "Select Font"
     1590msgstr ""
     1591
     1592#: includes/admin/forms/ww-loan-calculator-setting.php:567
     1593msgid "Select Theme"
     1594msgstr ""
     1595
     1596#: includes/admin/forms/ww-loan-calculator-setting.php:483
     1597msgid "Selected Color"
     1598msgstr ""
     1599
    13481600#: includes/loan-calculator-misc-functions.php:236
    1349 msgid "Russian ruble"
    1350 msgstr ""
    1351 
    1352 #: includes/loan-calculator-misc-functions.php:237
    1353 msgid "Rwandan franc"
    1354 msgstr ""
    1355 
    1356 #: includes/loan-calculator-misc-functions.php:249
    1357 msgid "S&atilde;o Tom&eacute; and Pr&iacute;ncipe dobra"
    1358 msgstr ""
    1359 
    1360 #: includes/loan-calculator-misc-functions.php:244
    1361 msgid "Saint Helena pound"
    1362 msgstr ""
    1363 
    1364 #: includes/loan-calculator-misc-functions.php:270
    1365 msgid "Samoan t&#x101;l&#x101;"
    1366 msgstr ""
    1367 
    1368 #: includes/loan-calculator-misc-functions.php:238
    1369 msgid "Saudi riyal"
    1370 msgstr ""
    1371 
    1372 #: includes/loan-calculator-misc-functions.php:93
    1373 msgid "Scatter "
    1374 msgstr ""
    1375 
    1376 #: includes/admin/forms/ww-loan-calculator-setting.php:397
    1377 msgid "Select Font"
    1378 msgstr ""
    1379 
    1380 #: includes/admin/forms/ww-loan-calculator-setting.php:499
    1381 msgid "Select Theme"
    1382 msgstr ""
    1383 
    1384 #: includes/admin/forms/ww-loan-calculator-setting.php:442
    1385 msgid "Selected Color"
    1386 msgstr ""
    1387 
    1388 #: includes/loan-calculator-misc-functions.php:235
    13891601msgid "Serbian dinar"
    13901602msgstr ""
    13911603
    1392 #: includes/admin/forms/ww-loan-calculator-setting.php:837
     1604#: includes/admin/forms/ww-loan-calculator-setting.php:991
    13931605msgid "Set the calculation results labels"
    13941606msgstr ""
    13951607
    1396 #: includes/admin/forms/ww-loan-calculator-setting.php:516
     1608#: includes/admin/forms/ww-loan-calculator-setting.php:652
    13971609msgid "Set the default value for all amount text fields"
    13981610msgstr ""
    13991611
    1400 #: includes/loan-calculator-misc-functions.php:240
     1612#: includes/loan-calculator-misc-functions.php:241
    14011613msgid "Seychellois rupee"
    14021614msgstr ""
    14031615
    1404 #: includes/admin/forms/ww-loan-calculator-setting.php:261
     1616#: includes/admin/forms/ww-loan-calculator-setting.php:302
    14051617msgid "Shortcode"
    14061618msgstr ""
    14071619
    1408 #: includes/admin/forms/ww-loan-calculator-setting.php:910
     1620#: includes/admin/forms/ww-loan-calculator-setting.php:1064
    14091621msgid ""
    14101622"Show application fees, monthly fees, total regular fees and total fees. "
     
    14121624msgstr ""
    14131625
    1414 #: includes/admin/forms/ww-loan-calculator-setting.php:1109
     1626#: includes/admin/forms/ww-loan-calculator-setting.php:1263
    14151627msgid "Show disclaimer notice at the end of calculator."
    14161628msgstr ""
    14171629
    1418 #: includes/loan-calculator-misc-functions.php:245
     1630#: includes/loan-calculator-misc-functions.php:246
    14191631msgid "Sierra Leonean leone"
    14201632msgstr ""
    14211633
     1634#: includes/loan-calculator-misc-functions.php:244
     1635msgid "Singapore dollar"
     1636msgstr ""
     1637
     1638#: includes/loan-calculator-misc-functions.php:227
     1639msgid "Sol"
     1640msgstr ""
     1641
     1642#: includes/loan-calculator-misc-functions.php:240
     1643msgid "Solomon Islands dollar"
     1644msgstr ""
     1645
     1646#: includes/loan-calculator-misc-functions.php:247
     1647msgid "Somali shilling"
     1648msgstr ""
     1649
     1650#: includes/loan-calculator-misc-functions.php:277
     1651msgid "South African rand"
     1652msgstr ""
     1653
     1654#: includes/loan-calculator-misc-functions.php:195
     1655msgid "South Korean won"
     1656msgstr ""
     1657
     1658#: includes/loan-calculator-misc-functions.php:249
     1659msgid "South Sudanese pound"
     1660msgstr ""
     1661
     1662#: includes/loan-calculator-misc-functions.php:201
     1663msgid "Sri Lankan rupee"
     1664msgstr ""
     1665
     1666#: includes/loan-calculator-misc-functions.php:87
     1667msgid "Stacked Bar"
     1668msgstr ""
     1669
     1670#: includes/loan-calculator-misc-functions.php:242
     1671msgid "Sudanese pound"
     1672msgstr ""
     1673
     1674#: includes/admin/forms/ww-loan-calculator-setting.php:596
     1675msgid "Summary Chart Main Label"
     1676msgstr ""
     1677
     1678#: includes/admin/forms/ww-loan-calculator-setting.php:586
     1679msgid "Summary Chart Option"
     1680msgstr ""
     1681
     1682#: includes/admin/forms/ww-loan-calculator-setting.php:578
     1683msgid "Summary Chart Visual Settings"
     1684msgstr ""
     1685
     1686#: includes/loan-calculator-misc-functions.php:248
     1687msgid "Surinamese dollar"
     1688msgstr ""
     1689
     1690#: includes/loan-calculator-misc-functions.php:252
     1691msgid "Swazi lilangeni"
     1692msgstr ""
     1693
    14221694#: 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"
     1695msgid "Swedish krona"
     1696msgstr ""
     1697
     1698#: includes/loan-calculator-misc-functions.php:144
     1699msgid "Swiss franc"
    14601700msgstr ""
    14611701
    14621702#: includes/loan-calculator-misc-functions.php:251
    1463 msgid "Swazi lilangeni"
    1464 msgstr ""
    1465 
    1466 #: includes/loan-calculator-misc-functions.php:242
    1467 msgid "Swedish krona"
    1468 msgstr ""
    1469 
    1470 #: includes/loan-calculator-misc-functions.php:143
    1471 msgid "Swiss franc"
    1472 msgstr ""
    1473 
    1474 #: includes/loan-calculator-misc-functions.php:250
    14751703msgid "Syrian pound"
    14761704msgstr ""
    14771705
    1478 #: includes/admin/forms/ww-loan-calculator-setting.php:228
     1706#: includes/admin/forms/ww-loan-calculator-setting.php:269
    14791707msgid "Tab Field"
    14801708msgstr ""
    14811709
    1482 #: includes/admin/forms/ww-loan-calculator-setting.php:961
     1710#: includes/admin/forms/ww-loan-calculator-setting.php:1115
    14831711msgid "Tab Settings Field"
    14841712msgstr ""
    14851713
     1714#: includes/loan-calculator-misc-functions.php:254
     1715msgid "Tajikistani somoni"
     1716msgstr ""
     1717
     1718#: includes/loan-calculator-misc-functions.php:261
     1719msgid "Tanzanian shilling"
     1720msgstr ""
     1721
    14861722#: includes/loan-calculator-misc-functions.php:253
    1487 msgid "Tajikistani somoni"
    1488 msgstr ""
    1489 
    1490 #: includes/loan-calculator-misc-functions.php:260
    1491 msgid "Tanzanian shilling"
    1492 msgstr ""
    1493 
    1494 #: includes/loan-calculator-misc-functions.php:252
    14951723msgid "Thai baht"
    14961724msgstr ""
    14971725
    1498 #: loan-calculator-wp.php:157
     1726#: loan-calculator-wp.php:154
    14991727msgid ""
    15001728"The interest rate will default to the product you selected. You can also "
     
    15031731msgstr ""
    15041732
    1505 #: loan-calculator-wp.php:152
     1733#: loan-calculator-wp.php:149
    15061734msgid ""
    15071735"The repayment amount shown using this calculator is an estimate, based on "
     
    15131741msgstr ""
    15141742
    1515 #: loan-calculator-wp.php:260
     1743#: loan-calculator-wp.php:257
    15161744msgid "Time Saved From Extra Payments"
    15171745msgstr ""
    15181746
    1519 #: includes/admin/forms/ww-loan-calculator-setting.php:626
     1747#: includes/admin/forms/ww-loan-calculator-setting.php:763
    15201748msgid ""
    15211749"To enable the balloon amount in the loan calculator form, uncheck this box."
    15221750msgstr ""
    15231751
     1752#: includes/loan-calculator-misc-functions.php:257
     1753msgid "Tongan pa&#x2bb;anga"
     1754msgstr ""
     1755
     1756#: loan-calculator-wp.php:271
     1757msgid "Total Extra Payments"
     1758msgstr ""
     1759
     1760#: loan-calculator-wp.php:110
     1761msgid "Total fees"
     1762msgstr ""
     1763
     1764#: includes/admin/forms/ww-loan-calculator-setting.php:1103
     1765msgid "Total Fees Label"
     1766msgstr ""
     1767
     1768#: includes/class-ww-loan-calculator-public.php:150
     1769msgid "Total Interest"
     1770msgstr ""
     1771
     1772#: loan-calculator-wp.php:139
     1773msgid "Total interest payable"
     1774msgstr ""
     1775
     1776#: includes/admin/forms/ww-loan-calculator-setting.php:1006
     1777msgid "Total Interest Payable Label"
     1778msgstr ""
     1779
     1780#: loan-calculator-wp.php:109
     1781msgid "Total regular fees"
     1782msgstr ""
     1783
     1784#: includes/admin/forms/ww-loan-calculator-setting.php:1095
     1785msgid "Total Regular Fees Label"
     1786msgstr ""
     1787
     1788#: includes/loan-calculator-misc-functions.php:232
     1789msgid "Transnistrian ruble"
     1790msgstr ""
     1791
     1792#: includes/loan-calculator-misc-functions.php:259
     1793msgid "Trinidad and Tobago dollar"
     1794msgstr ""
     1795
    15241796#: includes/loan-calculator-misc-functions.php:256
    1525 msgid "Tongan pa&#x2bb;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"
     1797msgid "Tunisian dinar"
    15581798msgstr ""
    15591799
    15601800#: includes/loan-calculator-misc-functions.php:258
    1561 msgid "Trinidad and Tobago dollar"
     1801msgid "Turkish lira"
    15621802msgstr ""
    15631803
    15641804#: includes/loan-calculator-misc-functions.php:255
    1565 msgid "Tunisian dinar"
    1566 msgstr ""
    1567 
    1568 #: includes/loan-calculator-misc-functions.php:257
    1569 msgid "Turkish lira"
    1570 msgstr ""
    1571 
    1572 #: includes/loan-calculator-misc-functions.php:254
    15731805msgid "Turkmenistan manat"
    15741806msgstr ""
    15751807
     1808#: includes/loan-calculator-misc-functions.php:263
     1809msgid "Ugandan shilling"
     1810msgstr ""
     1811
    15761812#: includes/loan-calculator-misc-functions.php:262
    1577 msgid "Ugandan shilling"
    1578 msgstr ""
    1579 
    1580 #: includes/loan-calculator-misc-functions.php:261
    15811813msgid "Ukrainian hryvnia"
    15821814msgstr ""
    15831815
    1584 #: includes/loan-calculator-misc-functions.php:114
     1816#: includes/loan-calculator-misc-functions.php:115
    15851817msgid "United Arab Emirates dirham"
    15861818msgstr ""
    15871819
    1588 #: includes/loan-calculator-misc-functions.php:163
     1820#: includes/loan-calculator-misc-functions.php:164
    15891821msgid "United Kingdom (UK) pound"
    15901822msgstr ""
    15911823
    1592 #: includes/loan-calculator-misc-functions.php:263
     1824#: includes/loan-calculator-misc-functions.php:264
    15931825msgid "United States (US) dollar"
    15941826msgstr ""
    15951827
    1596 #: includes/loan-calculator-misc-functions.php:264
     1828#: includes/loan-calculator-misc-functions.php:265
    15971829msgid "Uruguayan peso"
    15981830msgstr ""
    15991831
    1600 #: includes/loan-calculator-misc-functions.php:265
     1832#: includes/loan-calculator-misc-functions.php:266
    16011833msgid "Uzbekistani som"
    16021834msgstr ""
    16031835
     1836#: includes/loan-calculator-misc-functions.php:270
     1837msgid "Vanuatu vatu"
     1838msgstr ""
     1839
     1840#: includes/loan-calculator-misc-functions.php:267
     1841msgid "Venezuelan bol&iacute;var"
     1842msgstr ""
     1843
     1844#: loan-calculator-wp.php:143
     1845msgid "Video"
     1846msgstr ""
     1847
     1848#: includes/admin/forms/ww-loan-calculator-setting.php:1176
     1849msgid "Video Tab Tooltip"
     1850msgstr ""
     1851
    16041852#: includes/loan-calculator-misc-functions.php:269
    1605 msgid "Vanuatu vatu"
    1606 msgstr ""
    1607 
    1608 #: includes/loan-calculator-misc-functions.php:266
    1609 msgid "Venezuelan bol&iacute;var"
    1610 msgstr ""
    1611 
    1612 #: loan-calculator-wp.php:146
    1613 msgid "Video"
    1614 msgstr ""
    1615 
    1616 #: includes/admin/forms/ww-loan-calculator-setting.php:1022
    1617 msgid "Video Tab Tooltip"
    1618 msgstr ""
    1619 
    1620 #: includes/loan-calculator-misc-functions.php:268
    16211853msgid "Vietnamese &#x111;&#x1ed3;ng"
    16221854msgstr ""
    16231855
    16241856#: includes/loan-calculator-misc-functions.php:46
    1625 #: includes/admin/forms/ww-loan-calculator-setting.php:371
     1857#: includes/admin/forms/ww-loan-calculator-setting.php:412
    16261858msgid "Weekly"
    16271859msgstr ""
     
    16311863msgstr ""
    16321864
    1633 #: includes/loan-calculator-misc-functions.php:273
     1865#: includes/loan-calculator-misc-functions.php:274
    16341866msgid "West African CFA franc"
    16351867msgstr ""
    16361868
    1637 #: includes/admin/forms/ww-loan-calculator-setting.php:661
     1869#: includes/admin/forms/ww-loan-calculator-setting.php:798
    16381870msgid "With %  Amount"
    16391871msgstr ""
     
    16431875msgstr ""
    16441876
    1645 #: includes/class-ww-loan-calculator-public.php:100
     1877#: includes/class-ww-loan-calculator-public.php:123
    16461878msgid "Year(s)"
    16471879msgstr ""
    16481880
    16491881#: includes/loan-calculator-misc-functions.php:45
    1650 #: includes/admin/forms/ww-loan-calculator-setting.php:369
     1882#: includes/admin/forms/ww-loan-calculator-setting.php:410
    16511883msgid "Yearly"
    16521884msgstr ""
     
    16561888msgstr ""
    16571889
    1658 #: loan-calculator-wp.php:138
     1890#: loan-calculator-wp.php:135
    16591891msgid "years"
    16601892msgstr ""
    16611893
    1662 #: includes/loan-calculator-misc-functions.php:275
     1894#: includes/loan-calculator-misc-functions.php:276
    16631895msgid "Yemeni rial"
    16641896msgstr ""
    16651897
    1666 #: includes/admin/class-loan-calculator-admin.php:81
    1667 #: includes/admin/class-loan-calculator-admin.php:95
     1898#: includes/admin/class-loan-calculator-admin.php:75
     1899#: includes/admin/class-loan-calculator-admin.php:89
    16681900msgid "Yes, I'd love to!"
    16691901msgstr ""
    16701902
    1671 #: includes/admin/class-loan-calculator-admin.php:78
    1672 #: includes/admin/class-loan-calculator-admin.php:92
     1903#: includes/admin/class-loan-calculator-admin.php:72
     1904#: includes/admin/class-loan-calculator-admin.php:86
    16731905msgid ""
    16741906"You have been using Loan Calculator Plugin for a while Would you like to "
     
    16761908msgstr ""
    16771909
    1678 #: includes/admin/forms/ww-loan-calculator-setting.php:1030
     1910#: includes/admin/forms/ww-loan-calculator-setting.php:1184
    16791911msgid "Youtube Video Link"
    16801912msgstr ""
    16811913
    1682 #: includes/loan-calculator-misc-functions.php:277
     1914#: includes/loan-calculator-misc-functions.php:278
    16831915msgid "Zambian kwacha"
    16841916msgstr ""
    16851917
    1686 #: loan-calculator-wp.php:136
     1918#: loan-calculator-wp.php:133
    16871919msgid "{frequency} Payment"
    16881920msgstr ""
  • loan-calculator-wp/trunk/loan-calculator-wp.php

    r3196117 r3209029  
    44 * Plugin URI: https://www.worldwebtechnology.com/
    55 * 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.4
     6 * Version: 1.5.5
    77 * Author: World Web Technology
    88 * Author URI: https://www.worldwebtechnology.com/
     
    2727 */
    2828if (!defined('WW_LOAN_CALCULATOR_VERSION')) {
    29     define('WW_LOAN_CALCULATOR_VERSION', '1.5.4'); //version of plugin
     29    define('WW_LOAN_CALCULATOR_VERSION', '1.5.5'); //version of plugin
    3030}
    3131if (!defined('WW_LOAN_CALCULATOR_TEXT_DOMAIN')) { //check if variable is not defined previous then define it
     
    9696function ww_loan_calculator_register_activation()
    9797{
    98        
    99         //$plugin_data = get_plugin_data( __FILE__ ); 
    100         //$loan_calculator_db_version =  $plugin_data['Version'];
    101 
     98   
    10299    $loan_calculator_db_version = get_option( 'loan_calculator_db_version' );   
    103100
     
    163160        $loan_calculator_default_options['calculator_heading'] = esc_html__('Feel free to use our Equipment Finance Calculator', 'loan-calculator-wp');
    164161        $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.';
    183180        $loan_calculator_default_options['calculation_fee_setting_enable'] = '0';
    184181        $loan_calculator_default_options['delete_data_enable'] = '0';
     
    200197
    201198    if( $loan_calculator_db_version == '1.0.1' ) {
    202          
     199     
    203200        $loan_calculator_default_options = get_option( 'ww_loan_option' );
    204201
     
    212209
    213210    $loan_calculator_db_version = get_option( 'loan_calculator_db_version' );   
    214      
    215        
     211   
     212   
    216213    if( $loan_calculator_db_version == '1.0.2' || $loan_calculator_db_version == '1.3.9') {
    217214
     
    234231
    235232    $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'] = '';
    237241       
    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");
     318update_option('plugin_activation_time', $plugin_activate_time);
     319update_option('lc_avoid_notice', 0);
     320update_option('lc_rating_notice', 0);
     321update_option('last_notice_timestamp', 0);
    298322}
    299323
     
    346370   
    347371    ww_loan_calculator_register_activation();
    348  
     372    
    349373}
    350374add_action( 'plugins_loaded', 'ww_loan_upgrade_completed');
  • loan-calculator-wp/trunk/readme.txt

    r3198752 r3209029  
    1010Requires PHP:      7.4
    1111Tested up to:      6.6
    12 Stable tag:        1.5.4
     12Stable tag:        1.5.5
    1313License:           GPLv2 or later
    1414License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    15 Version:           1.5.4
     15Version:           1.5.5
    1616
    1717Loan / EMI Calculator for Home Loan and Personal Loan
     
    4949- Down Payment Option (Fixed Amount & With % Amount)
    5050- Extra Payment Option (pre payment)
     51- Break-up of Total Payment (Chart)
     52- Stacked bar Chart Option
    5153
    5254**Best Used For**
     
    121123== Changelog ==
    122124
     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
    123132= 1.5.4 (Nov 25, 2024) =
    124133* Corrected a typo in the label.
Note: See TracChangeset for help on using the changeset viewer.