Plugin Directory

Changeset 3161540


Ignore:
Timestamp:
10/02/2024 01:38:49 PM (18 months ago)
Author:
eshoplogistic
Message:

Оптимизация формы выгрузки заказов

Location:
eshoplogisticru/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • eshoplogisticru/trunk/Classes/Shipping/ExportFileds.php

    r3150114 r3161540  
    149149            $tariffs          = $eshopLogisticApi->apiServiceTariffs( $name );
    150150            $tariffs          = $tariffs->data();
    151             if ( isset( $shippingMethods['data']['terminal']['tariff'] ) ) {
    152                 $selectedTariffCode = $shippingMethods['data']['terminal']['tariff']['code'];
     151            if ( isset( $shippingMethods['data']['terminal']['tariff'] ) || isset( $shippingMethods['tariff']['code'] ) ) {
     152                $selectedTariffCode = $shippingMethods['data']['terminal']['tariff']['code'] ?? $shippingMethods['tariff']['code'];
    153153                if ( isset( $tariffs[ $selectedTariffCode ] ) ) {
    154154                    $value[ $selectedTariffCode ] = $tariffs[ $selectedTariffCode ];
  • eshoplogisticru/trunk/readme.txt

    r3154034 r3161540  
    44Requires at least: 5.3
    55Tested up to: 5.8
    6 Stable tag: 2.1.27
     6Stable tag: 2.1.28e
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • eshoplogisticru/trunk/wc-eshop-logistic.php

    r3154034 r3161540  
    66 *
    77 * @link              https://wp.eshoplogistic.ru/
    8  * @since             2.1.27
     8 * @since             2.1.28
    99 * @package           WC_Eshop_Logistic
    1010 *
     
    1313 * Plugin URI:        https://wp.eshoplogistic.ru/
    1414 * Description:       Несколько служб доставки в одной интеграции: CDEK, DPD, Boxberry, IML, Почта России, Деловые Линии, ПЭК, Dostavista, GTD, Байкал Сервис и др.
    15  * Version:           2.1.27
     15 * Version:           2.1.28
    1616 * Author:            eShopLogistic
    1717 * Author URI:        https://eshoplogistic.ru/p747575
     
    4141define( 'WC_ESL_PLUGIN_DIR', plugin_dir_path(__FILE__) );
    4242
    43 define( 'WC_ESL_VERSION', '2.1.27' );
     43define( 'WC_ESL_VERSION', '2.1.28' );
    4444
    4545define( 'WC_ESL_DOMAIN', 'wc-esl' );
Note: See TracChangeset for help on using the changeset viewer.