@ 2020-05-09T19:11:14Z <?php
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<script src="https://kit.fontawesome.com/471e2ae98a.js" crossorigin="anonymous"></script>
</head>
<style media="screen">
@font-face {
font-family: calibri;
src: url(calibri.ttf);
}
body {
font-family: calibri;
font-size: 18px;
}
.header {
background-color:rgba(230, 7, 44, 1);
padding: 30px;
color: white;
font-size: 30px;
}
.tittle {
color: rgba(230, 7, 44, 1);;
font-size: 24px;
padding-left: 80px;
padding-top: 30px;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
padding: 15px;
text-align: center;
}
.table_align_left {
text-align: left;
}
.table1_row_width {
width: 33%;
}
.table1_row_width2 {
width: 21%;
}
table#t01 {
background-color: white;
width: 100%;
}
.red {
background:rgba(245, 217, 191, 0.5);;
padding-left: 10px;
margin-right: 80px;
margin-left: 80px;
}
.bloc1 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% -10% 0% 0%;
}
.bloc2 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% 10% 0% 0%;
}
.bloc3 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% -10% 0% 0%;
}
.bloc4 {
height:200px;
width: 24%;
display:inline-block;
border: 1px;
margin: 0% 0% 0% 0%;
}
.white {
margin-top: 300px;
background: white;
padding-left: 10px;
margin-right: 80px;
margin-left: 80px;
}
.footer_bloc1 {
width: 33%;
display: inline-block;
border: 1px;
margin: 0% 0% 0% 20%;
}
.footer_bloc2 {
width: 40%;
display: inline-block;
border: 1px;
margin: 0% 0% 0% -15%;
}
span {
padding-left: 100px;
}
</style>
<body>
<div class="header">
<img style= "float: left; padding-right: 50px" src="globe-icon-29.jpg" width="150" height="150">
<h1>Red L - Pointeuse de poche</h1>
</div>
<div class="tittle">
<h2>Bon de commande</h2>
</div>
<?php
$pointeuse_quantité = ($_POST["pointeuse_quantité"]);
if ($pointeuse_quantité >= 25 and $pointeuse_quantité <=49) {
$pointeuse_prix = 189.00;
} elseif ($pointeuse_quantité >= 50 and $pointeuse_quantité <=99) {
$pointeuse_prix = 179.00;
} elseif ($pointeuse_quantité >= 100) {
$pointeuse_prix = 169.00;
} else $pointeuse_prix = 199.00;
$autocollant_prix = 2.49;
$autocollant_prix_lot10 = 49.00;
$autocollant_prix_lot20 = 79.00;
$autocollant_prix_lot50 = 169.00;
$autocollant_quantité = ($_POST["autocollant_quantité"]);
if ($autocollant_quantité >= 1 && $autocollant_quantité <= 10) {
$autocollant_quantité_lot10 = 1;
} elseif($autocollant_quantité >= 11 && $autocollant_quantité <= 19){
$autocollant_quantité_lot10 = 2;
} elseif($autocollant_quantité == 20){
$autocollant_quantité_lot20 = 1;
} elseif($autocollant_quantité >= 21 && $autocollant_quantité <= 30){
$autocollant_quantité_lot20 = 1 and $autocollant_quantité_lot10 = 1;
} elseif($autocollant_quantité >= 31 && $autocollant_quantité <= 40){
$autocollant_quantité_lot20 = 2;
} elseif($autocollant_quantité >= 41 && $autocollant_quantité <= 49){
$autocollant_quantité_lo50 = 1;
} elseif($autocollant_quantité == 50) {
$autocollant_quantité_lot50 = 1;
} elseif($autocollant_quantité >= 51 && $autocollant_quantité <= 60){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot10;
} elseif($autocollant_quantité >= 61 && $autocollant_quantité <= 70){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot20 = 1;
} elseif($autocollant_quantité >= 71 && $autocollant_quantité <= 90){
$autocollant_quantité_lot50 = 1 and $autocollant_quantité_lot20 = 2;
} elseif($autocollant_quantité >= 90 && $autocollant_quantité <= 99){
$autocollant_quantité_lot50 = 2;
} elseif($autocollant_quantité >= 100 && $autocollant_quantité <= 1000){
$autocollant_custom = $autocollant_quantité;
} else echo "entrée invalide";
$autocollant_total_ht_custom = $autocollant_prix * $autocollant_custom;
$autocollant_total_ht_lot10 = $autocollant_prix_lot10 * $autocollant_quantité_lot10;
$autocollant_total_ht_lot20 = $autocollant_prix_lot20 * $autocollant_quantité_lot20;
$autocollant_total_ht_lot50 = $autocollant_prix_lot50 * $autocollant_quantité_lot50;
$pointeuse_total_ht = $pointeuse_prix * $pointeuse_quantité;
$pointeuse_autocollant_offert = $pointeuse_quantité * 10;
$pointeuse_autocollant_offert_total_ht = $pointeuse_autocollant_offert * $autocollant_prix;
$pointeuse_autocollant_offert_total_ht = $pointeuse_autocollant_offert * $autocollant_prix;
if (!$autocollant_total_ht_lot10) {
$autocollant_total_ht_lot10 = " ";
} else echo " ";
if (!$autocollant_total_ht_lot20) {
$autocollant_total_ht_lot20 = " ";
} else echo " ";
if (!$autocollant_total_ht_lot50) {
$autocollant_total_ht_lot50 = " ";
} else echo " ";
if (!$autocollant_total_ht_custom) {
$autocollant_total_ht_custom = " ";
} else echo " ";
$autocollant_total_ht_custom = $autocollant_total_ht_custom;
$euro = "€";
if (isset($autocollant_total_ht_custom))
{
echo $autocollant_total_ht_custom . " " .$euro;
}
if (isset($autocollant_total_ht_lot10))
{
echo $autocollant_total_ht_lot10. " " .$euro;
}
?>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class= "table_align_left table1_row_width">Matériel</th>
<th class="table1_row_width2">Prix unitaire</th>
<th class="table1_row_width2">Quantité</th>
<th class="table1_row_width2">Total HT</th>
</tr>
<tr>
<td class=table_align_left>Pointeuse de poche</td>
<td><?php echo number_format((float)$pointeuse_prix, 2, '.', '') ?></td>
<td><?php echo $_POST["pointeuse_quantité"]; ?></td>
<td><?php echo number_format((float)$pointeuse_total_ht, 2, '.', ''), "€"?></td>
</tr>
<tr>
<td class=table_align_left>Garantie 12 mois</td>
<td>Inclus</td>
<td>--</td>
<td>--</td>
</tr>
<tr>
<td class=table_align_left>Autocollant NFC anti-fraude</td>
<td><?php echo number_format((float)$autocollant_prix, 2, '.', '') ?></td>
<td><?php echo $pointeuse_autocollant_offert, " offert" ?></td>
<td style="text-decoration: line-through;"><?php echo number_format((float) $pointeuse_autocollant_offert_total_ht, 2, '.', ''), "€" ?></td>
</tr>
</table>
</div>
<br>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class= "table_align_left table1_row_width">Autocollant NFC anti-fraude</th>
<th class="table1_row_width2">Prix unitaire</th>
<th class="table1_row_width2">Quantité</th>
<th class="table1_row_width2">Total HT</th>
</tr>
<tr>
<td class=table_align_left>Lot de 10</td>
<td><?php echo number_format((float)$autocollant_prix_lot10, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot10 ?></td>
<td><?php echo $autocollant_total_ht_lot10?></td>
</tr>
<tr>
<td class=table_align_left>Lot de 20</td>
<td><?php echo number_format((float)$autocollant_prix_lot20, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot20 ?></td>
<td><?php echo $autocollant_total_ht_lot20?></td>
</tr>
<tr>
<td class=table_align_left>Lot de 50</td>
<td><?php echo number_format((float)$autocollant_prix_lot50, 2, '.', '') ?></td>
<td><?php echo $autocollant_quantité_lot50 ?></td>
<td><?php echo $autocollant_total_ht_lot50?></td>
</tr>
<tr>
<td class=table_align_left>A partir de 100</td>
<td><?php echo $autocollant_prix ?></td>
<td><?php echo $autocollant_custom?></td>
<td><?php echo $autocollant_total_ht_custom?> </td>
</tr>
</table>
</div>
<br>
<div style="padding-left: 80px; padding-right: 80px;">
<table id="t01">
<tr>
<th class="table_align_left" style="width:34.5%;">Services</th>
</tr>
<tr>
<td class=table_align_left>Mise en place de votre espace de gestion</td>
<td>100,00€</td>
</tr>
<tr>
<td class=table_align_left>Frais de télécommunication</td>
<td>36 mois inclus (*)</td>
</tr>
<tr>
<td class=table_align_left>Support et maintenance</td>
<td>Inclus</td>
</tr>
<tr>
<td class=table_align_left>Formation au logiciel</td>
<td>Inclus</td>
</tr>
<tr>
<td class=table_align_left>Manuel utilisateurs</td>
<td>Inclus</td>
</tr>
</table>
</div>
<br>
<div style="padding: 0px 80px">
<p>(*) recharge de 12 mois supplémentaires = 49,00 €</p>
<p>En signant ce bon de commande, vous acceptez les conditions générales du 01/09/2018,
déclarez avoir toutes les autorisations pour engager votre société, et passez commande des produits et services aux quantités mentionnées.</p>
<p>Offre valable 4 semaines, paiement d’avance, prix en euros hors taxe, hors frais de port.</p>
</div>
<br>
<p style="text-decoration: underline; padding-left: 80px;">Détails client</p>
<br>
<div class="red" style="margin-top: -20px">
<div class="bloc1">
<br>
<p>Société</p>
<p style="padding-bottom: 5px;"></p>
<p>Date </p>
<p style="padding-bottom: 5px;"></p>
<p>Adresse</p>
<p style="padding-bottom: 5px;"></p>
<p>Cachet commercial</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc2">
<br>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc3">
<br>
<p>Nom</p>
<p style="padding-bottom: 5px;"></p>
<p>Fonction </p>
<p style="padding-bottom: 5px;"></p>
<p>Numéro TVA</p>
<p style="padding-bottom: 5px;"></p>
<p>Signature</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
<div class="bloc4">
<br>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<p>____________________________________</p>
<p style="padding-bottom: 5px;"></p>
<br>
</div>
</div>
<br>
<div class="white">
<div class="footer_bloc1">
<img src="180307_Logo_orange-300x169.png" width="auto" height="100">
</div>
<div class="footer_bloc2">
<p style="text-align: center;">Digital Nomade SARL au capital de 160 000 euros</p>
<p style="text-align: center; margin-top: -10px">45bis, route des Gardes, 92190 Meudon 800 212 490 RCS Nanterre</p>
<p style="text-align: center; margin-top: -10px";>TVA intracommunautaire FR 02 800212490</p>
<p style="text-align: center; margin-top: -30px;"><span></span></p>
</div>
</div
</body>
</html>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.4.5 0.003 0.012 16.28 7.4.4 0.014 0.003 15.94 7.4.3 0.010 0.006 16.10 7.4.2 0.006 0.010 16.11 7.4.1 0.012 0.003 15.95 7.4.0 0.004 0.011 16.28 7.3.17 0.003 0.012 16.31 7.3.16 0.012 0.006 16.23 7.3.15 0.006 0.009 16.16 7.3.14 0.010 0.007 16.30 7.3.13 0.009 0.006 16.08 7.3.12 0.004 0.012 15.99 7.3.11 0.013 0.003 16.02 7.3.10 0.003 0.013 16.30 7.3.9 0.009 0.006 15.96 7.3.8 0.009 0.006 16.13 7.3.7 0.006 0.012 16.20 7.3.6 0.013 0.003 16.10 7.3.5 0.006 0.009 16.06 7.3.4 0.012 0.003 16.02 7.3.3 0.009 0.006 16.06 7.3.2 0.007 0.010 16.11 7.3.1 0.009 0.009 16.21 7.3.0 0.000 0.016 16.14 7.2.29 0.013 0.003 16.27 7.2.28 0.006 0.010 16.28 7.2.27 0.003 0.013 16.44 7.2.26 0.012 0.004 16.19 7.2.25 0.007 0.007 16.21 7.2.24 0.009 0.006 16.07 7.2.23 0.006 0.012 16.00 7.2.22 0.018 0.000 16.25 7.2.21 0.010 0.006 16.58 7.2.20 0.003 0.013 16.32 7.2.19 0.009 0.006 16.18 7.2.18 0.009 0.006 15.98 7.2.17 0.012 0.003 16.20 7.2.16 0.009 0.006 16.18 7.2.15 0.011 0.007 16.33 7.2.14 0.003 0.013 16.36 7.2.13 0.011 0.007 16.14 7.2.12 0.014 0.003 16.36 7.2.11 0.010 0.007 16.24 7.2.10 0.007 0.010 16.23 7.2.9 0.007 0.010 16.14 7.2.8 0.007 0.010 16.31 7.2.7 0.009 0.012 16.30 7.2.6 0.018 0.018 16.16 7.2.5 0.017 0.007 16.06 7.2.4 0.008 0.008 15.98 7.2.3 0.010 0.007 16.20 7.2.2 0.008 0.008 16.29 7.2.1 0.007 0.007 16.29 7.2.0 0.000 0.015 16.23
preferences:dark mode live preview
136.19 ms | 1398 KiB | 7 Q