<?php

ini_set('display_errors', 1);


define("ADMIN", true);
require_once("../../../common/lib.php");
require_once("../../../common/define.php");

if(!isset($_SESSION['user'])){
    header("Location: ../login.php");
    exit();
}
require_once("../../includes/fn_module.php"); ?>

<?
$id = $_GET["id"];
?>


<html>
<body>
<div>
	<div style="width:100%;float:left;text-align:center;"><h1>BL / Facture N° <? echo $id; ?></h1></br></br></br></div>
	
	<div style="width:40%;float:left;">
		Date : <br>
		Remarque : <br>
		Réf bon de livraison : <br>
	</div>
	<div style="width:40%;float:right;border:1px #000 solid;padding:1%;">
		<b>Client :</b><br>
		NOM<br>
		Adress<br>
		tel<br>
		tva<br>
	</div>
</div>

<div class="tableContent">
	<table border="1" width="100%">
		<tr>
			<th>Code article</th>
			<th>Designation article</th>
			<th>Colisage</th>
			<th>Quantité</th>
			<th>Unite</th>
			<th>P.U HT</th>
			<th>Remise</th>
			<th>Montant Net HT</th>
		</tr>
	</table>

</div>
<div class="tableContent2">
	<div style="width:40%;float:left;">
		<table border="1" width="100%">
			<tr>
				<td><b>Taux TVA</b></td>
				<td><b>Montant TVA</b></td>
			</tr>
			<tr>
				<td><b>Total TVA</b></td>
				<td></td>
			</tr>
		</table>
	</div>
	<div style="width:50%;float:right;">
		<table border="1" width="100%">
			<tr>
				<td><b>Total HT brute</b></td>
				<td><b>Montant remise</b></td>
				<td><b>Total HT net</b></td>
				<td><b>Total TVA</b></td>
				<td><b>Timbre</b></td>
				<td><b>Total TTC</b></td>
			</tr>
		</table>
	</div>
</div>
<div class="tableContent2">
<p>Arrêtée la présente facture à la somme de: </p>
</div>

<div class="tableContent2">
	<div style="width:40%;float:left;text-align:center;">
		Cachet et signature<br>
		de client
	</div>
	<div style="width:40%;float:right;text-align:center;">
		Cachet et signature<br><br>
		<img src="../../images/signature.jpg" width="200px" />
	</div>
</div>
</body>
</html>

<style>
body{
    font-size: 16px;
    font-family: arial;
}
.tableContent{
	margin-top:50px;
	float:left;
	width:100%
}
.tableContent2{
	margin-top:50px;
	float:left;
	width:100%
}
</style>