Plugin Directory

Changeset 2120648


Ignore:
Timestamp:
07/10/2019 10:53:29 AM (7 years ago)
Author:
furgefutarhu
Message:

1.4.5

  • WooCommerce-es megrendelés azonosítót beküldése
  • Submit WooCommerce Order Id

1.4.4

  • cURL hívás beépítése
  • Install cURL call

1.4.3

  • Utánvétes fizetés kiválasztása
  • Custom setting options for COD

1.4.2

  • Tömeges fuvarlevél PDF-ek egyedi elnevezése
  • Unique name for AWD downloading

1.4.1

  • Csomag státusz nyomonkövetés
  • Package Status Tracking
Location:
furgefutar-hu-integracio/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • furgefutar-hu-integracio/trunk/css/admin.css

    r2041366 r2120648  
    8383
    8484/**********************************************************************************************************************************************************************/
     85
    8586
    8687.input_width_30{
     
    333334    color: #00a0d2;
    334335}
     336
     337/**********************************************************************************************************************************************************************/
     338
     339#furgefutar_tracking_meta_box .furgefutar_order_meta_box_fejlec {
     340  background: #19314c none repeat scroll 0 0;
     341  margin: -8px -12px;
     342  padding: 8px;
     343}
     344
     345#furgefutar_tracking_meta_box .furgefutar_order_meta_box_fejlec img {
     346  display: inline-block;
     347  height: 20px;
     348  vertical-align: sub;
     349  margin-right: 10px;
     350}
     351
     352#furgefutar_tracking_meta_box .toggle-indicator::before {
     353  color: #ffffff;
     354}
     355
     356#furgefutar_tracking_meta_box p {
     357  margin: 0;
     358}
     359
     360#furgefutar_tracking_meta_box .inside {
     361    text-align: center;
     362}
     363
     364#furgefutar_tracking_meta_box  .furgefutar_order_meta_box_fejlec span {
     365  color: rgb(255, 255, 255);
     366  font-family: dosis;
     367  font-size: 20px;
     368  font-weight: 800;
     369}
     370
     371#furgefutar_tracking_meta_box  .furgefutar_order_meta_box_fejlec span span {
     372  color: #C82135;
     373  font-size: 15px;
     374}
     375
     376#furgefutar_tracking_meta_box p span {
     377  line-height: 26px;
     378  vertical-align: top;
     379  display: block;
     380}
     381
     382/**********************************************************************************************************************************************************************/
     383
     384
     385.furgefutar_tracking_tablazat {
     386    width: 100%;
     387    display: table;
     388    border-left: 1px solid #19314c;
     389    border-right: 1px solid #19314c;
     390    border-top: 1px solid #19314c;
     391    /* font-size: 12px; */
     392    border-radius: 5px;
     393    border-bottom: 1px solid #19314c;
     394    margin-top: 10px;
     395}
     396
     397.furgefutar_tracking_tablazat_sor {
     398    width: 100%;
     399    display: table-row;
     400}
     401
     402.furgefutar_tracking_tablazat_sor_cella {
     403    display: table-cell;
     404    padding: 5px 5px;
     405    border-bottom: 1px solid #19314c;
     406    overflow: hidden;
     407    vertical-align: middle;
     408}
     409
     410.furgefutar_tracking_tablazat_sor:last-of-type .furgefutar_tracking_tablazat_sor_cella {
     411    border-bottom: none;
     412}
     413
     414.furgefutar_tracking_tablazat_sor_cella_datum {
     415    width: 35%;
     416}
     417
     418.furgefutar_tracking_tablazat_sor_cella_nev {
     419    width: 55%;
     420}
     421
     422.furgefutar_tracking_tablazat_sor_cella_ikon {
     423    width: 10%;
     424}
     425
     426.furgefutar_tracking_tablazat_sor_cella_ikon img {
     427    width: 28px;
     428}
     429
     430/**********************************************************************************************************************************************************************/
     431
  • furgefutar-hu-integracio/trunk/furgefutar-integracio.php

    r2042193 r2120648  
    44  Plugin URI: https://furgefutar.hu/
    55  Description: Fürgefutár.hu integrálása WooCommerce-hez.
    6   Version: 1.3.2
     6  Version: 1.4.5
    77  Author: Fürgefutár.hu
    88  Author URI:  https://furgefutar.hu/
     
    1515/**********************************************************************************************************************************************************************/
    1616
    17 define( 'FURGEFUTAR_PLUGIN_VERSION', '1.3.2' );
     17define( 'FURGEFUTAR_PLUGIN_VERSION', '1.4.5' );
    1818
    1919define( 'FURGEFUTAR_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
     20define( 'FURGEFUTAR_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
    2021
    2122/**********************************************************************************************************************************************************************/
  • furgefutar-hu-integracio/trunk/includes/csomagpont.php

    r2041366 r2120648  
    103103
    104104function furgefutar_gls_csomagpont_adatok( $filter = '' ) {
    105 
     105   
    106106    $furgefutar_gls_csomagpontok = array();
    107 
    108     $furgefutar_gls_csomagpont_file = json_decode( file_get_contents( 'https://furgefutar.hu/webservices/shipment/dropoffpoints/gls.ashx' ) );
    109 
    110     foreach ( $furgefutar_gls_csomagpont_file as $furgefutar_gls_csomagpont ){
     107   
     108    $url = 'https://furgefutar.hu/webservices/shipment/dropoffpoints/gls.ashx';
     109   
     110    if( extension_loaded( 'curl' ) ){
     111
     112        $ch = curl_init();
     113   
     114        curl_setopt( $ch, CURLOPT_AUTOREFERER, TRUE );
     115        curl_setopt( $ch, CURLOPT_HEADER, FALSE );
     116        curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE );
     117        curl_setopt( $ch, CURLOPT_URL, $url );
     118        curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, TRUE );   
     119        curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' ) );   
     120       
     121        $furgefutar_gls_csomagpontok_json = curl_exec( $ch );
     122       
     123        curl_close($ch);
     124
     125    }
     126    else if( ini_get( 'allow_url_fopen' ) ){
     127       
     128        $furgefutar_gls_csomagpontok_json = file_get_contents( $url, false );
     129   
     130    }
     131   
     132    $furgefutar_gls_csomagpontok_tomb = json_decode( $furgefutar_gls_csomagpontok_json, true);
     133   
     134    foreach ( $furgefutar_gls_csomagpontok_tomb as $furgefutar_gls_csomagpont ){
    111135       
    112136        if( !empty( $filter ) ){
     
    126150
    127151    }
    128  
     152   
    129153    return json_encode( $furgefutar_gls_csomagpontok );
    130154
  • furgefutar-hu-integracio/trunk/includes/furgefutar.php

    r2042019 r2120648  
    9898           
    9999            }
    100            
    101             if( $nyomkovetes_url = furgefutar_nyomkovetes_url( $furgefutar_fuvarlevelszam ) ){
    102                
    103                 $kimenet .= '<a target="_blank" class="button button-secondary furgefutar_gomb furgefutar_nyomkovetes_gomb" title="'.__( 'Nyomkövetés', 'furgefutar' ).'" href="'.$nyomkovetes_url.'"></a>';
    104            
    105             }
    106        
     100
    107101        $kimenet .= '</p>';
     102       
     103        if( $csomag_statusz = furgefutar_csomag_statusz( $furgefutar_fuvarlevelszam ) ){
     104 
     105            $kimenet .= '<p><strong>'.__( 'Csomag státusz:', 'furgefutar' ).'</strong> <a href="'.get_edit_post_link( $order_id ).'#furgefutar_tracking_meta_box" title="'.$csomag_statusz['leiras'].'">'.$csomag_statusz['nev'].'</a></p>';
     106           
     107       
     108        }
     109        else if( $nyomkovetes_url = furgefutar_nyomkovetes_url( $furgefutar_fuvarlevelszam ) ){
     110           
     111            $kimenet .= '<a target="_blank" class="button button-secondary furgefutar_gomb furgefutar_nyomkovetes_gomb" title="'.__( 'Nyomkövetés', 'furgefutar' ).'" href="'.$nyomkovetes_url.'"></a>';
     112       
     113        }
    108114
    109115    }
     
    169175        add_meta_box("furgefutar_meta_box", '<div class="furgefutar_order_meta_box_fejlec"><img src="'.FURGEFUTAR_PLUGIN_DIR_URL.'/images/furgefutar_ikon.png" /><span>Fürgefutár<span>.hu</span></span></div>', 'furgefutar_order_meta_box_content', 'shop_order', 'side', 'high', null);
    170176
     177        add_meta_box("furgefutar_tracking_meta_box", '<div class="furgefutar_order_meta_box_fejlec"><img src="'.FURGEFUTAR_PLUGIN_DIR_URL.'/images/furgefutar_ikon.png" /><span>'.__( 'Csomag nyomkövetés', 'furgefutar' ).'</span></div>', 'furgefutar_order_tracking_meta_box_content', 'shop_order', 'side', 'high', null);
     178
    171179    }
    172180   
     
    184192
    185193            furgefutar_gombok( $order->ID );
     194           
     195        }
     196   
     197    }
     198   
     199}
     200
     201/**********************************************************************************************************************************************************************/
     202/**********************************************************************************************************************************************************************/
     203
     204function furgefutar_order_tracking_meta_box_content( $order ){
     205   
     206    if(  get_option( 'furgefutar_allapot' ) == 'yes' ){
     207
     208        if( !empty( $order->ID ) ){
     209           
     210            $furgefutar_fuvarlevelszam = get_post_meta( $order->ID, '_furgefutar_fuvarlevelszam', true );
     211
     212            $csomag_statuszok = furgefutar_csomag_statusz( $furgefutar_fuvarlevelszam, true );
     213           
     214            if( $csomag_statuszok ){
     215               
     216                echo '<div class="furgefutar_tracking_tablazat">';
     217               
     218                    foreach( $csomag_statuszok as $csomag_statusz ){
     219                       
     220                        echo '<div class="furgefutar_tracking_tablazat_sor">';
     221                       
     222                            echo '<div class="furgefutar_tracking_tablazat_sor_cella furgefutar_tracking_tablazat_sor_cella_datum">';
     223
     224                                echo implode("<br/>", explode(" ", $csomag_statusz['datum'] ) );
     225                           
     226                            echo '</div>';
     227                           
     228                            echo '<div class="furgefutar_tracking_tablazat_sor_cella furgefutar_tracking_tablazat_sor_cella_nev" title="'.$csomag_statusz['leiras'].'">';
     229                       
     230                                echo $csomag_statusz['nev'].'<br/>';
     231                           
     232                            echo '</div>';
     233                           
     234                            echo '<div class="furgefutar_tracking_tablazat_sor_cella furgefutar_tracking_tablazat_sor_cella_ikon">';
     235
     236                                if( file_exists( FURGEFUTAR_PLUGIN_DIR_PATH.'/images/csomag_statusz_'.$csomag_statusz['id'].'.png' ) ){
     237                                   
     238                                    echo '<img src="'.FURGEFUTAR_PLUGIN_DIR_URL.'/images/csomag_statusz_'.$csomag_statusz['id'].'.png" title="'.$csomag_statusz['leiras'].'" />';
     239                                   
     240                                }
     241
     242                            echo '</div>';
     243                       
     244                        echo '</div>';
     245                       
     246                    }
     247                   
     248                echo '</div>';
     249               
     250            }
    186251           
    187252        }
     
    311376            'desc_tip'    => true,
    312377            'id'      => 'furgefutar_debug'
     378        ),
     379        'furgefutar_fizetesi_modok' => array(
     380            'title'       => __( 'Utánvétes fizetési módok', 'furgefutar' ),
     381            'type'        => 'multiselect',
     382            //'default'     => 'cod',
     383            'options'     => furgefutar_engedelyezett_fizetesi_modok(),
     384            'desc'        => '<br/>'.__( 'Kérem, válassza ki az utánvétes fizetési módokat', 'furgefutar' ),
     385            'id'      => 'furgefutar_fizetesi_modok',
    313386        ),
    314387        'furgefutar_section_1_end' => array(
     
    402475       
    403476        'furgefutar_section_5' => array(
     477            'name'     => __( 'Generált fuvarlevelek', 'furgefutar' ),
     478            'type'     => 'title',
     479            'desc'     => __( 'Amennyiben törölni szeretné az Ön által generált PDF fuvarleveleket, itt megteheti!', 'furgefutar' ).'<br/><p><a class="button furgefutar_fuvarlevelek_torles_gomb">'.__( 'Fuvarlevelek törlése', 'furgefutar' ).'</a></p>',
     480        ),
     481        'furgefutar_section_5_end' => array(
     482             'type' => 'sectionend'
     483        ),
     484       
     485        'furgefutar_section_6' => array(
    404486            'name'     => __( 'GLS CsomagPont beállítások', 'furgefutar' ),
    405487            'type'     => 'title',
     
    417499            'type'    => 'text',
    418500            'default' => '',
    419             'desc' => __( 'Amennyiben a térképes megjelenést választja, szükség van Google Map Api kulcsra!', 'furgefutar' ),
     501            'desc' => '<br/>'.__( 'Amennyiben a térképes megjelenést választja, szükség van Google Map Api kulcsra!', 'furgefutar' ),
    420502            'id'      => 'furgefutar_gls_csomagpont_api_kulcs'
    421503        ),
    422         'furgefutar_section_5_end' => array(
     504        'furgefutar_section_6_end' => array(
    423505             'type' => 'sectionend'
    424506        ),
     
    428510
    429511    return apply_filters( 'furgefutar_settings', $settings );
    430 }
    431 
    432 /**********************************************************************************************************************************************************************/
    433 /**********************************************************************************************************************************************************************/
    434 
     512}   
     513   
     514/**********************************************************************************************************************************************************************/
     515/**********************************************************************************************************************************************************************/
     516
     517   
    435518function furgefutar_ajax_megrendeles() {
    436519   
     
    450533
    451534add_action( 'wp_ajax_furgefutar_ajax_megrendeles', 'furgefutar_ajax_megrendeles' );
    452 add_action( 'wp_ajax_nopriv_furgefutar_ajax_megrendeles', 'furgefutar_ajax_megrendeles' );
    453  
     535
     536
    454537/**********************************************************************************************************************************************************************/
    455538/**********************************************************************************************************************************************************************/
     
    526609            'txPhoneContact' => method_exists( $order, 'get_billing_phone' ) ? $order->get_billing_phone() : $order->billing_phone,
    527610            'txEmailContact' => method_exists( $order, 'get_billing_email' ) ? $order->get_billing_email() : $order->billing_email,
    528             'txInstruction' => (string)substr( ( method_exists( $order, 'get_customer_note' ) ? $order->get_customer_note() : $order->customer_note ), 0, 75 )
     611            'txInstruction' => (string)substr( ( method_exists( $order, 'get_customer_note' ) ? $order->get_customer_note() : $order->customer_note ), 0, 63 )
    529612        );
    530613         
     
    542625            'txPhoneContact' => method_exists( $order, 'get_billing_phone' ) ? $order->get_billing_phone() : $order->billing_phone,
    543626            'txEmailContact' => method_exists( $order, 'get_billing_email' ) ? $order->get_billing_email() : $order->billing_email,
    544             'txInstruction' => (string)substr( ( method_exists( $order, 'get_customer_note' ) ? $order->get_customer_note() : $order->customer_note ), 0, 75 )
     627            'txInstruction' => (string)substr( ( method_exists( $order, 'get_customer_note' ) ? $order->get_customer_note() : $order->customer_note ), 0, 63 )
    545628        );
    546629       
     
    550633    $payment_method = method_exists( $order, 'get_payment_method' ) ? $order->get_payment_method() : $order->payment_method;
    551634   
    552     if( $payment_method == 'cod' ){             
     635    if ( in_array( $payment_method, get_option( 'furgefutar_fizetesi_modok' ) ) ) {             
    553636       
    554637        $PACKAGE = array(
    555638            array(
     639                'idOrder' => (string)$order_id,
    556640                'ctPackage' => '1',
    557641                'amContent' => (string)$order->get_total(),
     642               
    558643            )
    559644        );
     
    566651        $PACKAGE = array(
    567652            array(
     653                'idOrder' => (string)$order_id,
    568654                'ctPackage' => '1',
    569655            )
     
    616702    $furgefutar_megrendeles_return = array();
    617703   
    618     $options = array(
    619         'http' => array(
    620             'header' => 'Content-Type: application/x-www-form-urlencoded',
    621             'method'  => 'POST',
    622             'content' => json_encode( $JSON )
    623         )
    624     );
    625    
    626704    $url = 'https://furgefutar.hu/webservices/webshop2.ashx';
    627705
    628     $context  = stream_context_create( $options );
    629    
    630     $furgefutar_megrendeles_json = file_get_contents( $url, false, $context );
    631    
     706    if( extension_loaded( 'curl' ) ){
     707
     708        $ch = curl_init();
     709       
     710        curl_setopt( $ch, CURLOPT_AUTOREFERER, TRUE );
     711        curl_setopt( $ch, CURLOPT_HEADER, FALSE );
     712        curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE );
     713        curl_setopt( $ch, CURLOPT_URL, $url );
     714        curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, TRUE );   
     715        curl_setopt( $ch, CURLOPT_POSTFIELDS, json_encode( $JSON ) );
     716        curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' ) );   
     717       
     718        $furgefutar_megrendeles_json = curl_exec( $ch );
     719       
     720        curl_close($ch);
     721   
     722    }
     723    else if( ini_get( 'allow_url_fopen' ) ){
     724
     725        $options = array(
     726            'http' => array(
     727                'header' => 'Content-Type: application/x-www-form-urlencoded',
     728                'method'  => 'POST',
     729                'content' => json_encode( $JSON )
     730            )
     731        );
     732
     733        $context  = stream_context_create( $options );
     734       
     735        $furgefutar_megrendeles_json = file_get_contents( $url, false, $context );
     736   
     737    }
     738   
     739
    632740    $furgefutar_megrendeles = json_decode( $furgefutar_megrendeles_json, true);
    633741   
     
    9041012 
    9051013function furgefutar_bulk_action_notices() {
    906  
     1014    
    9071015    if( !empty( $_REQUEST['furgefutar_megrendeles_kesz'] ) || !empty( $_REQUEST['furgefutar_megrendeles_fuvarlevel_letoltes_kesz'] ) ) {
    9081016       
     
    11071215        }
    11081216       
    1109         $fajlnev = 'fuvarlevelek.pdf';
     1217        $fajlnev = 'fuvarlevelek_'.strtotime( date( 'Y-m-d H:i:s' ) ).'.pdf';
    11101218           
    11111219        $fajlnev_dir = $upload_dir['basedir'].'/furgefutar/'.$fajlnev;
     
    11621270/**********************************************************************************************************************************************************************/
    11631271/**********************************************************************************************************************************************************************/
    1164 
    1165 
    1166 
     1272/**********************************************************************************************************************************************************************/
     1273/**********************************************************************************************************************************************************************/
     1274
     1275function furgefutar_engedelyezett_fizetesi_modok(){
     1276
     1277    $fizetesi_modok = WC()->payment_gateways->get_available_payment_gateways();
     1278
     1279    $furgefutar_engedelyezett_fizetesi_modok  = array();
     1280   
     1281    if( $fizetesi_modok ) {
     1282       
     1283        foreach( $fizetesi_modok as $id => $fizetesi_mod ) {
     1284   
     1285            if( $fizetesi_mod->enabled == 'yes' ) {
     1286   
     1287                $furgefutar_engedelyezett_fizetesi_modok[ $id ] = __( $fizetesi_mod->title, 'furgefutar' );
     1288   
     1289            }
     1290           
     1291        }
     1292       
     1293    }
     1294
     1295    return $furgefutar_engedelyezett_fizetesi_modok;
     1296 
     1297}
     1298
     1299/**********************************************************************************************************************************************************************/
     1300/**********************************************************************************************************************************************************************/
     1301
     1302function furgefutar_csomag_statusz( $furgefutar_fuvarlevelszam, $osszes = false ) {
     1303
     1304    $url = 'http://furgefutar.hu/webservices/shipment/tracking/track.ashx?waybill='.$furgefutar_fuvarlevelszam;
     1305   
     1306    if( extension_loaded( 'curl' ) ){
     1307
     1308        $ch = curl_init();
     1309   
     1310        curl_setopt( $ch, CURLOPT_AUTOREFERER, TRUE );
     1311        curl_setopt( $ch, CURLOPT_HEADER, FALSE );
     1312        curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE );
     1313        curl_setopt( $ch, CURLOPT_URL, $url );
     1314        curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, TRUE );   
     1315        curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' ) );   
     1316       
     1317        $furgefutar_csomag_statusz_json = curl_exec( $ch );
     1318       
     1319        curl_close($ch);
     1320
     1321    }
     1322    else if( ini_get( 'allow_url_fopen' ) ){
     1323       
     1324        $furgefutar_csomag_statusz_json = file_get_contents( $url, false );
     1325   
     1326    }
     1327   
     1328    $furgefutar_csomag_statusz = json_decode( $furgefutar_csomag_statusz_json, true);
     1329   
     1330    $csomag_statusz_nevek = array(
     1331        1 => array(
     1332            'nev' => __( 'Adat fogadva', 'furgefutar' ),
     1333            'leiras' => __( 'Kiszállításra adat átadva', 'furgefutar' ),
     1334        ),
     1335        2 => array(
     1336            'nev' => __( 'Úton', 'furgefutar' ),
     1337            'leiras' => __( 'Csomag úton van. Ez jelentheti azt, hogy a csomag a raktárba került, vagy a felvételt követően úton van a raktárba.', 'furgefutar' ),
     1338        ),
     1339        3 => array(
     1340            'nev' => __( 'Kiszállítás alatt', 'furgefutar' ),
     1341            'leiras' => __( 'A csomag a futárszolgálathoz került. Kiszállítás hamarosan várható', 'furgefutar' ),
     1342        ),
     1343        4 => array(
     1344            'nev' => __( 'Kézbesítve', 'furgefutar' ),
     1345            'leiras' => __( 'Sikeres kiszállítás, a csomagot átvették', 'furgefutar' ),
     1346        ),
     1347        5 => array(
     1348            'nev' => __( 'Fennakadás ', 'furgefutar' ),
     1349            'leiras' => __( 'A csomag kiszállítása során fennakadás történt (késés, rossz cím stb.) További információért keresse a Fürgefutár.hu-t', 'furgefutar' ),
     1350        ),
     1351        6 => array(
     1352            'nev' => __( 'Visszaküldve', 'furgefutar' ),
     1353            'leiras' => __( 'Csomag a feladóhoz visszaküldve', 'furgefutar' ),
     1354        ),
     1355        7 => array(
     1356            'nev' => __( 'Törölt', 'furgefutar' ),
     1357            'leiras' => __( 'A csomag törölve.', 'furgefutar' ),
     1358        ),
     1359        8 => array(
     1360            'nev' => __( 'Nincs adat', 'furgefutar' ),
     1361            'leiras' => __( 'A csomagról küldött információk nem ismertek. (Ez jelentheti azt, hogy az adatok ismertek, de nem megjeleníthető a weboldalon)', 'furgefutar' ),
     1362        ),
     1363        9 => array(
     1364            'nev' => __( 'Sérült', 'furgefutar' ),
     1365            'leiras' => __( 'A csomag megsérült.', 'furgefutar' ),
     1366        ),
     1367        10 => array(
     1368            'nev' => __( 'Csomagpont', 'furgefutar' ),
     1369            'leiras' => __( 'A csomag a csomagpontba került.', 'furgefutar' ),
     1370        ),
     1371        11 => array(
     1372            'nev' => __( 'Eltűnt', 'furgefutar' ),
     1373            'leiras' => __( 'A csomag eltűnt.', 'furgefutar' ),
     1374        ),
     1375        12 => array(
     1376            'nev' => __( 'Elutasítva', 'furgefutar' ),
     1377            'leiras' => __( 'A címzett megtagadta az átvételt', 'furgefutar' ),
     1378        ),
     1379        13 => array(
     1380            'nev' => __( 'Címzett nem található', 'furgefutar' ),
     1381            'leiras' => __( 'A címzett nem tartózkodott a megadott kiszállítási címen', 'furgefutar' ),
     1382        )
     1383    );
     1384   
     1385   
     1386    $csomag_statuszok = array();
     1387   
     1388    if( $furgefutar_csomag_statusz ){
     1389       
     1390        if( $furgefutar_csomag_statusz[0]['history'] ){
     1391           
     1392            foreach( $furgefutar_csomag_statusz[0]['history'] as $history ){
     1393               
     1394                $csomag_statuszok[] = array(
     1395                    'id' => $history['status'],
     1396                    'nev' => $csomag_statusz_nevek[$history['status']]['nev'],
     1397                    'leiras' => $csomag_statusz_nevek[$history['status']]['leiras'],
     1398                    'datum' => $history['date'],
     1399                );
     1400               
     1401            }
     1402           
     1403        }
     1404   
     1405    }
     1406   
     1407    if( $osszes == false ){
     1408        return end( $csomag_statuszok );
     1409    }
     1410    else{
     1411        return $csomag_statuszok;
     1412    }
     1413   
     1414}
     1415
     1416/**********************************************************************************************************************************************************************/
     1417/**********************************************************************************************************************************************************************/
     1418
     1419function furgefutar_fuvarlevelek_ajax_torles() {
     1420   
     1421    $upload_dir = wp_upload_dir();
     1422   
     1423    $counter = 0;
     1424
     1425    if ( isset($_REQUEST) ) {
     1426               
     1427        foreach ( glob( $upload_dir['basedir'].'/furgefutar/fuvarlevelek*.pdf' ) as $filename ) {
     1428
     1429            unlink($filename);
     1430           
     1431            $counter++;
     1432        }
     1433
     1434    }
     1435   
     1436    echo $counter.' '.__( 'fájl törölve.', 'furgefutar' );
     1437   
     1438    die();
     1439}
     1440
     1441add_action( 'wp_ajax_furgefutar_fuvarlevelek_ajax_torles', 'furgefutar_fuvarlevelek_ajax_torles' );
     1442
     1443
     1444/**********************************************************************************************************************************************************************/
     1445/**********************************************************************************************************************************************************************/
     1446
     1447
     1448add_action( 'admin_notices', 'furgefutar_kornyezet_ellenorzes' );
     1449 
     1450function furgefutar_kornyezet_ellenorzes() {
     1451   
     1452    if( !extension_loaded( 'curl' ) && !ini_get( 'allow_url_fopen' ) ){
     1453       
     1454        if(  get_option( 'furgefutar_allapot' ) == 'yes' ){
     1455           
     1456            update_option( 'furgefutar_allapot', 'no' );
     1457           
     1458        }
     1459       
     1460        echo '<div class="error notice is-dismissible furgefutar_notice">';
     1461            echo '<div>';
     1462                echo '<img src="'.FURGEFUTAR_PLUGIN_DIR_URL.'/images/furgefutar_ikon.png" />';
     1463                echo '<strong>';
     1464                    echo __( 'Fürgefutár.hu hibaüzenet', 'furgefutar' );
     1465                    echo '<br/><br/>';
     1466                    echo __( 'A bővítmény használatához szükség van a Client URL Library telepítésére vagy az allow_url_fopen engedélyezésére. Kérem, jelezze ezt a weboldal üzemeltetőjének.', 'furgefutar' );
     1467                echo '</strong>';
     1468            echo '</div>';
     1469            echo '<button type="button" class="notice-dismiss furgefutar_notice_dismiss"></button>';
     1470        echo '</div>';
     1471
     1472    }
     1473 
     1474}
     1475
     1476
     1477/**********************************************************************************************************************************************************************/
     1478/**********************************************************************************************************************************************************************/
     1479
     1480 
     1481       
    11671482?>
  • furgefutar-hu-integracio/trunk/js/admin.js

    r2041366 r2120648  
    326326    /******************************************************************************************************************************************************************/
    327327   
     328    jQuery('.furgefutar_fuvarlevelek_torles_gomb').live('click', function(){
     329
     330        jQuery.ajax({
     331            url: furgefutar_admin_adatok.ajax_url,
     332            data: {
     333                'action':'furgefutar_fuvarlevelek_ajax_torles'
     334            },
     335            success:function(furgefutar_fuvarlevelek_ajax_torles_return) {
     336               
     337                jQuery( ".furgefutar_notice" ).remove();
     338   
     339                jQuery( '.furgefutar_fuvarlevelek_torles_gomb' ).after(
     340                   '<div class="updated notice is-dismissible furgefutar_notice"><div><img src="'+furgefutar_admin_adatok.plugin_dir_url+'/images/furgefutar_ikon.png" />'+furgefutar_fuvarlevelek_ajax_torles_return+'</div><button type="button" class="notice-dismiss furgefutar_notice_dismiss"></button></div>'
     341                );
     342
     343            }
     344        });
     345
     346    });
     347   
     348    /******************************************************************************************************************************************************************/
     349    /******************************************************************************************************************************************************************/
     350   
     351    jQuery("select#furgefutar_fizetesi_modok").select2();
     352
     353   
     354    /******************************************************************************************************************************************************************/
     355    /******************************************************************************************************************************************************************/
     356   
    328357   
    329358   
  • furgefutar-hu-integracio/trunk/languages/furgefutar-en_US.po

    r2041366 r2120648  
    22msgstr ""
    33"Project-Id-Version: Fürgefutár.hu\n"
    4 "POT-Creation-Date: 2019-02-26 13:41+0100\n"
    5 "PO-Revision-Date: 2019-02-26 13:41+0100\n"
     4"POT-Creation-Date: 2019-06-05 15:51+0200\n"
     5"PO-Revision-Date: 2019-06-06 14:26+0200\n"
    66"Last-Translator: imazs <nkornel@freemail.hu>\n"
    77"Language-Team: Fürgefutár.hu\n"
     
    1616"X-Poedit-SearchPath-0: .\n"
    1717
    18 #: furgefutar-integracio.php:57 furgefutar-integracio.php:81
     18#: furgefutar-integracio.php:58 furgefutar-integracio.php:82
    1919#: includes/csomagpont.php:410
    2020msgid "még nincs kiválasztva"
    2121msgstr "not selected yet"
    2222
    23 #: furgefutar-integracio.php:78
     23#: furgefutar-integracio.php:79
    2424msgid "GLS CsomagPont választó"
    2525msgstr "GLS Parcel Point selector"
    2626
    27 #: furgefutar-integracio.php:79 includes/csomagpont.php:372
     27#: furgefutar-integracio.php:80 includes/csomagpont.php:372
    2828msgid "Választott GLS CsomagPont:"
    2929msgstr "Selected GLS Parcel Point:"
    3030
    31 #: furgefutar-integracio.php:80 includes/csomagpont.php:344
     31#: furgefutar-integracio.php:81 includes/csomagpont.php:344
    3232msgid "Keresés irányítószám alapján"
    3333msgstr "Search by ZIP code"
    3434
    35 #: furgefutar-integracio.php:82
     35#: furgefutar-integracio.php:83
    3636msgid "A csomagpont kiválasztása a következő lépésben történik."
    3737msgstr "Parcel Point selection happens in the next step"
     
    106106msgstr "The waybill will be sent to you by the Fürgefutár.hu Customer Service."
    107107
    108 #: includes/furgefutar.php:93 includes/furgefutar.php:685
    109 #: includes/furgefutar.php:739 includes/furgefutar.php:771
     108#: includes/furgefutar.php:93 includes/furgefutar.php:793
     109#: includes/furgefutar.php:847 includes/furgefutar.php:879
    110110msgid "Fuvarlevélszám:"
    111111msgstr "Waybill number:"
     
    115115msgstr "View"
    116116
    117 #: includes/furgefutar.php:103
     117#: includes/furgefutar.php:105
     118msgid "Csomag státusz:"
     119msgstr "Package status:"
     120
     121#: includes/furgefutar.php:111
    118122msgid "Nyomkövetés"
    119123msgstr "Tracking"
    120124
    121 #: includes/furgefutar.php:262
     125#: includes/furgefutar.php:177
     126msgid "Csomag nyomkövetés"
     127msgstr "Tracking"
     128
     129#: includes/furgefutar.php:327
    122130msgid "Beállítások"
    123131msgstr "Settings"
    124132
    125 #: includes/furgefutar.php:287
     133#: includes/furgefutar.php:352
    126134msgid "Álatalános beállítások"
    127135msgstr "General settings"
    128136
    129 #: includes/furgefutar.php:291
     137#: includes/furgefutar.php:356
    130138msgid "Bekapcsolás / Kikapcsolás"
    131139msgstr "Enable / Disable"
    132140
    133 #: includes/furgefutar.php:294
     141#: includes/furgefutar.php:359
    134142msgid "Fürgefutár.hu engedélyezése"
    135143msgstr "Enable Fürgefutár.hu"
    136144
    137 #: includes/furgefutar.php:299
     145#: includes/furgefutar.php:364
    138146msgid "Tesztkörnyezet"
    139147msgstr "Test environment"
    140148
    141 #: includes/furgefutar.php:302
     149#: includes/furgefutar.php:367
    142150msgid "Tesztkörnyezet használata"
    143151msgstr "Use test environment"
    144152
    145 #: includes/furgefutar.php:307
     153#: includes/furgefutar.php:372
    146154msgid "Debug mód"
    147155msgstr "Debug mode"
    148156
    149 #: includes/furgefutar.php:310
     157#: includes/furgefutar.php:375
    150158msgid ""
    151159"A Fürgefutár.hu rendszerének küldött kérés és a rá kapott válasz is "
     
    153161msgstr "Show request sent to and response received from Fürgefutár.hu."
    154162
    155 #: includes/furgefutar.php:320
     163#: includes/furgefutar.php:380
     164msgid "Utánvétes fizetési módok"
     165msgstr "COD payment methods"
     166
     167#: includes/furgefutar.php:384
     168msgid "Kérem, válassza ki az utánvétes fizetési módokat"
     169msgstr "Please choose your COD payment methods"
     170
     171#: includes/furgefutar.php:393
    156172msgid "Fürgefutár.hu fiók adatok"
    157173msgstr "Fürgefutár.hu account details"
    158174
    159 #: includes/furgefutar.php:325
     175#: includes/furgefutar.php:398
    160176msgid "E-mail cím"
    161177msgstr "Email address"
    162178
    163 #: includes/furgefutar.php:327
     179#: includes/furgefutar.php:400
    164180msgid "A Fürgefutár.hu rendszerében megadott e-mail cím"
    165181msgstr "Email address used to register on Fürgefutár.hu"
    166182
    167 #: includes/furgefutar.php:330
     183#: includes/furgefutar.php:403
    168184msgid "valami@valami.hu"
    169185msgstr "something@something.com"
    170186
    171 #: includes/furgefutar.php:334
     187#: includes/furgefutar.php:407
    172188msgid "Jelszó"
    173189msgstr "Password"
    174190
    175 #: includes/furgefutar.php:336
     191#: includes/furgefutar.php:409
    176192msgid "A Fürgefutár.hu rendszerében megadott jelszó"
    177193msgstr "Password on Fürgefutár.hu"
    178194
    179 #: includes/furgefutar.php:347
     195#: includes/furgefutar.php:420
    180196msgid "Fürgefutár.hu felhasználási feltételek"
    181197msgstr "Fürgefutár.hu terms and conditions"
    182198
    183 #: includes/furgefutar.php:352
     199#: includes/furgefutar.php:425
    184200msgid "Elismerem, hogy nem küldök semmilyen tiltott árut."
    185201msgstr ""
     
    187203"item."
    188204
    189 #: includes/furgefutar.php:355
     205#: includes/furgefutar.php:428
    190206msgid "Tiltott áruk listája megtalálható a Fürgefutár.hu oldalon:"
    191207msgstr ""
    192208"List of dangerous and/or forbidden items can be found on Fürgefutár.hu:"
    193209
    194 #: includes/furgefutar.php:362
     210#: includes/furgefutar.php:435
    195211msgid ""
    196212"Elismerem, hogy elolvastam a Fürgefutár.hu Általános Felhasználói "
     
    198214msgstr "I've read and understood the Terms and Conditions of Fürgefutár.hu."
    199215
    200 #: includes/furgefutar.php:365
     216#: includes/furgefutar.php:438
    201217msgid ""
    202218"Az Általános Felhasználói Szerződés megtalálható a Fürgefutár.hu oldalon:"
    203219msgstr "Terms and Conditions can be found on Fürgefutár.hu:"
    204220
    205 #: includes/furgefutar.php:374
     221#: includes/furgefutar.php:447
    206222msgid "Feladási adatok"
    207223msgstr "Collection details"
    208224
    209 #: includes/furgefutar.php:376
     225#: includes/furgefutar.php:449
    210226msgid ""
    211227"Amennyiben a Fürgefutár.hu oldalán a Beállításokban már megadta a következő "
     
    215231"mandatory to provide them here."
    216232
    217 #: includes/furgefutar.php:379
     233#: includes/furgefutar.php:452
    218234msgid "Feladó neve"
    219235msgstr "Sender's name"
    220236
    221 #: includes/furgefutar.php:382
     237#: includes/furgefutar.php:455
    222238msgid "Gipsz Jakab"
    223239msgstr "John Doe"
    224240
    225 #: includes/furgefutar.php:386
     241#: includes/furgefutar.php:459
    226242msgid "Feladó bankjának neve"
    227243msgstr "Name of Sender's bank"
    228244
    229 #: includes/furgefutar.php:389
     245#: includes/furgefutar.php:462
    230246msgid "OTP"
    231247msgstr "UniCredit"
    232248
    233 #: includes/furgefutar.php:393
     249#: includes/furgefutar.php:466
    234250msgid "Feladó bankszámlaszáma"
    235251msgstr "Bank account number of sender"
    236252
    237 #: includes/furgefutar.php:396
     253#: includes/furgefutar.php:469
    238254msgid "12345678-12345678-12345678"
    239255msgstr "XX1234567890 or 12345678-12345678-12345678"
    240256
    241 #: includes/furgefutar.php:404
     257#: includes/furgefutar.php:477
     258msgid "Generált fuvarlevelek"
     259msgstr "Waybills"
     260
     261#: includes/furgefutar.php:479
     262msgid ""
     263"Amennyiben törölni szeretné az Ön által generált PDF fuvarleveleket, itt "
     264"megteheti!"
     265msgstr "If you want to delete the PDF waybills you have generated, click here!"
     266
     267#: includes/furgefutar.php:479
     268msgid "Fuvarlevelek törlése"
     269msgstr "Waybills cancellation"
     270
     271#: includes/furgefutar.php:486
    242272msgid "GLS CsomagPont beállítások"
    243273msgstr "GLS Parcel Point settings"
    244274
    245 #: includes/furgefutar.php:408
     275#: includes/furgefutar.php:490
    246276msgid "Megjelenés"
    247277msgstr "Display mode"
    248278
    249 #: includes/furgefutar.php:411
     279#: includes/furgefutar.php:493
    250280msgid "Legördülő"
    251281msgstr "Dropdown"
    252282
    253 #: includes/furgefutar.php:411
     283#: includes/furgefutar.php:493
    254284msgid "Térképes"
    255285msgstr "Map"
    256286
    257 #: includes/furgefutar.php:416
     287#: includes/furgefutar.php:498
    258288msgid "Google Map Api kulcs"
    259289msgstr "Google Maps API key"
    260290
    261 #: includes/furgefutar.php:419
     291#: includes/furgefutar.php:501
    262292msgid ""
    263293"Amennyiben a térképes megjelenést választja, szükség van Google Map Api "
     
    265295msgstr "If you choose Map display mode, you need a Google Maps API key"
    266296
    267 #: includes/furgefutar.php:636
     297#: includes/furgefutar.php:744
    268298msgid "A Fürgefutár.hu rendszerének küldött kérés:"
    269299msgstr "Request sent to Fürgefutár.hu:"
    270300
    271 #: includes/furgefutar.php:636
     301#: includes/furgefutar.php:744
    272302msgid "A Fürgefutár.hu rendszerétől kapott válasz:"
    273303msgstr "Response received from Fürgefutár.hu:"
    274304
    275 #: includes/furgefutar.php:640 includes/furgefutar.php:647
    276 #: includes/furgefutar.php:649 includes/furgefutar.php:714
     305#: includes/furgefutar.php:748 includes/furgefutar.php:755
     306#: includes/furgefutar.php:757 includes/furgefutar.php:822
    277307msgid "Fürgefutár.hu hibaüzenet:"
    278308msgstr "Fürgefutár.hu error message:"
    279309
    280 #: includes/furgefutar.php:645 includes/furgefutar.php:699
    281 #: includes/furgefutar.php:701 includes/furgefutar.php:784
    282 #: includes/furgefutar.php:786 includes/furgefutar.php:793
    283 #: includes/furgefutar.php:795
     310#: includes/furgefutar.php:753 includes/furgefutar.php:807
     311#: includes/furgefutar.php:809 includes/furgefutar.php:892
     312#: includes/furgefutar.php:894 includes/furgefutar.php:901
     313#: includes/furgefutar.php:903
    284314msgid "Sikertelen Fürgefutár.hu megrendelés."
    285315msgstr "Unsuccesful Fürgefutár.hu order."
    286316
    287 #: includes/furgefutar.php:645 includes/furgefutar.php:685
    288 #: includes/furgefutar.php:699 includes/furgefutar.php:726
    289 #: includes/furgefutar.php:737 includes/furgefutar.php:769
    290 #: includes/furgefutar.php:784 includes/furgefutar.php:793
     317#: includes/furgefutar.php:753 includes/furgefutar.php:793
     318#: includes/furgefutar.php:807 includes/furgefutar.php:834
     319#: includes/furgefutar.php:845 includes/furgefutar.php:877
     320#: includes/furgefutar.php:892 includes/furgefutar.php:901
    291321msgid "Webshop rendelési azonosító:"
    292322msgstr "Webshop order ID:"
    293323
    294 #: includes/furgefutar.php:645 includes/furgefutar.php:649
     324#: includes/furgefutar.php:753 includes/furgefutar.php:757
    295325msgid "A kérésre nem érkezett válasz a Fürgefutár.hu rendszerétől."
    296326msgstr "No response received from Fürgefutár.hu for the request."
    297327
    298 #: includes/furgefutar.php:645
     328#: includes/furgefutar.php:753
    299329msgid "Esetlegesen nem megfelelő jelszó vagy e-mal cím!"
    300330msgstr "Password or email address probably wrong."
    301331
    302 #: includes/furgefutar.php:664
     332#: includes/furgefutar.php:772
    303333msgid "Fürgefutár.hu rendszer hibaüzenet:"
    304334msgstr "Error message from Fürgefutár.hu:"
    305335
    306 #: includes/furgefutar.php:685 includes/furgefutar.php:737
    307 #: includes/furgefutar.php:769
     336#: includes/furgefutar.php:793 includes/furgefutar.php:845
     337#: includes/furgefutar.php:877
    308338msgid "Sikeres Fürgefutár.hu megrendelés."
    309339msgstr "Successful Fürgefutár.hu order."
    310340
    311 #: includes/furgefutar.php:685 includes/furgefutar.php:726
    312 #: includes/furgefutar.php:738 includes/furgefutar.php:770
     341#: includes/furgefutar.php:793 includes/furgefutar.php:834
     342#: includes/furgefutar.php:846 includes/furgefutar.php:878
    313343msgid "Fürgefutár.hu rendelési azonosító:"
    314344msgstr "Fürgefutár.hu order ID:"
    315345
    316 #: includes/furgefutar.php:685
     346#: includes/furgefutar.php:793
    317347msgid "Teszt üzemmódban a fuvarlevél valótlan adatokat tartalmaz!"
    318348msgstr "The waybill contains fake data in test mode!"
    319349
    320 #: includes/furgefutar.php:689
     350#: includes/furgefutar.php:797
    321351#, php-format
    322352msgid ""
     
    328358"%s. <em> The waybill contains fake data in test mode!</em>"
    329359
    330 #: includes/furgefutar.php:726
     360#: includes/furgefutar.php:834
    331361msgid ""
    332362"Sikeres Fürgefutár.hu megrendelés, azonban címke és fuvarlevél nem készült."
    333363msgstr "Successful Fürgefutár.hu order, but a label/waybill was not generated."
    334364
    335 #: includes/furgefutar.php:726
     365#: includes/furgefutar.php:834
    336366msgid "A Fürgefutár.hu ügyfélszolgálata javítja a hibát és elküldi Önnek."
    337367msgstr ""
     
    339369"email."
    340370
    341 #: includes/furgefutar.php:728
     371#: includes/furgefutar.php:836
    342372msgid ""
    343373"Sikeres Fürgefutár.hu megrendelés, azonban címke és fuvarlevél nem készült. "
     
    348378"email."
    349379
    350 #: includes/furgefutar.php:743 includes/furgefutar.php:775
     380#: includes/furgefutar.php:851 includes/furgefutar.php:883
    351381#, php-format
    352382msgid ""
     
    357387"%s."
    358388
    359 #: includes/furgefutar.php:820
     389#: includes/furgefutar.php:928
    360390msgid "Fürgefutár.hu megrendelés"
    361391msgstr "Generate label via Fürgefutár.hu"
    362392
    363 #: includes/furgefutar.php:821
     393#: includes/furgefutar.php:929
    364394msgid "Fürgefutár.hu megrendelés és fuvarlevél letöltés"
    365395msgstr "Generate and download labels via Fürgefutár.hu"
    366396
    367 #: includes/furgefutar.php:822
     397#: includes/furgefutar.php:930
    368398msgid "Fürgefutár.hu fuvarlevél letöltés"
    369399msgstr "Download labels generated via Fürgefutár.hu"
    370400
    371 #: includes/furgefutar.php:1129 includes/furgefutar.php:1137
     401#: includes/furgefutar.php:1237 includes/furgefutar.php:1245
    372402msgid "Sikeres Fürgefutár.hu fuvarlevel generálás."
    373403msgstr "Label generated successfully via Fürgefutár.hu."
    374404
    375 #: includes/furgefutar.php:1130 includes/furgefutar.php:1138
     405#: includes/furgefutar.php:1238 includes/furgefutar.php:1246
    376406msgid "Fuvarlevél letöltése"
    377407msgstr "Download label"
    378408
    379 #: includes/furgefutar.php:1131 includes/furgefutar.php:1139
     409#: includes/furgefutar.php:1239 includes/furgefutar.php:1247
    380410msgid "A következő rendelések fuvarlevelét tartalmazza:"
    381411msgstr "Contains the labels of the following orers:"
    382412
    383 #: includes/furgefutar.php:1132
     413#: includes/furgefutar.php:1240
    384414msgid "A következő rendelések fuvarlevelét nem tartalmazza:"
    385415msgstr "Does not contain the labels of the following orders:"
    386416
    387 #: includes/furgefutar.php:1149
     417#: includes/furgefutar.php:1257
    388418msgid "Sikertelen Fürgefutár.hu fuvarlevel generálás."
    389419msgstr "Label generation via Fürgefutár.hu failed."
    390420
    391 #: includes/furgefutar.php:1150
     421#: includes/furgefutar.php:1258
    392422msgid "Egy kiválasztott rendelés sem tartalmaz fuvarlevelet!"
    393423msgstr "None of the selected orders has a label!"
    394424
    395 #: includes/furgefutar.php:1151
     425#: includes/furgefutar.php:1259
    396426msgid "Webshop rendelési azonosítók:"
    397427msgstr "Webshop order IDs:"
     428
     429#: includes/furgefutar.php:1332
     430msgid "Adat fogadva"
     431msgstr "Data processed by carrier"
     432
     433#: includes/furgefutar.php:1333
     434msgid "Kiszállításra adat átadva"
     435msgstr "Data transferred to carrier"
     436
     437#: includes/furgefutar.php:1336
     438msgid "Úton"
     439msgstr "In transit"
     440
     441#: includes/furgefutar.php:1337
     442msgid ""
     443"Csomag úton van. Ez jelentheti azt, hogy a csomag a raktárba került, vagy a "
     444"felvételt követően úton van a raktárba."
     445msgstr ""
     446"Parcel is in transit, this might mean being in a HUB (central or local) or "
     447"being transferred between HUBs. "
     448
     449#: includes/furgefutar.php:1340
     450msgid "Kiszállítás alatt"
     451msgstr "Out for delivery"
     452
     453#: includes/furgefutar.php:1341
     454msgid "A csomag a futárszolgálathoz került. Kiszállítás hamarosan várható"
     455msgstr "Parcel is at courier, delivery expected soon. "
     456
     457#: includes/furgefutar.php:1344
     458msgid "Kézbesítve"
     459msgstr "Delivered"
     460
     461#: includes/furgefutar.php:1345
     462msgid "Sikeres kiszállítás, a csomagot átvették"
     463msgstr "Parcel was delivered successfully. "
     464
     465#: includes/furgefutar.php:1348
     466msgid "Fennakadás "
     467msgstr "Disruptions"
     468
     469#: includes/furgefutar.php:1349
     470msgid ""
     471"A csomag kiszállítása során fennakadás történt (késés, rossz cím stb.) "
     472"További információért keresse a Fürgefutár.hu-t"
     473msgstr ""
     474"Disruptions happened (delays, wrong address, delivery rescheduled ect.). "
     475"Contact Allpacka/Furgefutar for more information. "
     476
     477#: includes/furgefutar.php:1352
     478msgid "Visszaküldve"
     479msgstr "Returned"
     480
     481#: includes/furgefutar.php:1353
     482msgid "Csomag a feladóhoz visszaküldve"
     483msgstr "Parcel sent back to original sender."
     484
     485#: includes/furgefutar.php:1356
     486msgid "Törölt"
     487msgstr "Cancelled"
     488
     489#: includes/furgefutar.php:1357
     490msgid "A csomag törölve."
     491msgstr "Parcel delivery cancelled at carrier company."
     492
     493#: includes/furgefutar.php:1360
     494msgid "Nincs adat"
     495msgstr "No data available"
     496
     497#: includes/furgefutar.php:1361
     498msgid ""
     499"A csomagról küldött információk nem ismertek. (Ez jelentheti azt, hogy az "
     500"adatok ismertek, de nem megjeleníthető a weboldalon)"
     501msgstr ""
     502"Data transferred to carrier, but not acknowledged yet. Please note that this "
     503"status exists only on the website for now. This web service returns nothing "
     504"when no data is available."
     505
     506#: includes/furgefutar.php:1364
     507msgid "Sérült"
     508msgstr "Damaged"
     509
     510#: includes/furgefutar.php:1365
     511msgid "A csomag megsérült."
     512msgstr "Parcel got damanged."
     513
     514#: includes/furgefutar.php:1368
     515msgid "Csomagpont"
     516msgstr "Dropoff Point"
     517
     518#: includes/furgefutar.php:1369
     519msgid "A csomag a csomagpontba került."
     520msgstr "Parcel is in dropoff point."
     521
     522#: includes/furgefutar.php:1372
     523msgid "Eltűnt"
     524msgstr "Missing"
     525
     526#: includes/furgefutar.php:1373
     527msgid "A csomag eltűnt."
     528msgstr "Parcel went missing. "
     529
     530#: includes/furgefutar.php:1376
     531msgid "Elutasítva"
     532msgstr "Refused"
     533
     534#: includes/furgefutar.php:1377
     535msgid "A címzett megtagadta az átvételt"
     536msgstr "Refused"
     537
     538#: includes/furgefutar.php:1380
     539msgid "Címzett nem található"
     540msgstr "Consignee Absent"
     541
     542#: includes/furgefutar.php:1381
     543msgid "A címzett nem tartózkodott a megadott kiszállítási címen"
     544msgstr "Consignee Absent"
     545
     546#: includes/furgefutar.php:1436
     547msgid "fájl törölve."
     548msgstr "file deleted."
     549
     550#: includes/furgefutar.php:1464
     551msgid "Fürgefutár.hu hibaüzenet"
     552msgstr "Fürgefutár.hu error message:"
     553
     554#: includes/furgefutar.php:1466
     555msgid ""
     556"A bővítmény használatához szükség van a Client URL Library telepítésére vagy "
     557"az allow_url_fopen engedélyezésére. Kérem, jelezze ezt a weboldal "
     558"üzemeltetőjének."
     559msgstr ""
     560"To use this plugin, you need to install the Client URL Library or enable "
     561"allow_url_fopen. Please contact the website operator."
    398562
    399563#: includes/mergepdf.php:22
  • furgefutar-hu-integracio/trunk/readme.txt

    r2042193 r2120648  
    55Tested up to: 5.1
    66Requires PHP: 5.6
    7 Stable tag: 1.3.2
     7Stable tag: 1.4.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2424*   Tömeges címke generálás, több címke letöltése egyetlen PDF-ben
    2525*   Tesztkörnyezet, teszt megrendelések küldése
     26*   Csomag státusz nyomonkövetés
     27*   Tömeges fuvarlevél letöltésének egyedi elnevezése
     28*   Egyedi beállítási lehetőség az utánvétes fizetésekre
     29
    2630
    2731A bővítmény használatához az alábbiak szükségesek:
     
    4650*   Bulk label generation, saving multiple labels in a single PDF file
    4751*   Test environment for sending test orders
     52*   Package Status Tracking
     53*   Unique name for AWD downloading
     54*   Custom setting options for COD
     55
    4856
    4957To use this plugin, you must:
     
    8795
    8896== Changelog ==
     97
     98= 1.4.5 =
     99* WooCommerce-es megrendelés azonosítót beküldése
     100* Submit WooCommerce Order Id
     101
     102= 1.4.4 =
     103* cURL hívás beépítése
     104* Install cURL call
     105
     106= 1.4.3 =
     107* Utánvétes fizetés kiválasztása
     108* Custom setting options for COD
     109
     110= 1.4.2 =
     111* Tömeges fuvarlevél PDF-ek egyedi elnevezése
     112* Unique name for AWD downloading
     113
     114= 1.4.1 =
     115* Csomag státusz nyomonkövetés
     116* Package Status Tracking
     117
    89118= 1.3.2 =
    90119* Hibajavítás (több címke együttes letöltése egy PDF fájlban)
     120* Bug fix (download multiple labels in a PDF file)
    91121
    92122= 1.3 =
    93123* Csomag feladása a megrendelő által kiválasztott GLS csomagpontra
     124* Sending a package to the GLS parcel point selected by the customer
    94125
    95126= 1.2 =
     
    114145
    115146== Upgrade Notice ==
     147= 1.4.5 =
     148* WooCommerce-es megrendelés azonosítót beküldése
     149* Submit WooCommerce Order Id
     150
     151= 1.4.4 =
     152* cURL hívás beépítése
     153* Install cURL call
     154
     155= 1.4.3 =
     156* Utánvétes fizetés kiválasztása
     157* Custom setting options for COD
     158
     159= 1.4.2 =
     160* Tömeges fuvarlevél PDF-ek egyedi elnevezése
     161* Unique name for AWD downloading
     162
     163= 1.4.1 =
     164* Csomag státusz nyomonkövetés
     165* Package Status Tracking
     166
    116167= 1.3.2 =
    117168Hibajavítás (több címke együttes letöltése egy PDF fájlban nem működik az 1.3 verzióban), mindenképp frissítsen!
Note: See TracChangeset for help on using the changeset viewer.