hide empty dates

This commit is contained in:
Frank Schubert
2021-10-12 23:18:53 +02:00
parent f5eea9a035
commit b62c0839e5
2 changed files with 6 additions and 1 deletions

View File

@@ -652,6 +652,11 @@ class OrderController extends mfBaseController {
}
protected function saveVorortterminAction() {
if(!$this->me->is(["Admin","salespartner"])) {
$this->layout()->setFlash("Keine Berechtigung", "error");
$this->redirect("Order");
}
$r = $this->request;
$order_id = $r->id;