@extends('_version_02.utility_charges.mobile_apps_light.layouts.main') @section('content')
Synchronizing User Data

@endsection @section('script') $(document).ready(function(){ $('#loading_splash').owlCarousel({ items: 1, animateOut: 'fadeOut', loop: true, margin: 10, autoplay: true, mouseDrag: false }); init_loading_overlay(); $.get(generatePowerMeterAccountUrl, { id_house_room : $('#id_house_room').val(), id_house : $('#id_house').val(), leaf_id_user : $('#leaf_id_user').val() }, function(data) { console.log('x gene result'); console.log(data); if(data['status_code'] == true){ $('#loading_splash').addClass('hide').fadeIn(); //$('#after_loading_splash').removeClass('hide'); $('#after_loading_splash').removeClass('hide'); $('#return_msg').append('sss'); document.getElementById("return_msg").innerText = data['status_msg']; document.getElementById("btn_next").disabled = false; }else{ $('#loading_splash').addClass('hide').fadeIn(); document.getElementById("return_msg").innerText = data['status_msg']; document.getElementById("btn_next").disabled = true; } //console.log(data['status_msg']); $('#after_loading_splash').owlCarousel({ items: 1, animateOut: 'fadeOut', loop: true, margin: 10, autoplay: true, mouseDrag: false }); //console.log(data); init_hide_loading_overlay(); }); console.log('x gene to end'); }); @endsection