function company_add(req) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'company_add',

    data: req,

    success: (res) => {

      if (res.success) {

        app.preloader.hide();

        localStorage.removeItem('t05_company');  

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

          data: res.data

        }))

        showToast('Company Add successfully');

      } else {

        app.preloader.hide();

        app.dialog.alert(res.message, 'Company Add Error');

      }

    }

  })

}