Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

So schaut der Musterlieferschein als PDF aus:

Musterlieferschein

Codeblock
languageactionscript3
titleLieferschein
{literal}
<style>
* { font-size:10pt; font-family:Verdana, Geneva, sans-serif; color:#000; line-height:120%;}
* strong  { font-size:10pt; font-family:Verdana, Geneva, sans-serif; color:#000; line-height:120%;}

/* Farbdefinition Überschriften*/
.h1 { font-size:22pt; color:#1190c5; }
.h2 { font-size:8pt; color:#888888; }
.small p, .small { margin:0; font-size:9pt}
</style>
{/literal}

<table width="100%" cellpadding="1" cellspacing="1" border="0" style="font-family: Arial;">
  <tr>
    <td colspan="6">
{if $orderObject->get('order_DeliverAdressName') || $orderObject->get('order_DeliverAdressFirstname') || $orderObject->get('order_DeliverAdressLastname')}
    {if $orderObject->get('order_DeliverAdressCompany')}{$orderObject->get('order_DeliverAdressCompany')}<br>
     
{/if}
     
{if $orderObject->get('order_DeliverAdressCompany2')}{$orderObject->get('order_DeliverAdressCompany2')}<br>
     
{/if}

     {if $orderObject->get('order_DeliverAdressName')}
  
     {$orderObject->get('order_DeliverAdressName')}<br>
      {elseif $orderObject->get('order_DeliverAdressFirstname') || $orderObject->get('order_DeliverAdressLastname')}
   
    {if $orderObject->get('order_DeliverAdressFirstname')}
          
 {$orderObject->get('order_DeliverAdressFirstname')}
       
{/if}
       
{if $orderObject->get('order_DeliverAdressLastname')}
     
      {$orderObject->get('order_DeliverAdressLastname')}
 
      {/if}
        <br>

     {/if}

    

{if $orderObject->get('order_DeliverAdressStreet')}{$orderObject->get('order_DeliverAdressStreet')}<br>
   
  {/if}
     
{if $orderObject->get('order_DeliverAdressZIP')}{$orderObject->get('order_DeliverAdressZIP')} {if $orderObject->get('order_DeliverAdressTown')}{$orderObject->get('order_DeliverAdressTown')}<br>
     
{/if}{/if}
     
{if $orderObject->get('order_DeliverAdressCountry')}{$orderObject->get('order_DeliverAdressCountry')}<br>
      {/if}
{else}
        {if $orderObject->get('InvoiceAdressCompany1')}{$orderObject->get('InvoiceAdressCompany1')}<br>
       {/if}
       {if $orderObject->get('InvoiceAdressCompany2')}{$orderObject->get('InvoiceAdressCompany2')}<br>
       {/if}
       {if $orderObject->get('InvoiceAdressName')}{$orderObject->get('InvoiceAdressName')}<br>
       {/if}
       {if $orderObject->get('InvoiceAdressStreet')}{$orderObject->get('InvoiceAdressStreet')}<br>
       {/if}
       {if $orderObject->get('InvoiceAdressZIP')}{$orderObject->get('InvoiceAdressZIP')} {if $orderObject->get('InvoiceAdressTown')}{$orderObject->get('InvoiceAdressTown')}<br>
       {/if}{/if}
       {if $orderObject->get('InvoiceAdressCountry')}{$orderObject->get('InvoiceAdressCountry')}<br>{/if}
{/if}
<br><br><br><br>
   
<strong style="font-size:15pt">Lieferschein</strong> ({$smarty.now|date_format:"%d.%m.%Y"})
     <br><br>
     {if $orderObject->getInvoiceNumber()} Rechnungs-Nr. {$orderObject->getInvoiceNumber()}{else}Rechnungs-Nr. {$orderObject->get('invoice_number')}<br>{/if}
     {if $orderObject->getOrderCode()} Auftrags-Nr. {$orderObject->getOrderCode()}<br>{/if}
     {if $orderObject->getCustomerUser()->get('customer_user_kundennummer')}Kunden-Nr. {$orderObject->getCustomerUser()->get('customer_user_kundennummer')} <br>{/if}
     {if $orderObject->get('order_number')}Lieferschein-Nr. {$orderObject->get('order_number')}<br>{/if}
     <br><br>
      Sehr geehrte Damen und Herren,
	<br><br>
wir liefern Ihnen gemäß unserer allgemeinen Geschäftsbedingungen:
      <br><br><br><br><br>
    
      
    </td>
  </tr>
  <tr>
    <td>Pos.</td>
    <td width="20"> </td>
    <td>Artikelnummer</td>
    <td width="20"> </td>
    <td>Produkt</td>
    <td align="right">Menge</td>
  </tr>
{counter print=false assign=countPos} 
  {foreach from=$orderObject->getOrderCart() item=item key=cartId} 

  {if $item->get('aid') || $item->get('article_type') == 0}
  <tr  style="padding:3px;">
    <td colspan="6" height="1"  style="border-top:1px solid #000000"></td>
  </tr>
  <tr  style="padding:3px;">
    <td valign="top">{$countPos}</td>
    <td valign="top"> </td>
    <td valign="top">{$item->get('aid')}</td>
    <td valign="top"> </td>
	  {if $item->get('quantity_value')}
    <td valign="top">   {$item->get('s_desc')} <br>
      <span class="small">{$item->getArticle()->get('article_fulldesc')}</span></td>
    <td align="right" valign="top" nowrap> {$item->get('quantity_value')} Stück</td>
	{else} 
    {if $item->get('s_desc')}
	<td valign="top" colspan="2">  {$item->get('s_desc')}</td>
    {/if}
  {/if}
  </tr>
  {foreach from=$item->getChildItems() item=childItem key=childId}
  <tr >
    <td></td>
    <td></td>
    <td> </td>
    <td valign="top" > </td>
    <td valign="top" class="small" >{$childItem->get('s_desc')}</td>
    <td align="right" valign="top"> </td>
  </tr>
  {/foreach} 
    {counter}
  {/if}
  {/foreach}
  <tr  >
    <td colspan="6" height="1" style="border-top:1px solid #000000"></td>
  </tr>
  <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
  </tr>
  <tr>
    <td colspan="6">
    <br><br><br>
    <table width="100%" border="0" cellspacing="0">
    <tr>
      <td> </td>
      <td></td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td></td>
      <td> </td>
    </tr>
    <tr>
      <td valign="top">Empfangsbestätigung<br>
        <br>
        <br></td>
      <td> </td>
      <td>Abgabebestätigung<br>
        <br>
        <br></td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td > </td>
      <td></td>
      <td > </td>
    </tr>
    <tr>
      <td style="border-top:1px solid #000000">Datum, Uhrzeit, Unterschrift</td>
      <td> </td>
      <td style="border-top:1px solid #000000">Datum, Uhrzeit, Unterschrift</td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td></td>
      <td></td>
    </tr>
    <tr>
      <td height="50"> </td>
      <td></td>
      <td></td>
    </tr>
    <tr>
      <td>Versandart:</td>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td align="right"> </td>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
      <td align="right"> </td>
    </tr>
    <tr>
      <td>▢ UPS</td>
      <td>▢ Spedition</td>
      <td align="right">▢ Direktfahrt</td>
    </tr>

</table>
   </td>
  </tr>
</table>

...