CMXX - Product attributes and initial multi languagal product support
This commit is contained in:
@@ -67,7 +67,7 @@ if ($query_products != null){
|
||||
<select name="productcode">
|
||||
<option value="" disabled selected>'.$equipment_label4.'</option>';
|
||||
foreach ($query_products as $product){
|
||||
$product_list .= '<option value="'.$product->productcode.'">'.$product->productname.'</option>';
|
||||
$product_list .= '<option value="'.$product->productcode.'">'.(${$product->productname} ?? $product->productname).'</option>';
|
||||
}
|
||||
$product_list .= '</select>';
|
||||
}
|
||||
@@ -195,7 +195,7 @@ $view .= '<tr>
|
||||
<td class="responsive-hidden">'.$indicators.'</td>
|
||||
<td>'.$response->serialnumber.'</td>
|
||||
<td><span class="status id'.$response->status.'">'.$$status_text.'</span></td>
|
||||
<td>'.$response->productcode.'-'.$response->productname.'</td>';
|
||||
<td>'.$response->productcode.'-'.(${$response->productname} ?? $response->productname).'</td>';
|
||||
$view .= ' <td class="responsive-hidden">';
|
||||
if (!empty($picture)){
|
||||
$view .='
|
||||
|
||||
Reference in New Issue
Block a user