mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
PHRAS-1545 fix order manager view (#4061)
* remove button on mail deny display only order element that the order manager has right fix string not translated * do not send deny email * update
This commit is contained in:
@@ -144,9 +144,11 @@ class ProdOrderController extends BaseOrderController
|
||||
public function displayOneOrder($order_id)
|
||||
{
|
||||
$order = $this->findOr404($order_id);
|
||||
$grantedBaseIds = array_keys($this->getAclForUser()->get_granted_base([\ACL::ORDER_MASTER]));
|
||||
|
||||
return $this->render('prod/orders/order_item.html.twig', [
|
||||
'order' => $order,
|
||||
'order' => $order,
|
||||
'grantedBaseIds' => $grantedBaseIds
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user