function company_delete(req) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'company_delete',

    data: req,

    success: (res) => {

      if (res.success) {

        app.preloader.hide();

        localStorage.removeItem('f03_company');

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

          data: res.data

        }))

        showToast('Delete company successfully');

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

        window.location.reload();

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Delete company error');

      }

    }

  })

}