Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1818 connectés 

  FORUM HardWare.fr
  Programmation
  HTML/CSS

  tableau de devis vtiger Pdf Maker

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

tableau de devis vtiger Pdf Maker

n°2078707
mc_77
Posté le 27-05-2011 à 15:18:03  profilanswer
 

bonjour,
 
j'ai créer sous Vtiger qui est un crm pour mon entreprise, un tableau pour un devis avec l'extension Pdf Maker et Ckeditor et je souhaiterais que mon tableau est une hauteur fixe même si j'ai un produit ou plusieurs produits qui sont affichés comme on peut avoir sous le CRM Dolibarr
 
mon tableau est sous forme :
Désignation P.U. HT Qté TVA Total HT
#PRODUCTBLOC_START#
$PRODUCTNAME$ $PRODUCTLISTPRICE$ $PRODUCTQUANTITY$ $PRODUCTVATSUM$ $PRODUCTTOTAL$
#PRODUCTBLOC_END#
%G_LBL_NET_TOTAL% $SUBTOTAL$ $CURRENCYSYMBOL$
Total TVA $VATPERCENT$% $VAT$ $CURRENCYSYMBOL$
%G_LBL_GRAND_TOTAL% $TOTAL$ $CURRENCYSYMBOL$
 
Pouvez vous me dire ce que je dois faire?
 
 
 


---------------
Merci
mood
Publicité
Posté le 27-05-2011 à 15:18:03  profilanswer
 

n°2079206
mc_77
Posté le 30-05-2011 à 17:06:58  profilanswer
 

bonjour, je vous présente le code que j'ai  dans pdf maker source de mon devis:
<p>
 &nbsp;</p>
<table border="0" cellpadding="0" cellspacing="1">
 <tbody>
  <tr>
  </tr>
  <tr>
   <td style="width: 50%;">
    <p>
     <img alt="" src="http://www.emits-group.com/images/stories/logo_e-g.png" style="width: 250px; height: 51px;" /></p>
    <p>
     &nbsp;</p>
    <p>
     &nbsp;</p>
   </td>
   <td style="text-align: right; width: 50%;">
    &nbsp;</td>
   <td style="text-align: right; width: 50%;">
    <p>
     <span style="font-size: 12px;"><strong><span style="color: rgb(30, 75, 192);">Proposition Commerciale</span></strong></span><br />
     <span style="font-size: 12px;"><strong><span style="color: rgb(30, 75, 192);">Devis N&deg; : $QUOTES_QUOTE_NO$</span></strong></span><br />
     <span style="color: rgb(30, 75, 192);"><span style="font-size: 12px;">R&eacute;f.client :$R_ACCOUNTS_ACCOUNT_NO$</span></span><br />
     <span style="font-size: 12px;"><span style="color: rgb(30, 75, 192);">Date :##DD.MM.YYYY##</span></span><br />
     <span style="font-size: 12px;"><span style="color: rgb(30, 75, 192);">Date fin validit&eacute; : $QUOTES_VALIDTILL$</span></span><br />
     <span style="font-size: 12px;"><span style="color: rgb(30, 75, 192);"><span _fck_bookmark="1" style="display: none;">&nbsp;</span><span _fck_bookmark="1" style="display: none;">&nbsp;</span><span _fck_bookmark="1" style="display: none;">&nbsp;</span><span _fck_bookmark="1" style="display: none;">&nbsp;</span><span _fck_bookmark="1" style="display: none;">&nbsp;</span><span _fck_bookmark="1" style="display: none;">&nbsp;</span>Commercial : $USER_LASTNAME$ $USER_FIRSTNAME$</span></span></p>
   </td>
  </tr>
 </tbody>
