sample-center



Supplier part number MfrPart Manufacture
$r) { $dataid = $r['id']; $keyword = (isset($manufactures[$r['Manufacturer']]) && $manufactures[$r['Manufacturer']]['keyword'] != '' ? $manufactures[$r['Manufacturer']]['keyword'] : ''); $hidden = ''; $qty = 0; $hasItem = false; foreach ($total as $item) { if ($item->product_id == $r['id']) { $qty = ($r['maxQuantity'] - $item->total); $hasItem = true; break; } else { $hasItem = false; } } if (!$hasItem && $qty == 0) { $qty = $r['maxQuantity']; } if ($qty >= 0) { $img = isset($r["Image"]) ? $r["Image"] : ''; if ($img == '' || $img == '-') $img = 'public/images/placeholder-image.png'; $html = ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; $html .= ''; echo $html; } } } ?>
Image ATC Part number MfrPart Description Manufacturers Quantity Expiry date Action
' . $hidden . '' . $r['name'] . '' . $r['MfrPart'] . '' . $r['Description'] . '' . $r['Manufacturer'] . '' . $qty . '' . date('d/m/Y', strtotime($r['date_expired'])) . '