PB d'insertion d'image dans facture
Publié : 18 octobre 2015, 20:25
Bonjour,
J'ai dû remplacer le disque dur de mon iMac, et donc réinstaller ICompta.
J'utilise un modèle de facture avec une image en tant que signature.
Depuis la remise en route sur le nouveau disque je constate que la signature n'apparait plus. J'ai vérifié et correctement placé l'image (format png) dans le dossier Resources de l'application, ainsi que les autres fichiers nécessaires.
Je vous joint deux image l'une avec la signature avant le changement de disque et l'autre avec la signature manquante, ainsi que le fichier image et le source ci-dessous.
Les autres insertions fonctionnent bien: client - filigrane
Merci pour votre aide.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="factureart.css" />
</head>
<body>
<header>
<h3>Dominique Prévots</h3>
Artiste Peintre<br />
<table>
<tr>
<th width=75% align=left><hr width=62% size=1 align=left></th>
<th align=left><b>FACTURE</b></th>
</tr>
<tr>
<td width=75% align=left>12, route des Goulets</td>
<td align=left><b>N° :{{ number }} </b></td>
</tr>
<tr>
<td width=75% align=left>44880 Sautron</td>
<td align=left>{{ title }}</td>
</tr>
<tr>
<td width=75% align=left>tel: +33 6 62 63 25 39</td>
</tr>
<tr>
<td width=75% align=left>E-mail: dominique.prevots@gmail.com</td>
<td align=left><b>Date :</b> {{ date | date_format: dd/MM/yyyy }}</td>
</tr>
</table>
</header>
<section>
<hr width=45% size=1 align=left>
<b>n° SIRET :</b> 790 995 120 00017<br />
<hr width=45% size=1 align=left>
<p class="client">CLIENT</p>
<hr width=45% size=1 align=left>
<p><b>{{ client }}</b></p>
<p>{{ address }}</p><br />
</section>
<section class="ligfac">
<hr width=100% size=8 align=left>
<table>
<tr>
<th align=left width=60%> Description</th>
<th align=center>Prix</th>
<th align=center>Qté</th>
<th width=15% align=right>Total HT</th>
<th width=10% align=right>TVA</th>
<th width=15% align=right>TTC</th>
</tr>
{% for item in items %}
<tr>
<td width=60% align=left>{{ item.title }}</td>
<td align=right>{{ item.amount }}</td>
<td align=center>{{ item.quantity }}</td>
<td align=right>{{ item.totalWithoutTaxes }}</td>
<td align=right>{% if item.taxesRate %}{{ item.taxesName }} {% /if %}</td>
<td align=right>{{ item.total }}</td>
</tr>
{% /for %}
</table>
<hr width=100% size=1 align=left><br />
TVA non réclamée (Article 293B du C.G.I.) <div class="Total">Total HT : {{ amountWithoutTaxes }}</div>
<hr width=20% size=1 align=right></td>
<div class="Total">Total TTC : {{ amount }}</div>
</section>
<footer>
<table class="cartouche">
<tr>
<th class="cartouche" align=center width=100px>Date du règlement</th>
<th class="cartouche" align=center width=500px>Banque/N° Chèque</th>
<th class="cartouche" align=center width=400px>Signature</th>
</tr>
<tr>
<td class="hauteur" class=hauteur align=center> {{ date | date_format: dd/MM/yy }}</td>
<td class="hauteur" align=left></td>
<td align=center><img src="/Applications/iCompta.localized/iCompta.app/Contents/Resources/factureartsignatureadministrative.png" alt="" /></td>
</tr>
{% /for %}
</table>
</footer>
</body>
</html>
J'ai dû remplacer le disque dur de mon iMac, et donc réinstaller ICompta.
J'utilise un modèle de facture avec une image en tant que signature.
Depuis la remise en route sur le nouveau disque je constate que la signature n'apparait plus. J'ai vérifié et correctement placé l'image (format png) dans le dossier Resources de l'application, ainsi que les autres fichiers nécessaires.
Je vous joint deux image l'une avec la signature avant le changement de disque et l'autre avec la signature manquante, ainsi que le fichier image et le source ci-dessous.
Les autres insertions fonctionnent bien: client - filigrane
Merci pour votre aide.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="factureart.css" />
</head>
<body>
<header>
<h3>Dominique Prévots</h3>
Artiste Peintre<br />
<table>
<tr>
<th width=75% align=left><hr width=62% size=1 align=left></th>
<th align=left><b>FACTURE</b></th>
</tr>
<tr>
<td width=75% align=left>12, route des Goulets</td>
<td align=left><b>N° :{{ number }} </b></td>
</tr>
<tr>
<td width=75% align=left>44880 Sautron</td>
<td align=left>{{ title }}</td>
</tr>
<tr>
<td width=75% align=left>tel: +33 6 62 63 25 39</td>
</tr>
<tr>
<td width=75% align=left>E-mail: dominique.prevots@gmail.com</td>
<td align=left><b>Date :</b> {{ date | date_format: dd/MM/yyyy }}</td>
</tr>
</table>
</header>
<section>
<hr width=45% size=1 align=left>
<b>n° SIRET :</b> 790 995 120 00017<br />
<hr width=45% size=1 align=left>
<p class="client">CLIENT</p>
<hr width=45% size=1 align=left>
<p><b>{{ client }}</b></p>
<p>{{ address }}</p><br />
</section>
<section class="ligfac">
<hr width=100% size=8 align=left>
<table>
<tr>
<th align=left width=60%> Description</th>
<th align=center>Prix</th>
<th align=center>Qté</th>
<th width=15% align=right>Total HT</th>
<th width=10% align=right>TVA</th>
<th width=15% align=right>TTC</th>
</tr>
{% for item in items %}
<tr>
<td width=60% align=left>{{ item.title }}</td>
<td align=right>{{ item.amount }}</td>
<td align=center>{{ item.quantity }}</td>
<td align=right>{{ item.totalWithoutTaxes }}</td>
<td align=right>{% if item.taxesRate %}{{ item.taxesName }} {% /if %}</td>
<td align=right>{{ item.total }}</td>
</tr>
{% /for %}
</table>
<hr width=100% size=1 align=left><br />
TVA non réclamée (Article 293B du C.G.I.) <div class="Total">Total HT : {{ amountWithoutTaxes }}</div>
<hr width=20% size=1 align=right></td>
<div class="Total">Total TTC : {{ amount }}</div>
</section>
<footer>
<table class="cartouche">
<tr>
<th class="cartouche" align=center width=100px>Date du règlement</th>
<th class="cartouche" align=center width=500px>Banque/N° Chèque</th>
<th class="cartouche" align=center width=400px>Signature</th>
</tr>
<tr>
<td class="hauteur" class=hauteur align=center> {{ date | date_format: dd/MM/yy }}</td>
<td class="hauteur" align=left></td>
<td align=center><img src="/Applications/iCompta.localized/iCompta.app/Contents/Resources/factureartsignatureadministrative.png" alt="" /></td>
</tr>
{% /for %}
</table>
</footer>
</body>
</html>