Factura con dos precios en dos monedas

Creado: 31/05/2019
Última actualización: 29/08/2021

nº de visitas de la entrada: 1184

Para crear plantilla de factura con dos precios (en dos monedas) hay que crear nueva plantilla y:
 

  1. encontrar en ella el siguiente fragmento del código:

         <tr class="inv_to_pay">    
            <th width="10">{{tt "invoice.to_pay"}}:</th>
            <td>{{outstanding}}</td>
        </tr>
        
        {{#if outstanding_in_words}}                
            <tr class="inv_to_pay">
                <th width="10">{{tt "invoice.in_words"}}:</th>
                <td>{{{outstanding_in_words}}}</td>
            </tr>                    
        {{/if}}

 

  1. y reemplazarlo con este: 

  <tr class="inv_to_pay">    
            <th width="10">{{tt "invoice.to_pay"}}:</th>
            <td>{{outstanding}}</td>
          </tr>
          <tr>
            <td></td>
            <td>{{outstanding_in_exchange_currency}}</td>
          </tr>        

          {{#if outstanding_in_words}}
          <tr class="inv_to_pay">
            <th width="10">{{tt "invoice.in_words"}}:</th>
            <td>{{{outstanding_in_words}}}</td>
          </tr>                    
          {{/if}}

          {{#if outstanding_in_words_in_exchange_currency}}
          <tr class="inv_to_pay">
            <th width="10"></th>
            <td>{{{outstanding_in_words_in_exchange_currency}}}</td>
          </tr>                    
          {{/if}}

 



Atrás