vrai, ce message date et j'espère que depuis vous avez pu trouver une solution.didiercompta a écrit : ↑09 décembre 2014, 11:07 Bonjour,
Je cherche moi aussi à faire mes factures dans iCompta, mais je ne connais pas le html.
Je trouve un peu dommage de devoir "investir" dans un logiciel pour juste mettre en page mon modèle de facture.
Quelqu'un aurait-il une solution simple à me proposer ?
Ou bien la possibilité de me faire ce modèle depuis mon modèle Page ?
Merci
Didier
actuellement la version "Icompta 6" en date permet de faire des factures efficaces, avec l'introduction du logo de l'entreprise, l'association ....
-------------------------------------------------------------------
exemple sur la base de votre facture html :
-------------------------------------------------------------------
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<style type="text/css">
body
{
font-family: arial;
font-size: 12pt;
}
h1
{
font-size: 14pt;
}
table
{
border-collapse: separate;
border-spacing: 10px 10px;
}
th, td
{
font-size: 10pt;
}
th
{
font-style: italic;
color: #333333;
}
.bordered
{
padding: 2px;
border: 1px solid #000000;
}
#border
{
height: 5pt;
margin-bottom: 2pt;
background-color: #EE7E33;
}
</style>
<title>Modèle facture</title>
</head>
<body>
<div id="border"></div>
<h1
style="font-family: Eurostile; color: rgb(238, 126, 39); text-align: left;"><big><big> {% if company.logo %}<img src="data:image/png;base64,{{ company.logo }}" width="{{ company.logoWidth }}" height="{{ company.logoHeight }}">{% /if %} Association
</big></big></h1>
<p><small>{{ company.address }}<br />
{{ company.phone }}<br />
{{ company.mail }}</small></p>
<p><small><b>SIRET : {{ company.identificationNumber }}</small></p>
<p><small><b>À</b></small><br>
</p>
<p style="text-align: center;">{{ client.name }}<br>
{{ client.address }}</p>
<small><b>Date :</b> {{ date | date_format: EEEEddMMMyyyy }}</small>
<p style="color: rgb(238, 126, 39);"><b>Facture {{ number }} :</b> {{
title }}</p>
<table style="text-align: left; width: 530px; height: 131px;" border="0">
<tbody>
<tr>
<th
style="background-color: rgb(238, 126, 39); text-align: center; height: 20px;">Description</th>
<th
style="text-align: center; background-color: rgb(238, 126, 39); height: 20px;">Prix</th>
<th
style="text-align: center; background-color: rgb(238, 126, 39); height: 20px;">Quantité</th>
<th
style="text-align: center; background-color: rgb(238, 126, 39); height: 20px;">Total<br>
</th>
</tr>
{% for item in items %} <tr>
<td style="text-align: left; height: 30px;">{{ item.title }}</td>
<td style="text-align: right; height: 30px;">{{ item.amount }}</td>
<td style="text-align: center; height: 30px;">{{ item.quantity }}</td>
<td colspan="3" style="text-align: right; height: 30px;">{{
item.totalWithoutTaxes }}<br>
<br>
</td>
</tr>
</tbody>
</table>
<small><b>TVA non applicable, art. 293 B du CGI</b></small>
<p style="text-align: center; color: rgb(238, 126, 39);"><b>Total en
votre aimable règlement :</b> {{ amount }}</p>
<small><span style="text-decoration: underline; font-style: italic;">Conditions :
Règlement à réception par chèque ou virement </span><small><br>
<br>
Banque :<br>
xxxxxxxxxxxxx </small><br>
<br>
<small>En cas de litige il est fait attribution de compétence au
Tribunal de Commerce de Lyon (69 - Rhône). <br>
Selon la loi, tout retard de règlement entraine des pénalités de 3 fois
le taux d'intérêt légal, avec un minimun de perception de 40 €. </small><br>
<small><br>
</small></small>
<div style="text-align: center;"><small><small>xxxxxxxxx</small><br>
<small>xxxxxxx xxxxxxxx</small></small><br>
</div>
<div id="border"></div>
</body>
</html>
-------------------------------------------------------------------