canViewOrder()
canViewOrder(\Pluf_HTTP_Request $request, \Shop_Order $order) : boolean
Returns true if user (sending request) can view information of the order.
The creator of an order (customer who registers the order) or owner of tenant can view the information of the order
Parameters
\Pluf_HTTP_Request | $request | |
\Shop_Order | $order |