Plugin Directory

Changeset 2613385


Ignore:
Timestamp:
10/13/2021 04:56:44 AM (4 years ago)
Author:
janorkar
Message:

v3.1.3

Location:
ebecas/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • ebecas/trunk/eit-ebecas.php

    r2505621 r2613385  
    3535define( 'EIT_EBECAS_PLUGIN', __FILE__ );
    3636
    37 define( 'EIT_EBECAS_VERSION', '3.1.2' );
     37define( 'EIT_EBECAS_VERSION', '3.1.3' );
    3838
    3939define( 'EIT_EBECAS_REQUIRED_WP_VERSION', '5.3' );
  • ebecas/trunk/includes/css/styles.css

    r2505621 r2613385  
    3333#container-eit-ebecas_form {
    3434    width: 100% !important;
     35    max-width: 100% !important;
    3536    min-height: 100vh !important;
    3637    display: flex !important;
     
    3940    align-items: center !important;
    4041    padding: 15px !important;
    41     background: #b4b0b0 !important;
    4242
    4343}
     
    4949    border-radius: 10px;
    5050    overflow: hidden;
    51     padding: 62px 55px 90px 55px;
     51    padding: 30px;
    5252    box-shadow: 0 15px 35px #CCCCCC;
    5353    position: center;
  • ebecas/trunk/includes/js/scripts.js

    r2503729 r2613385  
    248248            return codeSendStatus;
    249249        }
    250 
    251         console.log('Application Code');
    252250        $("#sending_code").remove();
    253251        $('<p id="sending_code"><small>Sending Application Code...</small>' +
     
    300298
    301299
    302     // //ajax call for visatype //not in use for now
    303     // function visaTest($visaTypes){
    304     //     let type= 'visatype';
    305     //     let data = {
    306     //         action: 'eit_ebecas_api_get_visa_type',
    307     //         security: eit_ebecas.security,
    308     //         eit_ebecas_lookup_type: type
    309     //     };
    310     //     $.ajax({
    311     //         url: eit_ebecas.ajaxurl,
    312     //         type: 'GET',
    313     //         data: data,
    314     //         dataType: 'json',
    315     //         success: function (response) {
    316     //                //console.log(response);
    317     //                $visaTypes =response;
    318     //                console.log($visaTypes);
    319     //         }
    320          
    321     //     });
    322     // }
    323      
    324     // visaTest();
    325 
    326300       //visa related
    327301       $section_visa_type.hide();
     
    341315               $section_visa_type.hide();
    342316               $section_visa_apply.hide();
    343                //$section_visa_upload.removeClass('eit_ebecas_visa_upload').empty();
    344317   
    345318           }     
     
    347320       });
    348321       
    349     function showVisaType(){
    350                
     322    function showVisaType(){
    351323            $section_visa_type.show();
    352             //$section_visa_upload.addClass('eit_ebecas_visa_upload').append(
    353             //'<label for="eit_ebecas_visa_upload">Upload your visa:</label>'+
    354             //'<input type="file" id="eit_ebecas_visa_upload" name="eit_ebecas_visa_upload">');
    355324            $section_visa_apply.hide();
    356325    }
    357326
    358327    function showVisaApply(){
    359      
    360 
    361328            $section_visa_apply.show();
    362329            $section_visa_type.hide();
    363            // $section_visa_upload.removeClass('eit_ebecas_visa_upload').empty();
    364 
    365330    }
    366331
     
    369334        $section_test_date.hide();
    370335
    371         //  $field_test_date.datepicker($.extend({
    372         //      maxDate: 0,
    373         //      yearRange: "-50:+0"
    374         //  }, datepicker));
    375    
     336
    376337
    377338        $english_level.change(function(){
     
    387348              $section_test_date.hide();
    388349              $section_test_score.removeClass('wrap-eit-ebecas-input bg1 eit-rs1-wrap-input').empty();
    389               //$section_test_date.removeClass('eit_ebecas_test_date').empty();
    390 
    391350            }
    392351        });   
     
    421380
    422381        $app.selection.location_id = locationId;
    423         console.log('location selected');
    424382
    425383        getProducts(PRODUCT_TYPE_COURSE, showCourseSection);
     
    434392
    435393    function getProducts(type, callback = null) {
    436         console.log(type);
    437 
    438394        if (type == PRODUCT_TYPE_COURSE) {
    439395            $('<p id="products_loading"><small>Loading...</small>' +
     
    497453                return;
    498454            }
    499 
    500             console.log('course selected');
    501455            $app.selection.course_id = courseId;
    502456
     
    720674                return;
    721675            }
    722 
    723             console.log('insurance selected');
    724676            showInsuranceDates(insuranceId);
    725677        });
     
    845797                return;
    846798            }
    847 
    848             console.log('accommodation selected');
    849799            showAccommodationDates(accommodationId);
    850800        });
     
    954904                return;
    955905            }
    956 
    957             console.log('arrangement selected');
    958906            showArrangementPrice(arrangementId);
    959907        });
     
    1024972                return;
    1025973            }
    1026 
    1027             console.log('airport pickup selected');
    1028974            showAirportPickupDates(airportId);
    1029975        });
     
    1038984                return;
    1039985            }
    1040 
    1041             console.log('airport dropoff selected');
    1042986            showAirportDropoffDates(airportId);
    1043987        });
     
    11721116            $app.initType('others');
    11731117            $section_others_price.remove();
    1174 
    1175             console.log('others selected');
    11761118
    11771119            let price = $('<div id="eit_ebecas_others_price" class="eit_ebecas_product_padding"></div>');
     
    12841226        });
    12851227
    1286         // for (var pair of formData.entries()) {
    1287         //     console.log(pair[0]+ ', ' + pair[1]);
    1288         // }
    1289 
    12901228        // submit form using ajax
    12911229        submitApplication(formData);
  • ebecas/trunk/public/Eit_Ebecas_Student_Portal.php

    r2503729 r2613385  
    167167                $visas = json_decode( $visas_body, true )['VisaList'];
    168168            }
    169             //print_r($visas);
    170 
    171             $options_markup .= '<select name="eit_ebecas_visa_select" >';
     169
     170            $options_markup = '<select name="eit_ebecas_visa_select" >';
    172171            $options_markup .= '<option value="">Select Visa</option>';
    173172            foreach ( $visas as $visa ) {
     
    187186                $visas = json_decode( $visas_body, true )['VisaList'];
    188187            }
    189             //print_r($visas);
    190 
    191             $options_markup .= '<select name="eit_ebecas_visa_apply_select" >';
     188
     189            $options_markup = '<select name="eit_ebecas_visa_apply_select" >';
    192190            $options_markup .= '<option value="">Select Visa</option>';
    193191            foreach ( $visas as $visa ) {
     
    207205                $tests = json_decode( $tests_body, true )['TestList'];
    208206            }
    209             //print_r($tests);
    210 
    211             $options_markup .= '<select name="eit_ebecas_test_select" >';
     207
     208            $options_markup = '<select name="eit_ebecas_test_select" >';
    212209            $options_markup .= '<option value="">Select Test</option>';
    213210            foreach ( $tests as $test ) {
  • ebecas/trunk/readme.txt

    r2505621 r2613385  
    44Tags: eBecas, Student Management, EquatorIT, EIT
    55Requires at least: 5.3
    6 Tested up to: 5.7
    7 Stable tag: 3.1.2
     6Tested up to: 5.8
     7Stable tag: 3.1.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    119119
    120120== Changelog ==
     121= 3.1.3 =
     122* Bugs fixes
     123
    121124= 3.1.2 =
    122125* Fixed the label issue
Note: See TracChangeset for help on using the changeset viewer.