Changeset 2989488
- Timestamp:
- 11/06/2023 01:44:23 AM (2 years ago)
- Location:
- jt-express/trunk
- Files:
-
- 7 edited
-
README.txt (modified) (1 diff)
-
admin/class-jnt-admin.php (modified) (1 diff)
-
admin/class-jnt-order.php (modified) (1 diff)
-
includes/class-jnt-api.php (modified) (1 diff)
-
includes/class-jnt-helper.php (modified) (2 diffs)
-
includes/class-jnt-shipping.php (modified) (1 diff)
-
jnt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jt-express/trunk/README.txt
r2607825 r2989488 4 4 Tags: jtexpress, j&t express, j&t malaysia, jnt 5 5 Requires at least: 5.1 6 Tested up to: 5.76 Tested up to: 6.3.2 7 7 Requires PHP: 7.2 8 8 Stable tag: 1.0 -
jt-express/trunk/admin/class-jnt-admin.php
r2987839 r2989488 26 26 $plugins = get_plugins(); 27 27 $current_version = $plugins[$plugin_slug]['Version']; 28 $latest_version = '2.0. 3';28 $latest_version = '2.0.4'; 29 29 30 30 if (version_compare($current_version, $latest_version, '<')) { -
jt-express/trunk/admin/class-jnt-order.php
r2987839 r2989488 39 39 40 40 if (isset($setting['insurance']) && $setting['insurance'] == 'yes') { 41 $action ['jnt_create_order_insurance'] = __('Order to J&T with Insurance');41 $actions['jnt_create_order_insurance'] = __('Order to J&T with Insurance'); 42 42 } 43 43 -
jt-express/trunk/includes/class-jnt-api.php
r2987839 r2989488 38 38 "payType" => $value['payType'], 39 39 "cod" => $value['cod'], 40 "offerFeeFlag" => $value['offerFeeFlag'], 41 "insurance" => $value['insurance'] 40 "offerFeeFlag" => $value['offerFeeFlag'] 42 41 ] 43 42 ] -
jt-express/trunk/includes/class-jnt-helper.php
r2987839 r2989488 91 91 } 92 92 93 $insurance = "";94 if ($insuranceFlag) {95 $insurance = $subtotal * 0.01;96 if ($insurance < 1) {97 $insurance = 1;98 }99 }100 101 93 $items = array( 102 94 'id' => $id, … … 112 104 'goodsdesc' => $order->customer_message, 113 105 'cod' => $cod, 114 'offerFeeFlag' => $insuranceFlag, 115 'insurance' => $insurance 106 'offerFeeFlag' => $insuranceFlag 116 107 ); 117 108 -
jt-express/trunk/includes/class-jnt-shipping.php
r2987839 r2989488 97 97 ), 98 98 99 'insurance' => array( 100 'title' => __('Insurance', 'jnt'), 101 'type' => 'checkbox', 102 'description' => __('Tick this to allow order with insurance option.', 'jnt'), 103 ), 104 99 105 ); 100 106 } -
jt-express/trunk/jnt.php
r2987839 r2989488 5 5 Description: WooCommerce integration for J&T Express Malaysia. 6 6 Author: woocs 7 Version: 2.0. 37 Version: 2.0.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt … … 14 14 } 15 15 16 define('JNT_VERSION', '2.0. 3');16 define('JNT_VERSION', '2.0.4'); 17 17 define('JNT_PLUGIN_DIR', plugin_dir_path(__FILE__)); 18 18
Note: See TracChangeset
for help on using the changeset viewer.