How to assign shipments in Client, Agent, Driver and Employee

How to assign shipment in:

  1. Client
  2. Agent
  3. Driver
  4. Employee

Assign Client

For assigning client choose one in Client dropdown

wpcpq-approve-quotation

Assign Agent

For assigning agent choose in Agent dropdown

wpcpq-approve-quotation

Assign Employee

For assigning employee choose one in Employee dropdown

wpcpq-approve-quotation

Assign Driver

For assigning driver choose in Driver dropdown

wpcpq-approve-quotation

Allow other roles can assign shipments in to other roles

Note

  • Make sure the role has an access to update the shipment. Please refer to this.
  • Copy and paste this code in functions.php of your current theme.
/*
 * Allow Branch Manager to assign shipments
 */
function custom_can_wpcfe_assign_employee(){

	$current_roles = wpcfe_current_user_role();
	if( in_array( 'wpcargo_branch_manager', $current_roles) ){
		return true;
	}	
}
add_filter('can_wpcfe_assign_employee','custom_can_wpcfe_assign_employee');
0
    0
    Your Cart
    Your cart is emptyReturn to Shop