Order delivery flow integration with order fields and order organization participants #53

Merged
akrdzic merged 16 commits from order-delivery-flow into master 2018-11-04 23:16:39 +01:00
Showing only changes of commit 1d097eda6f - Show all commits

View File

@@ -100,10 +100,7 @@ class Wiaas_Delivery_Process_Step_Assignee {
$item = $order->get_item($item_id);
$product_id = $item['product_id'];
//TODO: Get this value from order since product can get changed or deleted later
$organization_id = Wiaas_Product_Supplier::get_supplier_organisation_id_from_product($product_id);
$organization_id = $item['wiaas_supplier_organization_id'];
$user_ids = wiaas_get_organization_user_ids($organization_id);