diff --git a/src/Controller/CustomerController.php b/src/Controller/CustomerController.php index 74519bdf..31e5040b 100644 --- a/src/Controller/CustomerController.php +++ b/src/Controller/CustomerController.php @@ -128,9 +128,9 @@ class CustomerController extends BaseController ]; // add crud urls - if ($this->isGranted('user.update')) + if ($this->isGranted('customer.update')) $row['meta']['update_url'] = $this->generateUrl('customer_update', ['id' => $row['id']]); - if ($this->isGranted('user.delete')) + if ($this->isGranted('customer.delete')) $row['meta']['delete_url'] = $this->generateUrl('customer_delete', ['id' => $row['id']]); $rows[] = $row; diff --git a/templates/ticket/form.html.twig b/templates/ticket/form.html.twig index 71930e9b..1666c59d 100644 --- a/templates/ticket/form.html.twig +++ b/templates/ticket/form.html.twig @@ -114,7 +114,7 @@
- View Job Order + View Job Order
{% endif %}