Changeset 2210554
- Timestamp:
- 12/12/2019 05:51:52 AM (6 years ago)
- Location:
- idpay/trunk
- Files:
-
- 2 edited
-
index.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
idpay/trunk/index.php
r2197018 r2210554 5 5 * Plugin URI: https://idpay.my 6 6 * Description: Enable payment by salary deduction. Currently IDPay service is only available for customer that working as government servants in Malaysia. 7 * Version: 1. 77 * Version: 1.8 8 8 * Author: IDSB Digital Sdn. Bhd. 9 9 * Author URI: https://idsb.my … … 67 67 68 68 function init_form_fields() { 69 70 $min = 2; 71 $max = 60; 72 $tenures = array(); 73 $tenure = $min; 74 $tenor = $min - 1; 75 76 while( true ) { 77 $tenor++; 78 $tenures = array_merge( $tenures, array( $tenor => $tenor . ' Months')); 79 80 if( $tenor == $max ) 81 break; 82 } 69 83 70 84 $this->form_fields = array( … … 120 134 'default' => '', 121 135 'desc_tip' => true, 122 'options' => array( 123 '3' => '3 Months', 124 '6' => '6 Months', 125 '9' => '9 Months', 126 '12' => '12 Months', 127 '24' => '24 Months', 128 '36' => '36 Months', 129 ) 136 'options' => $tenures, 130 137 ), 131 138 'api_response' => array( -
idpay/trunk/readme.txt
r2197018 r2210554 4 4 Requires at least: 2.4 5 5 Tested up to: 5.2 6 Stable tag: 1. 76 Stable tag: 1.8 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 == Changelog == 31 31 32 = 1.8 = 33 * add minimum and maximum range of tenures 34 32 35 = 1.7 = 33 36 * fix select2 to load in idpay setting
Note: See TracChangeset
for help on using the changeset viewer.