mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 17:02:34 +01:00
update with html5 compliant code
This commit is contained in:
@@ -124,44 +124,44 @@ if (empty($conf) || ! is_object($conf))
|
||||
?>
|
||||
<tr style="background-color:<?php echo ($k%2 == 0) ? '#fff':'#eee'; ?>;">
|
||||
<td class="left"> <?php echo $row['produit']; ?></td>
|
||||
<td align="center"><?php echo $row['entrepot']; ?></td>
|
||||
<td class="center"><?php echo $row['entrepot']; ?></td>
|
||||
<?php if (! empty($conf->barcode->enabled)) { ?>
|
||||
<td align="center"><?php echo $row['barcode']; ?></td>
|
||||
<td class="center"><?php echo $row['barcode']; ?></td>
|
||||
<?php } ?>
|
||||
<?php if ($can_validate == 1) { ?>
|
||||
<td align="center" style="background-color: #e8e8ff;"><?php echo $row['qty_stock']; ?></td>
|
||||
<td align="right" style="background-color: #e8e8ff;"><?php echo price($row['pmp_stock']); ?></td>
|
||||
<td align="right" style="background-color: #e8e8ff;"><?php echo price($row['pa_stock']); ?></td>
|
||||
<td class="center" style="background-color: #e8e8ff;"><?php echo $row['qty_stock']; ?></td>
|
||||
<td class="right" style="background-color: #e8e8ff;"><?php echo price($row['pmp_stock']); ?></td>
|
||||
<td class="right" style="background-color: #e8e8ff;"><?php echo price($row['pa_stock']); ?></td>
|
||||
<?php
|
||||
if(!empty($conf->global->INVENTORY_USE_MIN_PA_IF_NO_LAST_PA)){
|
||||
echo '<td align="right" style="background-color: #e8e8ff;">'.price($row['current_pa_stock']).'</td>';
|
||||
echo '<td class="right" style="background-color: #e8e8ff;">'.price($row['current_pa_stock']).'</td>';
|
||||
$total_current_pa+=$row['current_pa_stock'];
|
||||
}
|
||||
|
||||
?>
|
||||
<?php } ?>
|
||||
<td align="center"><?php echo $row['qty']; ?> <span id="qty_view_<?php echo $row['k']; ?>"><?php echo $row['qty_view']; ?></span>
|
||||
<td class="center"><?php echo $row['qty']; ?> <span id="qty_view_<?php echo $row['k']; ?>"><?php echo $row['qty_view']; ?></span>
|
||||
<input type="hidden" name="det_id_<?php echo $row['k']; ?>" value="<?php echo $row['id']; ?>" />
|
||||
</td>
|
||||
<?php if ($can_validate == 1) { ?>
|
||||
<td align="right"><?php echo price($row['pmp_actual']); ?></td>
|
||||
<td class="right"><?php echo price($row['pmp_actual']); ?></td>
|
||||
<?php
|
||||
if(!empty($user->rights->stock->changePMP)) {
|
||||
echo '<td align="right">'.$row['pmp_new'].'</td>';
|
||||
echo '<td class="right">'.$row['pmp_new'].'</td>';
|
||||
}
|
||||
?>
|
||||
<td align="right"><?php echo price($row['pa_actual']); ?></td>
|
||||
<td class="right"><?php echo price($row['pa_actual']); ?></td>
|
||||
<?php
|
||||
if(!empty($conf->global->INVENTORY_USE_MIN_PA_IF_NO_LAST_PA)){
|
||||
echo '<td align="right">'.price($row['current_pa_actual']).'</td>';
|
||||
echo '<td class="right">'.price($row['current_pa_actual']).'</td>';
|
||||
$total_current_pa_actual+=$row['current_pa_actual'];
|
||||
}
|
||||
|
||||
?>
|
||||
<td align="center"><?php echo $row['qty_regulated']; ?></td>
|
||||
<td class="center"><?php echo $row['qty_regulated']; ?></td>
|
||||
<?php } ?>
|
||||
<?php if ($view['is_already_validate'] != 1) { ?>
|
||||
<td align="center" width="20%"><?php echo $row['action']; ?></td>
|
||||
<td class="center" width="20%"><?php echo $row['action']; ?></td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php $i++;
|
||||
|
||||
Reference in New Issue
Block a user