Current File : /home/karenpetzb/application/modules/default/views/scripts/produits/ajaxshowchildqteprice.phtml |
<?php header('Content-type: text/html; charset=iso-8859-1');
$productQte = $this->detailProductQte;
if (isset($productQte) && !empty($productQte)) {
?>
<link href="<?php echo $this->baseUrl; ?>/business/css/default-bootstrap.css" rel="stylesheet">
<link href="<?php echo $this->baseUrl; ?>/business/css/default.css" rel="stylesheet">
<style>
html, body {
background-color: white;
}
</style>
<table cellpadding="0" cellspacing="0" class="prod-detail-ref-table">
<thead>
<tr align="center" >
<th colspan="2" >Quantit�</th>
<th >Prix unitaire €</th>
</tr>
<tr align="center" class="headerQtePrice">
<th width="70px" >De</th>
<th width="70px" >�</th>
<th width="120px" >HT</th>
</tr>
</thead>
<tbody>
<?php
$index = 1;
foreach($productQte as $row) { ?>
<tr class=" <?php if ($index == 0) {echo 'trStripOdd'; $index=1;} else {$index=0; echo 'trStripEven';} ?>" style="height:30px">
<td align="center" >
<span><?php echo $this->escape($row['MIN']);?></span>
</td>
<td align="center" >
<span>
<?php if ($row['MAX'] <> 999999999) { echo $this->escape($row['MAX']); }
else {echo "Et Plus"; } ?></span>
</td>
<td align="center" >
<div class="text12" >
<?php echo number_format($row['PRIX'], 2, ',', ' ').' ';?>
<span style="color: #000000">€</span>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } else { ?>
<div style="clear: both;text-align: center;vertical-align:middle;">Aucun prix d�gressif n'est disponible pour cet article.</div>
<?php } ?>