function uc_order_uc_order_pane in Ubercart 7.3
Implements hook_uc_order_pane().
File
- uc_order/
uc_order.module, line 711
Code
function uc_order_uc_order_pane() {
$panes['print_button'] = array(
'callback' => 'uc_order_pane_print_button',
'title' => t('Print button'),
'display title' => '',
'desc' => t("Button to open a printable invoice."),
'class' => 'abs-left',
'weight' => -10,
'show' => array(
'customer',
),
);
$panes['ship_to'] = array(
'callback' => 'uc_order_pane_ship_to',
'title' => t('Ship to'),
'desc' => t("Manage the order's shipping address and contact information."),
'class' => 'pos-left',
'weight' => 1,
'show' => array(
'view',
'edit',
'customer',
),
);
$panes['bill_to'] = array(
'callback' => 'uc_order_pane_bill_to',
'title' => t('Bill to'),
'desc' => t("Manage the order's billing address and contact information."),
'class' => 'pos-left',
'weight' => 2,
'show' => array(
'view',
'edit',
'customer',
),
);
$panes['customer'] = array(
'callback' => 'uc_order_pane_customer',
'title' => t('Customer info'),
'desc' => t("Manage the information for the customer's user account."),
'class' => 'pos-left',
'weight' => 3,
'show' => array(
'view',
'edit',
),
);
$panes['products'] = array(
'callback' => 'uc_order_pane_products',
'title' => t('Products'),
'desc' => t('Manage the products an order contains.'),
'class' => 'abs-left',
'weight' => 5,
'show' => array(
'view',
'edit',
'customer',
),
);
$panes['line_items'] = array(
'callback' => 'uc_order_pane_line_items',
'title' => t('Line items'),
'display title' => '',
'desc' => t("View and modify an order's line items."),
'class' => 'abs-left',
'weight' => 6,
'show' => array(
'view',
'edit',
'customer',
),
);
$panes['order_comments'] = array(
'callback' => 'uc_order_pane_order_comments',
'title' => t('Order comments'),
'desc' => t('View the order comments, used for communicating with customers.'),
'class' => 'abs-left',
'weight' => 8,
'show' => array(
'view',
'customer',
),
);
$panes['admin_comments'] = array(
'callback' => 'uc_order_pane_admin_comments',
'title' => t('Admin comments'),
'desc' => t('View the admin comments, used for administrative notes and instructions.'),
'class' => 'abs-left',
'weight' => 9,
'show' => array(
'view',
'edit',
),
);
$panes['update'] = array(
'callback' => 'uc_order_pane_update',
'title' => t('Update order'),
'desc' => t("Update an order's status or add comments to an order."),
'class' => 'abs-left',
'weight' => 10,
'show' => array(
'view',
),
);
return $panes;
}