Plugin Directory

Changeset 2570369


Ignore:
Timestamp:
07/22/2021 08:04:40 PM (5 years ago)
Author:
javier4mar
Message:

Moovin version 1.0.2

Location:
moovin-delivery
Files:
88 added
7 edited

Legend:

Unmodified
Added
Removed
  • moovin-delivery/trunk/admin/class-moovin-delivery-admin.php

    r2569445 r2570369  
    475475                               
    476476                                    if($body->status == "SUCCESS"){
     477                                        $tc = $this->moovin_get_exchange_values();
    477478
    478479                                        $usernameUpdate =   $wpdb->update(
    479480                                            $this->table_activator->moovin_tbl_parameters(),
    480                                             array("value" => sanitize_text_field($_POST["username"]), "edited_at" => date("Y-m-d H:m:s")),
     481                                            array("value" => sanitize_text_field($_POST["username"]), "edited_at" => date_i18n("Y-m-d H:m:s")),
    481482                                            array("cod_parameter" => "MOOVIN_USERNAME_SANDBOX")
    482483                                        );
     
    484485                                        $passwordUpdate =   $wpdb->update(
    485486                                            $this->table_activator->moovin_tbl_parameters(),
    486                                             array("value" => sanitize_text_field($_POST["password"]), "edited_at" => date("Y-m-d H:m:s")),
     487                                            array("value" => sanitize_text_field($_POST["password"]), "edited_at" => date_i18n("Y-m-d H:m:s")),
    487488                                            array("cod_parameter" => "MOOVIN_PASSWORD_SANDBOX")
    488489                                        );
    489 
     490                               
    490491                                        $tokenUpdate =  $wpdb->update(
    491492                                            $this->table_activator->moovin_tbl_parameters(),
    492                                             array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date("Y-m-d H:m:s")),
     493                                            array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc , "edited_at" => date_i18n("Y-m-d H:m:s")),
    493494                                            array("cod_parameter" => "MOOVIN_TOKEN_SANDBOX")
    494495                                        );
     
    531532
    532533                                if($body->status == "SUCCESS"){
     534                                    $tc = $this->moovin_get_exchange_values();
    533535
    534536                                    $usernameUpdate =   $wpdb->update(
    535537                                        $this->table_activator->moovin_tbl_parameters(),
    536                                         array("value" => sanitize_text_field($_POST["username"]),"edited_at" => date("Y-m-d H:m:s")),
     538                                        array("value" => sanitize_text_field($_POST["username"]), "edited_at" => date_i18n("Y-m-d H:m:s")),
    537539                                        array("cod_parameter" => "MOOVIN_USERNAME_PROD")
    538540                                    );
     
    540542                                    $passwordUpdate =   $wpdb->update(
    541543                                        $this->table_activator->moovin_tbl_parameters(),
    542                                         array("value" => sanitize_text_field($_POST["password"]),"edited_at" => date("Y-m-d H:m:s")),
     544                                        array("value" => sanitize_text_field($_POST["password"]), "edited_at" => date_i18n("Y-m-d H:m:s")),
    543545                                        array("cod_parameter" => "MOOVIN_PASSWORD_PROD")
    544546                                    );
     
    546548                                    $tokenUpdate =  $wpdb->update(
    547549                                        $this->table_activator->moovin_tbl_parameters(),
    548                                         array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date("Y-m-d H:m:s")),
     550                                        array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc , "edited_at" => date_i18n("Y-m-d H:m:s")),
    549551                                        array("cod_parameter" => "MOOVIN_TOKEN_PROD")
    550552                                    );
     553
    551554
    552555                                    if ($usernameUpdate > 0 && $passwordUpdate > 0 && $tokenUpdate >0){
     
    750753                        }
    751754
    752                    
    753 
     755               
    754756                        $express_schedule = $this->moovin_exist_db_parameter("MOOVIN_EXPRESS_SCHEDULE");
    755757
     
    776778                        //Notification Email Orders
    777779                        if (sanitize_text_field($_POST["emailnotification"]) == "1"){
    778                            
    779780                            if ( ! wp_next_scheduled( 'isa_add_every_three_minutes' ) ) {
    780781                                wp_schedule_event( time(), 'every_three_minutes', 'isa_add_every_three_minutes' );
    781782                            }
    782 
    783 
    784                             if ($wpdb->get_var("show tables like '" . $this->table_activator->moovin_tbl_notification_order() . "'") != $this->table_activator->moovin_tbl_notification_order()) {
    785    
    786                                 $sql_notification_order="CREATE TABLE `" . $this->table_activator->moovin_tbl_notification_order() . "` (
    787                                         `id_notification` INT(11) NOT NULL AUTO_INCREMENT ,
    788                                         `order_id` BIGINT NOT NULL ,
    789                                         `email` VARCHAR(250)  ,
    790                                         `status` tinyint(1) NOT NULL DEFAULT '0' ,
    791                                         `created_at` timestamp ,
    792                                         `sent_at` timestamp  ,
    793                                         PRIMARY KEY (`id_notification`))
    794                                         ENGINE = InnoDB;";
    795            
    796                                 require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
    797            
    798                                 dbDelta($sql_notification_order);       
    799                             }
    800        
    801783                        }
    802784
     
    1004986
    1005987                            $orders =  $wpdb->get_results(
    1006                             "SELECT * from " . $this->table_activator->moovin_tbl_orders() ." ORDER BY date_created DESC" , ARRAY_A);
     988                            "SELECT " . $this->table_activator->moovin_tbl_orders() .".*  , ".$wpdb->prefix."postmeta.meta_value as currency from " . $this->table_activator->moovin_tbl_orders() ."  LEFT JOIN ".$wpdb->prefix."postmeta ON  " . $this->table_activator->moovin_tbl_orders() .".order_id  = ".$wpdb->prefix."postmeta.post_id AND meta_key = '_order_currency' ORDER BY date_created DESC" , ARRAY_A);
    1007989                       
    1008 
    1009990                            echo wp_json_encode(array("data"=>$orders));
    1010991
     
    14571438    }
    14581439
    1459 
    14601440    function moovin_exist_db_parameter($cod_parameter){
    1461 
    14621441        global $wpdb;
    1463 
    14641442        $parameter = $wpdb->get_results(
    14651443            $wpdb->prepare(
     
    14751453    }
    14761454
     1455    function moovin_get_exchange_values(){
     1456        $tc_url = "https://api.hacienda.go.cr/indicadores/tc";
     1457        $responseTC = wp_remote_post($tc_url, array(
     1458            'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     1459            'method'      => 'GET',
     1460            'data_format' => 'body'
     1461        ));
     1462
     1463        return $responseTC["body"];
     1464    }
     1465
    14771466    function moovin_get_refresh_token(){
    14781467        global $wpdb;
     
    14921481            $password_sandbox = "";
    14931482            $current_env = "";
     1483            $tc = "";
    14941484
    14951485            foreach($parameters as $row){
     
    14991489                            $token_sandbox =  $row["value"];
    15001490                            $token_sandbox_date = $row["value1"];
     1491                            $tc = $row["value2"];
    15011492                        }
    15021493                    break;
     
    15051496                            $token_prod =  $row["value"];
    15061497                            $token_prod_date = $row["value1"];
     1498                            $tc = $row["value2"];
    15071499                        }
    15081500                    break;
     
    15451537                    $tokenDate = strtotime($token_sandbox_date);
    15461538
    1547                
    15481539                    if ($tokenDate > $currentDate ){
    1549                         return array("token"=> $token_sandbox , "url"=> $url_sandbox , "error" => false);
     1540                        return array("token"=> $token_sandbox , "url"=> $url_sandbox ,"tc"=> json_decode( $tc , true), "error" => false);
    15501541                    }else{
    15511542                        $post_url = $url_sandbox."/moovinApiWebServices-1/rest/api/moovinEnterprise/partners/login";
    1552 
    15531543                        $response = wp_remote_post($post_url, array(
    15541544                            'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     
    15611551
    15621552                        if($body->status == "SUCCESS"){
    1563 
     1553                            $tc = $this->moovin_get_exchange_values();
    15641554                            $tokenUpdate =  $wpdb->update(
    15651555                                $this->table_activator->moovin_tbl_parameters(),
    1566                                 array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date("Y-m-d H:m:s")),
     1556                                array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc , "edited_at" => date_i18n("Y-m-d H:m:s")),
    15671557                                array("cod_parameter" => "MOOVIN_TOKEN_SANDBOX")
    15681558                            );
    15691559
    1570                             return array("token"=> $body->token , "url"=> $url_sandbox , "error" => false);
     1560                            return array("token"=> $body->token , "url"=> $url_sandbox , "tc"=> json_decode( $tc , true) , "error" => false);
    15711561                        }else{
    15721562                            return array("token"=> $body->token , "url"=> $url_sandbox , "error" => true);
     
    15811571
    15821572                    if ($tokenDate > $currentDate ){
    1583                         return array("token"=>$token_prod, "url"=> $url_prod, "error" => false);
     1573                        return array("token"=>$token_prod, "url"=> $url_prod, "tc"=> json_decode( $tc , true), "error" => false);
    15841574                    }else{
    15851575                        $post_url = $url_prod."/moovinApiWebServices-1/rest/api/moovinEnterprise/partners/login";
    1586 
    15871576                        $response = wp_remote_post($post_url, array(
    15881577                            'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     
    15951584
    15961585                        if($body->status == "SUCCESS"){
    1597 
     1586                            $tc = $this->moovin_get_exchange_values();
    15981587                            $tokenUpdate =  $wpdb->update(
    15991588                                $this->table_activator->moovin_tbl_parameters(),
    1600                                 array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date("Y-m-d H:m:s")),
     1589                                array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc, "edited_at" => date_i18n("Y-m-d H:m:s")),
    16011590                                array("cod_parameter" => "MOOVIN_TOKEN_PROD")
    16021591                            );
    16031592
    1604                             return array("token"=> $body->token , "url"=> $url_prod , "error" => false);
     1593                            return array("token"=> $body->token , "url"=> $url_prod , "tc"=> json_decode($tc , true) , "error" => false);
    16051594                        }else{
    16061595                            return array("token"=> "", "url"=> $url_prod, "error" => true);
  • moovin-delivery/trunk/admin/js/partial/order.js

    r2569445 r2570369  
    110110            visible: true,
    111111            render: function (data, type, row, meta) {
    112               return "₡ " + formatter.format(data);
     112              return row.currency + " " + formatter.format(data);
    113113            },
    114114          },
     
    117117            visible: true,
    118118            render: function (data, type, row, meta) {
    119               return "₡ " + formatter.format(data);
     119              return row.currency + " " + formatter.format(data);
    120120            },
    121121          },
  • moovin-delivery/trunk/admin/partials/moovin-delivery-admin-orders.php

    r2569445 r2570369  
    1616
    1717                                <div class="float-lg-right pb-2">
    18                                  
    1918                                </div>
     19
     20                                <input type="hidden" value="<?php echo get_woocommerce_currency() ?>" id="currency" name="currency">
     21                                <input type="hidden" value="<?php echo get_woocommerce_currency_symbol() ?>" id="currency_symbol" name="currency_symbol">
     22
    2023                                <div class="table-responsive">
    2124                                    <table id="datatable-orders"
  • moovin-delivery/trunk/moovin-delivery.php

    r2569445 r2570369  
    1010 *
    1111 * @link              https://www.moovin.me/
    12  * @since             1.0.1
     12 * @since             1.0.2
    1313 * @package           Moovin_Delivery
    1414 *
     
    1717 * Plugin URI:        https://www.moovin.me/
    1818 * Description:       Vos vendés nosotros entregamos tus paquetes, activa nuestro plugin y Moovin se encargara de entregar tus productos.
    19  * Version:           1.0.1
     19 * Version:           1.0.2
    2020 * Author:            Moovin Developer
    2121 * Author URI:        https://www.moovin.me/contacto/
     
    4242}
    4343
    44 /**
    45  * Currently plugin version.
    46  * Start at version 1.0.1 and use SemVer - https://semver.org
    47  * Rename this for your plugin and update it as you release new versions.
    48  */
    49 define( 'MOOVIN_DELIVERY_VERSION', '1.0.1' );
     44define( 'MOOVIN_DELIVERY_VERSION', '1.0.2' );
    5045define( 'MOOVIN_PLUGIN_PATH', plugin_dir_path(__FILE__));
    5146define( 'MOOVIN_PLUGIN_URL', plugin_dir_url(__FILE__));
    52 
    5347
    5448/**
  • moovin-delivery/trunk/public/class-moovin-delivery-public.php

    r2569445 r2570369  
    197197                $password_sandbox = "";
    198198                $current_env = "";
     199                $tc = "";
    199200
    200201                foreach($parameters as $row){
     
    204205                                $token_sandbox =  $row["value"];
    205206                                $token_sandbox_date = $row["value1"];
     207                                $tc = $row["value2"];
    206208                            }
    207209                        break;
     
    210212                                $token_prod =  $row["value"];
    211213                                $token_prod_date = $row["value1"];
     214                                $tc = $row["value2"];
    212215                            }
    213216                        break;
     
    251254
    252255                        if ($tokenDate > $currentDate ){
    253                             return array("token"=> $token_sandbox , "url"=> $url_sandbox , "error" => false);
     256                            return array("token"=> $token_sandbox , "url"=> $url_sandbox ,"tc"=> json_decode( $tc , true), "error" => false);
    254257                        }else{
    255258                            $post_url = $url_sandbox."/moovinApiWebServices-1/rest/api/moovinEnterprise/partners/login";
    256 
    257259                            $response = wp_remote_post($post_url, array(
    258260                                'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     
    265267
    266268                            if($body->status == "SUCCESS"){
    267 
     269                                $tc = $this->moovin_get_exchange_values();
    268270                                $tokenUpdate =  $wpdb->update(
    269271                                    $this->table_activator->moovin_tbl_parameters(),
    270                                     array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date_i18n("Y-m-d H:m:s")),
     272                                    array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc , "edited_at" => date_i18n("Y-m-d H:m:s")),
    271273                                    array("cod_parameter" => "MOOVIN_TOKEN_SANDBOX")
    272274                                );
    273275
    274                                 return array("token"=> $body->token , "url"=> $url_sandbox , "error" => false);
     276                                return array("token"=> $body->token , "url"=> $url_sandbox , "tc"=> json_decode( $tc , true) , "error" => false);
    275277                            }else{
    276278                                return array("token"=> $body->token , "url"=> $url_sandbox , "error" => true);
     
    285287   
    286288                        if ($tokenDate > $currentDate ){
    287                             return array("token"=>$token_prod, "url"=> $url_prod, "error" => false);
     289                            return array("token"=>$token_prod, "url"=> $url_prod, "tc"=> json_decode( $tc , true), "error" => false);
    288290                        }else{
    289291                            $post_url = $url_prod."/moovinApiWebServices-1/rest/api/moovinEnterprise/partners/login";
    290 
    291292                            $response = wp_remote_post($post_url, array(
    292293                                'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     
    299300
    300301                            if($body->status == "SUCCESS"){
    301 
     302                                $tc = $this->moovin_get_exchange_values();
    302303                                $tokenUpdate =  $wpdb->update(
    303304                                    $this->table_activator->moovin_tbl_parameters(),
    304                                     array("value" => $body->token, "value1" => $body->expirationDate , "edited_at" => date_i18n("Y-m-d H:m:s")),
     305                                    array("value" => $body->token, "value1" => $body->expirationDate , "value2"=> $tc, "edited_at" => date_i18n("Y-m-d H:m:s")),
    305306                                    array("cod_parameter" => "MOOVIN_TOKEN_PROD")
    306307                                );
    307308
    308                                 return array("token"=> $body->token , "url"=> $url_prod , "error" => false);
     309                                return array("token"=> $body->token , "url"=> $url_prod , "tc"=> json_decode($tc , true) , "error" => false);
    309310                            }else{
    310311                                return array("token"=> "", "url"=> $url_prod, "error" => true);
     
    319320
    320321        function moovin_zones_coverage_get(){
    321            
    322322            $response = $this->moovin_get_refresh_token();
    323323
     
    405405                                "emailContactCollect" => $contactCollect["value2"] );
    406406            }
     407        }
     408
     409        function moovin_get_exchange_values(){
     410            $tc_url = "https://api.hacienda.go.cr/indicadores/tc";
     411            $responseTC = wp_remote_post($tc_url, array(
     412                'headers'     => array('Content-Type' => 'application/json; charset=utf-8'),
     413                'method'      => 'GET',
     414                'data_format' => 'body'
     415            ));
     416
     417            return $responseTC["body"];
    407418        }
    408419
     
    464475               
    465476                            $body = array(
    466                                 "vehicle"=>"car",
    467477                                "ensure"=>true,
    468478                                "pointDelivery" => $pointDelivery,
     
    496506                            $amountRoute = 0;
    497507                            $amountExpress = 0;
    498                             foreach($estimation["optionService"] as $row){
    499 
    500                                 if ($row["type"] == "Ondemand"){
    501                                     if(isset($row["currency"])){
    502                                         if($row["currency"]["currency"] == "dollars"){
    503                                             $amountExpress = $row["amount"] * 620;
    504                                         }else{
    505                                             $amountExpress = $row["amount"] ;
     508
     509                            switch(get_woocommerce_currency()){
     510                                case "USD":
     511                                    //Woocommerce in USD Currency
     512                                    foreach($estimation["optionService"] as $row){
     513                                        /*
     514                                         * Check Service Type Moovin
     515                                         */
     516                                        switch($row["type"]){
     517                                            case "Ondemand":
     518                                                /*
     519                                                *  Service Express
     520                                                */
     521                                                if(isset($row["currency"])){
     522                                                    if($row["currency"]["currency"] == "dollars"){
     523                                                        $amountExpress = $row["amount"] ;
     524                                                    }else{
     525                                                        //Calculate COLON TO DOLAR
     526                                                        if(isset($response["tc"]["dolar"]["compra"]["valor"])){
     527                                                            $amountExpress = $row["amount"] / $response["tc"]["dolar"]["compra"]["valor"] ;
     528                                                        }else{
     529                                                            $amountExpress = $row["amount"] / 600 ;
     530                                                        }
     531                                                    }
     532                                                }else{
     533                                                    $amountExpress = $row["amount"] ;
     534                                                }
     535                                            break;
     536                                            case "route":
     537                                                /*
     538                                                *  Service Route
     539                                                */
     540                                                if(isset($row["currency"])){
     541                                                    if($row["currency"]["currency"] == "dollars"){
     542                                                        $amountRoute = $row["amount"] ;
     543                                                    }else{
     544                                                        //Calculate COLON TO DOLAR
     545                                                        if(isset($response["tc"]["dolar"]["compra"]["valor"])){
     546                                                            $amountRoute = $row["amount"] / $response["tc"]["dolar"]["compra"]["valor"] ;
     547                                                        }else{
     548                                                            $amountRoute = $row["amount"] / 600 ;
     549                                                        }
     550                                                    }
     551                                                }else{
     552                                                    $amountRoute = $row["amount"] ;
     553                                                }
     554                                                break;
     555                                            default:
     556                                                /*
     557                                                *  Nothing to do
     558                                                */
     559                                            break;
    506560                                        }
    507                                     }else{
    508                                         $amountExpress = $row["amount"] ;
    509561                                    }
    510                                 }else if ($row["type"] == "route"){
    511                                     if(isset($row["currency"])){
    512                                         if($row["currency"]["currency"] == "dollars"){
    513                                             $amountRoute = $row["amount"] * 620;
    514                                         }else{
    515                                             $amountRoute = $row["amount"] ;
     562       
     563
     564
     565
     566                                break;
     567                                case "CRC":
     568                                    //Woocommerce in CRC colon Currency
     569
     570                                    foreach($estimation["optionService"] as $row){
     571                                        /*
     572                                         * Check Service Type Moovin
     573                                         */
     574                                        switch($row["type"]){
     575                                            case "Ondemand":
     576                                                /*
     577                                                *  Service Express
     578                                                */
     579                                                if(isset($row["currency"])){
     580                                                    if($row["currency"]["currency"] == "dollars"){
     581                                                        //Calculate DOLAR TO COLON
     582                                                        if(isset($response["tc"]["dolar"]["venta"]["valor"])){
     583                                                            $amountExpress = $row["amount"] * $response["tc"]["dolar"]["venta"]["valor"] ;
     584                                                        }else{
     585                                                            $amountExpress = $row["amount"] * 620 ;
     586                                                        }
     587                                                    }else{
     588                                                        $amountExpress = $row["amount"] ;
     589                                                    }
     590                                                }else{
     591                                                    $amountExpress = $row["amount"] ;
     592                                                }
     593                                            break;
     594                                            case "route":
     595                                                /*
     596                                                *  Service Route
     597                                                */
     598                                                if(isset($row["currency"])){
     599                                                    if($row["currency"]["currency"] == "dollars"){
     600                                                        //Calculate COLON TO DOLAR
     601                                                        if(isset($response["tc"]["dolar"]["venta"]["valor"])){
     602                                                            $amountRoute = $row["amount"] * $response["tc"]["dolar"]["venta"]["valor"] ;
     603                                                        }else{
     604                                                            $amountRoute = $row["amount"] * 620 ;
     605                                                        }
     606                                                    }else{
     607                                                        $amountRoute = $row["amount"] ;
     608                                                    }
     609                                                }else{
     610                                                    $amountRoute = $row["amount"] ;
     611                                                }
     612                                                break;
     613                                            default:
     614                                                /*
     615                                                *  Nothing to do
     616                                                */
     617                                            break;
    516618                                        }
    517                                     }else{
    518                                         $amountRoute = $row["amount"] ;
    519619                                    }
    520                                 }
    521                             }
    522 
     620                                break;
     621                                default:
     622                                    // TODO CASE EUR  $response["tc"]["euro"]
     623                                    wc_add_wp_error_notices(new WP_Error(1,'Error la moneda de la tienda no es compatible con el plugin moovin['.get_woocommerce_currency().']'));
     624                                break;
     625                            }
     626
     627
     628                            // assign amount to shipping
    523629                            foreach($rates as $rate_key => $rate_values ) {
    524630                                if( $rates[$rate_key]->method_id == "moovin_shipping_express" ){
     
    532638                        }
    533639                    }
    534 
    535                 }
    536 
     640                }
    537641            }
    538642                   
  • moovin-delivery/trunk/public/partials/moovin-delivery-location-map-picker-public-display.php

    r2569445 r2570369  
    6464
    6565                                <?php
    66                                 if ($default_address_id === $address->id) {
     66                                if ( isset($address->id) &&  $default_address_id === $address->id) {
    6767                                ?>
    6868                                    <input type="radio" class="sg-del-add-select" name="<?php echo esc_attr('selected_' . $section . '_deliver_address'); ?>" data-type="<?php echo esc_attr($section); ?>" value="<?php echo esc_attr($address->id); ?>" id="<?php echo esc_attr('sg_delivery_address_' . $section . '_' . $address->id); ?>" checked="true">
     
    8484                            </div>
    8585                            <div class="item">
    86                                 <h4 class="title"><?php esc_html_e(($address->address_type !== '') ? $address->address_type : $default_address_type_text, 'woocommerce-delivery-location-map-picker'); ?></h4>
    87                                 <p class="text-capitalize address"><?php echo esc_html($address->formatted_address); ?></p>
     86                                <h4 class="title"><?php esc_html_e(( isset($address->address_type) && $address->address_type !== '') ? $address->address_type : $default_address_type_text, 'woocommerce-delivery-location-map-picker'); ?></h4>
     87                                <p class="text-capitalize address"><?php echo isset($address->address_type) ? esc_html($address->formatted_address) : ""; ?></p>
    8888                            </div>
    8989                            <p class="action-container">
  • moovin-delivery/trunk/readme.txt

    r2569445 r2570369  
    66Tested up to: 5.8
    77Requires PHP: 5.6
    8 Stable tag: 1.0.1
     8Stable tag: 1.0.2
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    3232- Envio de notificaciones
    3333- Configuración de horario para servicios express
     34- Multimoneda dolares americano USD - Colon Costarricense CRC
     35- Consulta de tipo de cambio a API BN Costa Rica
    3436
    3537Optimiza tus procesos de envío y reduzca el tiempo de preparación de envíos al integrar en su negocio el servicio logístico de Moovin.
     
    5557= ¿Que datos necesito para usar el plugin? =
    5658
    57 Los datos de acceso los puedes adquirir fácilmente en nuestro [sitio web](https://www.moovin.me/contacto/) o contactamos por medio del correo electrónico a [sitio web](mailto:[email protected]).
     59Los datos de acceso los puedes adquirir fácilmente en nuestro [sitio web](https://www.moovin.me/contacto/) o contactamos por medio del correo electrónico a [[email protected]](mailto:[email protected]).
    5860
    5961= ¿Como configuro mi plugin? =
     
    7981* Version inicial del plugin.
    8082
     83= 1.0.1 =
     84* Notificaciones hacia los clientes con link de seguimiento(Tracking).
     85* Configuración de horario para servicios express.
     86* Actualización documento de ayuda para generar keys de Google Maps.
     87* Mejoras de rendimiento.
     88* Arreglos menores.
     89
     90= 1.0.2 =
     91* Multi moneda USD CRC.
     92* Consulta de tipo de cambio en tiempo real contra Api BN .
     93* Correción calculo express.
     94* Mejoras de rendimiento.
     95
    8196== Upgrade Notice ==
    8297
     
    87102* Mejoras de rendimiento.
    88103* Arreglos menores.
     104
     105= 1.0.2 =
     106* Multi moneda USD CRC.
     107* Consulta de tipo de cambio en tiempo real contra Api BN .
     108* Correción calculo express.
     109* Mejoras de rendimiento.
Note: See TracChangeset for help on using the changeset viewer.