0byt3m1n1
Path:
/
home
/
k
/
a
/
s
/
kassiope
/
www
/
achat
/
modeles
/
[
Home
]
File: historique_devis_details.php
<?php $st = get_static(7); ?> <?=header_page(ESTIMATE_DETAIL, $st['image1']); ?> <div class="row"> <div class="col-md-4 col-xs-12 text-center"><strong><? echo ESTIMATE_NUMBER; ?></strong><br /><?=$id?></div> <div class="col-md-4 col-xs-12 text-center"><strong><? echo ESTIMATE_DATE; ?></strong><br /><?=return_date_fr($devis->o_timestamp)?></div> <div class="col-md-4 col-xs-12 text-center"><strong><? echo ESTIMATE_AMOUNT; ?></strong><br /><? if($devis->montant==0) echo 'N.C.'; else echo fprix($devis->montant).' € T.T.C'?></div> <div class="col-md-12"> </div> <div class="col-md-12"> <div class="table-responsive"> <table class="cart-table"> <thead> <tr> <th><? echo ITEM ?></th> <th><? echo CATALOGUE_PRICE ?></th> <th><? echo QUANTITY ?></th> <th><? echo ESTIMATE_AMOUNT ?></th> </tr> </thead> <tbody> <? if ($qid_items) { if (mysql_num_rows_override($qid_items)) { while ($prod = mysql_fetch_array_override($qid_items)) { ?> <tr> <td> <?=stripslashes($prod['nom_produit'])?> <? if ($prod['reference'] !='') {print "<br />Ref. : ".$prod['reference'];} if ($prod['couleur'] != '') {print "<br />Couleur : ".$prod['couleur'];} if ($prod['taille'] !='') {print "<br />Dimension : ".$prod['taille'];} if ($prod['comment'] !='') {print "<br />".COMMENTS." : ".stripslashes($prod['comment']).".";} ?> </td> <td align=center><? if($prod['prix_cat']==0) echo 'N.C.'; else echo fprix($prod['prix_cat']);?></td> <td align=center><?=$prod['quantite']?></td> <td align=center> <? $total = $prod['prix_cat']*$prod['quantite']; if($total==0) echo 'N.C.'; else echo fprix($total).' € T.T.C';?></td> </tr> <? } } } ?> </tbody> </table> </div> </div> <!-- Shopping Cart Table --> </div> <?=footer_page(); ?>