You are here

function uc_shipping_order_access in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 shipping/uc_shipping/uc_shipping.module \uc_shipping_order_access()

Ensures access to the Shipments tab.

1 call to uc_shipping_order_access()
uc_shipping_new_shipment_access in shipping/uc_shipping/uc_shipping.module
Access callback for the new shipment page.
1 string reference to 'uc_shipping_order_access'
uc_shipping_menu in shipping/uc_shipping/uc_shipping.module
Implements hook_menu().

File

shipping/uc_shipping/uc_shipping.module, line 160
Organizes ordered products into packages and sets them up for shipment. Shipping method modules may add functionality to generate shipping labels and tracking numbers.

Code

function uc_shipping_order_access($order) {
  return user_access('fulfill orders') && uc_order_is_shippable($order);
}