Jump to content

[gelöst] Kundenadresse nicht vollständig in Rechnung/Lieferschein


Recommended Posts

Hallo, ich würde gerne die Kundennummer in die Rechnung mit aufnehmen und das Template invoice.tpl anpassen.
 
Und ich habe das Problem, das die Liefer- und Rechnungsadresse ohne Namen angezeigt werden ?
<!-- ADDRESSES -->
<div style="font-size: 8pt; color: #444">
<table style="width: 100%">
 <tr>
  <td style="width: 1%"></td>
  <td style="width: 80%">
  {if !empty($delivery_address)}
    <table style="width: 100%">
     <tr>
  <td style="width: 60%">
       <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Delivery Address' pdf='true'}</span><br />
        {$delivery_address}
      </td>
  <td style="width: 80%">
       <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing Address' pdf='true'}</span><br />
        {$invoice_address}
      </td>
     </tr>
    </table>
   {else}
    <table style="width: 100%">
     <tr>
      <td style="width: 80%">
      <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing & Delivery Address.' pdf='true'}</span><br />
        {$invoice_address}
      </td>
      <td style="width: 80%">
      </td>
     </tr>
    </table>
   {/if}
  </td>
 </tr>
</table>
<!-- / ADDRESSES -->
<div style="line-height: 1pt"> </div>

Edited by Schapfy (see edit history)
Link to comment
Share on other sites

 

Hallo, ich würde gerne die Kundennummer in die Rechnung mit aufnehmen und das Template invoice.tpl anpassen.

 

Kunden-Nr = {$customer->id_customer}

 

 

Und ich habe das Problem, das die Liefer- und Rechnungsadresse ohne Namen angezeigt werden ?

 

Darf nicht sein! Anderes Module zum Anmelden verwendet?

Link to comment
Share on other sites

Hier der Code für Liefer- und Rechnungsadresse:

################################

<!-- ADDRESSES -->
<div style="font-size: 8pt; color: #444">
<table style="width: 100%">
 <tr>
  <td style="width: 1%"></td>
  <td style="width: 80%">
  {if !empty($delivery_address)}
    <table style="width: 100%">
     <tr>
  <td style="width: 60%">
       <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Delivery Address' pdf='true'}</span><br />
        {$delivery_address}
      </td>
  <td style="width: 80%">
       <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing Address' pdf='true'}</span><br />
        {$invoice_address}
      </td>
     </tr>
    </table>
   {else}
    <table style="width: 100%">
     <tr>

      <td style="width: 80%">
      <span style="font-weight: bold; font-size: 9pt; color: #4684ac">{l s='Billing & Delivery Address.' pdf='true'}</span><br />
        {$invoice_address}
      </td>
      <td style="width: 80%">

      </td>
     </tr>
    </table>
   {/if}
  </td>
 </tr>
</table>

############################################

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...