function account_edit(req) {

  app.preloader.show();

  //localStorage.removeItem('s23_data_user')

  $.ajax({

    type: "post",

    url: base_url + 'account_edit',

    data: req,

    success: (res) => {

      if (res.status) {

        localStorage.setItem('f04_user', JSON.stringify({

          uuid: res.data.uuid,

          phone: res.data.phone,

          email: res.data.email,

          first_name: res.data.firstname,

          last_name: res.data.lastname,

          full_name: res.data.fullname,

          sess_token: res.data.token,

          user_name: res.data.fullname

        }))

        app.preloader.hide();

        app.views.main.router.navigate('/account_edit/');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Edit Account Error');

      }

    }

  })

}