</table>
<table border="0.5" cellpadding="1" cellspacing="0" style="width: 995px; height: 195px;">
 <tbody>
  <tr>
  </tr>
  <tr>
   <td style="text-align: left; vertical-align: top; width: 40%; border-color: rgb(255, 255, 255); background-color: rgb(204, 204, 204);">
    <p>
     <span style="font-size: 14px;"><span style="font-weight: bold;">$COMPANY_NAME$</span></span><br />
     <br />
     <span style="font-size: 11px;">$COMPANY_ADDRESS$<br />
     $COMPANY_ZIP$ $COMPANY_CITY$<br />
     <br />
     T&eacute;l.:&nbsp; $COMPANY_PHONE$<br />
     Fax : $COMPANY_FAX$</span><br />
     <span style="font-size: 11px;">$COMPANY_WEBSITE$</span></p>
   </td>
   <td style="text-align: left; vertical-align: top; width: 10%;">
    <div>
     &nbsp;</div>
   </td>
   <td style="border: 1px solid; padding-bottom: 8px;">
    <p>
     <span style="font-size: 14px;"><font><span style="font-weight: bold;">$QUOTES_ACCOUNT_ID$</span></font></span><br />
     <span style="font-size: 12px;">$R_CONTACTS_LASTNAME$ $R_CONTACTS_FIRSTNAME$</span><br />
     <span style="font-size: 11px;"><font>$QUOTES_BILL_STREET$</font><br />
     <font>$QUOTES_BILL_CODE$ $QUOTES_BILL_CITY$</font></span><br />
     &nbsp;</p>
    <p>
     &nbsp;</p>
    <p>
     &nbsp;</p>
    <p>
     &nbsp;</p>
    <p>
     &nbsp;</p>
   </td>
   <td style="width: 10%; text-align: left; border-color: rgb(0, 0, 0);">
    &nbsp;</td>
  </tr>
 </tbody>
</table>
<p>
 &nbsp;</p>
<table border="0" cellpadding="3" cellspacing="0" style="width: 1220px; height: 708px;" with="100%">
 <tbody>
  <tr>
  </tr>
  <tr>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; border-left-width: 1px; border-left-style: solid; padding-bottom: 8px; border-top-width: 1px; border-top-style: solid; width: 30%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;"><strong>D&eacute;signation</strong></span></span></td>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; border-left-width: 1px; border-left-style: solid; padding-bottom: 8px; border-top-width: 1px; border-top-style: solid; text-align: center; width: 10%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;"><strong>P.U. HT</strong></span></span></td>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; border-left-width: 1px; border-left-style: solid; padding-bottom: 8px; border-top-width: 1px; border-top-style: solid; text-align: center; width: 10%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;"><strong>Qt&eacute;</strong></span></span></td>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; border-left-width: 1px; border-left-style: solid; padding-bottom: 8px; border-top-width: 1px; border-top-style: solid; text-align: center; width: 20%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;"><strong>TVA</strong></span></span></td>
   <td style="border: 1px solid; padding-bottom: 8px; text-align: right; width: 30%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;"><strong>Total HT/ Remise</strong></span></span></td>
  </tr>
  <tr>
   <td colspan="5">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;">#PRODUCTBLOC_START#</span></span></td>
  </tr>
  <tr>
   <td height="30%" style="text-align: left; border-left: 1px solid; vertical-align: top;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;">$PRODUCTNAME$</span></span></td>
   <td style="text-align: right; border-left: 1px solid; vertical-align: top;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;">$PRODUCTLISTPRICE$</span></span></td>
   <td style="text-align: center; border-left: 1px solid; vertical-align: top;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;">$PRODUCTQUANTITY$</span></span></td>
   <td style="text-align: right; border-left: 1px solid; vertical-align: top;">
    <span style="font-size: 12px;"><span style="font-family: times new roman,times,serif;">$PRODUCTVATSUM$<br />
    ($PRODUCTVATPERCENT$ %)</span></span></td>
   <td style="text-align: right; border-left: 1px solid; vertical-align: top; border-right: 1px solid;">
    <p>
     <span style="font-size: 12px;">$PRODUCTTOTAL$</span></p>
    <p>
     <span style="font-size: 12px;">-<span style="font-size: 10px;">$PRODUCTDISCOUNT$</span></span></p>
   </td>
  </tr>
  <tr>
   <td colspan="5">
    #PRODUCTBLOC_END#</td>
  </tr>
 </tbody>
