Jump to content

Nota di consegna


lucalanfranchi

Recommended Posts

1 hour ago, ziobudda said:

Scusa, quale sarebbe l'indirizzo del cliente che ha creato l'ordine ? Quello di fatturazione ?

M.

 

Si quello della fatturazione . 

questo perche quando faccio la consegna in un negozio a scelta mi scompare dalla nota di consegna di chi sia l'ordine 

 

Link to comment
Share on other sites

Io ho la cartella PDF in prestashop, all'interno c'è il file delivery-slip-addresses-tab.tpl che credo sia quello da modificare 

al suo interno c'è  ( abbiamo anche un servizio di ritiro presso un punto di ritiro  ed è li che compare il punto di consegna e non si capisce il cliente: 

<table id="addresses-tab" cellspacing="0" cellpadding="0">
    <tr>
        <td width="33%"><span class="bold"> </span><br/><br/>
            {$order_invoice->shop_address}
            
        </td>
        {if !empty($invoice_address)}
            <td width="33%">{if $delivery_address}<span class="bold">{l s='Delivery Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                    {$delivery_address}
                {/if}
            </td>
            <td width="33%"><span class="bold">{l s='Billing Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                {$invoice_address}
            </td>
        {else}
            <td width="33%">{if $delivery_address}<span class="bold">{l s='Billing & Delivery Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                    {$delivery_address}
                {/if}
            </td>
             <td width="33%"><span class="bold">{l s='Billing Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                {$invoice_address}
            </td>
        {/if}
    </tr>

</table>

 

 

 

 

io ho provato a modificarlo cosi 

<table id="addresses-tab" cellspacing="0" cellpadding="0">
    <tr>
        
            

        <td width="33%"><span class="bold"> </span><br/><br/>
            {$order_invoice->shop_address}
           {$order_invoice->invoice_address}
            
        </td>
        {if !empty($invoice_address)}
            <td width="33%">{if $delivery_address}<span class="bold">{l s='Delivery Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                    {$delivery_address}
                    {$invoice_address}
                {/if}
            </td>
            <td width="33%"><span class="bold">{l s='Billing Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                {$invoice_address}
            </td>
        {else}
            <td width="33%">{if $delivery_address}<span class="bold">{l s='Billing & Delivery Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                    {$delivery_address}
                    {$invoice_address}
                {/if}
            </td>
             <td width="33%"><span class="bold">{l s='Billing Address' d='Shop.Pdf' pdf='true'}</span><br/><br/>
                {$invoice_address}
            </td>
        {/if}
    </tr>

</table>

 

ma una volta svuotata la cache e fatto la prova nel generare il pdf compare ancora come se non avessi modificato nulla, nemmeno da errore. 

 

 

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...