Changeset 3149256
- Timestamp:
- 09/10/2024 01:06:08 PM (19 months ago)
- Location:
- eshoplogisticru/trunk
- Files:
-
- 4 edited
-
Modules/Ajax.php (modified) (1 diff)
-
assets/js/settings_unloading.js (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
wc-eshop-logistic.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eshoplogisticru/trunk/Modules/Ajax.php
r3109301 r3149256 629 629 } 630 630 if(isset($result['state']['number'])){ 631 $html .= '<div class="esl-status_infoTitle">Номер заказа: '.$result['state']['number'].'</div>';631 $html .= '<div class="esl-status_infoTitle">Номер заказа: <input type="text" value="'.$result['state']['number'].'" id="copyText1" disabled><button class="button button-primary" onclick="copyToClipboard(copyText1)">Скопировать номер</button></div>'; 632 632 } 633 633 if(isset($shippingMethod) && $shippingMethod){ 634 634 $shippingMethods = json_decode($shippingMethod, true); 635 635 if(isset($shippingMethods['answer']['order']['id'])){ 636 $html .= '<div class="esl-status_infoTitle">Идентификатор заказа в системе " название тк": '.$shippingMethods['answer']['order']['id'].'</div>';636 $html .= '<div class="esl-status_infoTitle">Идентификатор заказа в системе "'.$_POST['order_type'].'": '.$shippingMethods['answer']['order']['id'].'</div>'; 637 637 } 638 638 } -
eshoplogisticru/trunk/assets/js/settings_unloading.js
r3103504 r3149256 20 20 21 21 //modalDoorButton.onclick = function () { 22 //modalEsl.style.display = "none"22 //modalEsl.style.display = "none" 23 23 //} 24 24 … … 189 189 190 190 })( jQuery ); 191 192 function copyToClipboard(containerid) { 193 let copyText = containerid; 194 copyText.select(); 195 document.execCommand("copy"); 196 alert("Текст скопирован: " + copyText.value); 197 } -
eshoplogisticru/trunk/readme.txt
r3149181 r3149256 4 4 Requires at least: 5.3 5 5 Tested up to: 5.8 6 Stable tag: 2.1.2 36 Stable tag: 2.1.24 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
eshoplogisticru/trunk/wc-eshop-logistic.php
r3149181 r3149256 6 6 * 7 7 * @link https://wp.eshoplogistic.ru/ 8 * @since 2.1.2 38 * @since 2.1.24 9 9 * @package WC_Eshop_Logistic 10 10 * … … 13 13 * Plugin URI: https://wp.eshoplogistic.ru/ 14 14 * Description: Несколько служб доставки в одной интеграции: CDEK, DPD, Boxberry, IML, Почта России, Деловые Линии, ПЭК, Dostavista, GTD, Байкал Сервис и др. 15 * Version: 2.1.2 315 * Version: 2.1.24 16 16 * Author: eShopLogistic 17 17 * Author URI: https://eshoplogistic.ru/p747575 … … 41 41 define( 'WC_ESL_PLUGIN_DIR', plugin_dir_path(__FILE__) ); 42 42 43 define( 'WC_ESL_VERSION', '2.1.2 3' );43 define( 'WC_ESL_VERSION', '2.1.24' ); 44 44 45 45 define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset
for help on using the changeset viewer.