Add item_number to item kits module

This commit is contained in:
Jeroen Peelaerts
2020-11-11 22:34:27 +01:00
committed by jekkos
parent 68a2292d49
commit 6705e5f259
102 changed files with 381 additions and 35 deletions

View File

@@ -1032,7 +1032,7 @@ class Sale_lib
{
//KIT #
$pieces = explode(' ', $external_item_kit_id);
$item_kit_id = $pieces[1];
$item_kit_id = (count($pieces) > 1) ? $pieces[1] : $external_item_kit_id;
$result = TRUE;
foreach($this->CI->Item_kit_items->get_info($item_kit_id) as $item_kit_item)