function bank_delete(req) {

  app.preloader.show();

  $.ajax({

    type: "post",

    url: base_url + 'bank_delete',

    data: req,

    success: (res) => {

      if (res.success) {

        app.preloader.hide();

        localStorage.removeItem('f05_bank');

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

          data: res.data

        }))

        showToast('Delete Bank Account Successfully');

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

        window.location.reload();

      } else {

        app.preloader.hide();

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

      }

    }

  })

}