|
|
@@ -198,7 +198,7 @@ foreach ($produits as $p) { |
|
|
|
<?php foreach($pv->commandes as $c): ?> |
|
|
|
<li> |
|
|
|
<a href="javascript:void(0);" class="btn btn-default" data-pv-id="<?= $pv->id ?>" data-id-commande="<?= $c->id ?>" data-commande='<?= $pv->data_options_commandes[$c->id]['data-commande'] ?>' data-commentaire="<?= Html::encode($c->commentaire) ?>" data-date="<?= date('d/m à H:i',strtotime($c->date)); ?>"> |
|
|
|
<span class="montant <?php if($c->montant_paye >= $c->montant): ?>paye<?php endif; ?>"> |
|
|
|
<span class="montant <?php if(number_format($c->montant_paye,2) >= number_format($c->montant,2)): ?>paye<?php endif; ?>"> |
|
|
|
<?= Html::encode(number_format($c->montant, 2)); ?> € |
|
|
|
<?php if($c->montant_paye - $c->montant > 0.01): ?><span class="glyphicon glyphicon-warning-sign"></span><?php endif; ?> |
|
|
|
</span> |