You are here

function uc_shipping_package_delete_confirm_submit in Ubercart 5

Same name and namespace in other branches
  1. 6.2 shipping/uc_shipping/uc_shipping.admin.inc \uc_shipping_package_delete_confirm_submit()
  2. 7.3 shipping/uc_shipping/uc_shipping.admin.inc \uc_shipping_package_delete_confirm_submit()

Submit handler for uc_shipping_package_delete_confirm().

File

shipping/uc_shipping/uc_shipping.module, line 571
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_package_delete_confirm_submit($form_id, $form_values) {
  uc_shipping_package_delete($form_values['package_id']);
  return 'admin/store/orders/' . $form_values['order_id'] . '/packages';
}