2
0
forked from Wavyzz/dolibarr

clean and update code

This commit is contained in:
Philippe GRAND
2018-08-07 10:44:26 +02:00
parent 094fc6b699
commit 42fe2b78de
3 changed files with 5 additions and 7 deletions

View File

@@ -50,7 +50,6 @@ if ($action == 'up') {
$langs->load('products');
$var = false;
$title = $langs->trans($langs->trans('ProductAttributes'));
$variants = $object->fetchAll();
@@ -122,7 +121,7 @@ $forcereloadpage=empty($conf->global->MAIN_FORCE_RELOAD_PAGE)?0:1;
<th class="liste_titre" colspan="2"></th>
</tr>
<?php foreach ($variants as $key => $attribute): ?>
<tr id="row-<?php echo $attribute->id ?>" <?php echo $bcdd[$var] ?>>
<tr id="row-<?php echo $attribute->id ?>" class="drag drop oddeven">
<td><a href="card.php?id=<?php echo $attribute->id ?>"><?php echo dol_htmlentities($attribute->ref) ?></a></td>
<td><a href="card.php?id=<?php echo $attribute->id ?>"><?php echo dol_htmlentities($attribute->label) ?></a></td>
<td align="right"><?php echo $attribute->countChildValues() ?></td>
@@ -143,7 +142,6 @@ $forcereloadpage=empty($conf->global->MAIN_FORCE_RELOAD_PAGE)?0:1;
</td>
</tr>
<?php
$var = !$var;
endforeach
?>