</table>
<p>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<table border="0" cellpadding="1" cellspacing="1" style="width: 1221px; height: 71px;">
 <tbody>
  <tr>
  </tr>
  <tr>
   <td style="text-align: right; width: 50%; height: 10px;">
    &nbsp;</td>
   <td colspan="3" style="border-bottom-width: 1px; border-bottom-style: solid; text-align: left; border-left-width: 1px; border-left-style: solid; width: 20%; height: 10px;">
    <span style="font-size: 12px;">%G_LBL_NET_TOTAL%</span></td>
   <td style="text-align: right; width: 30%; height: 10px;">
    <span style="font-size: 12px;">$SUBTOTAL$ $CURRENCYSYMBOL$</span></td>
  </tr>
  <tr>
   <td style="text-align: right; border-left-width: 1px; border-left-style: solid; width: 50%; height: 10px;">
    &nbsp;</td>
   <td colspan="3" style="border-bottom-width: 1px; border-bottom-style: solid; text-align: left; border-left-width: 1px; border-left-style: solid; width: 20%; height: 10px;">
    <span style="font-size: 12px;">Total TVA $VATPERCENT$%</span></td>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; text-align: right; border-left-width: 1px; border-left-style: solid; border-right-width: 1px; border-right-style: solid; width: 30%; height: 10px;">
    <span style="font-size: 12px;">$VAT$ $CURRENCYSYMBOL$</span></td>
  </tr>
  <tr>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; text-align: right; border-left-width: 1px; border-left-style: solid; width: 50%; height: 10px;">
    &nbsp;</td>
   <td colspan="3" style="border-bottom-width: 1px; border-bottom-style: solid; text-align: left; border-left-width: 1px; border-left-style: solid; width: 20%; height: 10px;">
    <span style="font-size: 12px;"><span style="font-weight: bold;">%G_LBL_GRAND_TOTAL%</span></span></td>
   <td style="border-bottom-width: 1px; border-bottom-style: solid; text-align: right; border-left-width: 1px; border-left-style: solid; border-right-width: 1px; border-right-style: solid; width: 30%; height: 10px;">
    <span style="font-size: 12px;"><span><strong>$TOTAL$ $CURRENCYSYMBOL$</strong></span></span></td>
  </tr>
 </tbody>
</table>
 
je vous remercie par avance de vos réponse.
 
Manon

n°2079464
bigotconsu​lting
Posté le 31-05-2011 à 11:52:47  profilanswer
 

Bonjour,
 
En modifiant la balise height de cette ligne :
 

Code :
  1. <table border="0" cellpadding="3" cellspacing="0" style="width: 1220px; height: 708px;" with="100%">


 
ça ne va pas ?
 
Cordialement.


Message édité par bigotconsulting le 31-05-2011 à 11:53:24

---------------
"Je conseille Vtiger CRM"
n°2079779
mc_77
Posté le 01-06-2011 à 11:40:10  profilanswer
 

bonjour,
 
j'ai essayé de mettre le height en pourcentage et en pixel sur cette ligne mais la hauteur ne change pas elle reste la même en fonction du nombre de produit présent dans le devis.
 
Sais tu quel autre modification pourrait fonctionner?
 
Merci.
 
Cordialement,
 
Manon

n°2144869
XToff
Posté le 06-06-2012 à 17:17:28  profilanswer
 

Bonjour,
 
Et hop, pour fêter les 1 an de ton post, je me permet de le déterrer.
 
Je suis actuellement confronté au même problème que toi.
J'aimerai savoir si tu as pu trouvé une solution ou quel a été ton contournement.
 
C'est dommage, vtiger c'est vraiment puissant, mais la partie customisation des exports pdf c'est la galère. Même avec PDF Maker.
 
Merci
Christophe


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  HTML/CSS

  tableau de devis vtiger Pdf Maker

 

Sujets relatifs
affichage d'un tableau AndroidProbléme de tableau dans requete sql
[fpdf] Affichage tableau fpdf en 2 partiescalcul d'une fonction dans un tableau
algorithme placement objet dans un tableauComparaison de PDF
DLL et tableau de recordlecture d'un fichier .txt et retourner un tableau et une variable P,sv
Test des elements dans un tableauremplir un tableau de valeurs hexadécimales
Plus de sujets relatifs à : tableau de devis vtiger Pdf Maker


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR