BeWoPlanerMobil:

Zeiterfassungseinträge auch ohne Uhrzeit möglich
This commit is contained in:
Lyndon Jetten
2020-09-14 19:07:23 +02:00
parent a641b691b0
commit 42ece55df3
18 changed files with 435 additions and 198 deletions

View File

@@ -6,6 +6,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.UI.WebControls.WebParts;
using System.Windows.Forms;
using BeWo.Service.ServiceImplementations;
@@ -2109,11 +2110,13 @@ namespace BeWoPlanerMobil.Controllers
}
// Menünavigation
[Authorize]
public ActionResult RedirectToScheduler()
{
return RedirectToActionPermanent("Scheduler", "Scheduler");
}
[Authorize]
public ActionResult RedirectToCustomer()
{
if(Model?.SelectedSupportConcept?.Customer?.Oid.HasValue ?? false)
@@ -2131,6 +2134,12 @@ namespace BeWoPlanerMobil.Controllers
return RedirectToActionPermanent("Customer", "Customer");
}
[Authorize]
public ActionResult RedirectToReportView()
{
return AbstractModel.IsAllowedToSeeBills ? RedirectToActionPermanent("Report", "Report") : RedirectToMain();
}
public ActionResult RedirectToMain()
{
return RedirectToActionPermanent("Main", "Main");