{% pagefooter 20 %} <div style="font-family: verdana; font-size: 8px; text-align: right;"> &p; di &P; </div> {% endpagefooter %}
<div> {% assign stampacondizioni = quote.FreeFields['ALLEGATI'].value %} {% case stampacondizioni %} {% when 'Condizioni Generali' %} {% include 'condizionigenerali' %} {% when '' %} {% include 'condizionigenerali' %} {% when 'condizioni generali2' %} {% include 'condizionigenerali2' %} {% when 'condizioni generali3' %} {% include 'condizionigenerali3' %} {% when 'condizioni generali4' %} {% include 'condizionigenerali4' %} {% when 'condizioni generali5' %} {% include 'condizionigenerali5' %} {% endcase %} </div>
<img src="/imagerepath.aspx/logos/Carta intestata footer-2.jpg" />
{% for ff in Activity.FreeFields %} {%if ff.Name =='Nome Freefield'%} {{ff.formattedvalue}} {% endif %} {% endfor %}
{% case Quote.SalesPerson %} {% when 'Marco Pelli' %} <img src="/imagerepath.aspx/logos\fotoMarco.jpg" alt="" width="771" /> {% when 'Davide Tesero' %} <img src="/imagerepath.aspx/logos\fotoDavide.jpg" alt="" width="771" /> {% else %} <img src="/imagerepath.aspx/logos\fotoStandard.jpg" alt="" width="771" /> {% endcase %}
{% capture iban %}{{Company.IBAN}}}{% endcapture %} ABI: {{ iban | slice: 4,5 }} <br> CAB: {{ iban | slice: 9,5 }}
{% for frr in Quote.FreeFields['CONDPAGAMENTO'].DropItemsLocalizings %} {% if frr.Language == Quote.Lang and frr.Code == Quote.FreeFields['CONDPAGAMENTO'].Value %} {{ frr.LocalizedText1 }} {% endif %} {% endfor %}
{% assign acts = Company.Activities | order_by,'ActivityDate' %} {% for var a in acts %} <div> {{ forloop.index }} - {{ a.Id }} - {{ a.ActivityDate }} </div> {% endfor %}
{% for b in Activity.Bands %} {% if b.ToCount %} Lavoro {% else %} Pausa {% endif %}<br/> {{b.From}}<br/> {{b.To}}<br/> {{ 'SELECT DESCRIPTION FROM [DBO].DEFAULTCODEVALUE WHERE ID=@P0' | sql_scalar, b.CodeType }} <br/> {{b.Description}}<br/> <br/> {% endfor %}
<tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2" class="mainTitle"> Check List </td> </tr> {% capture index %}0{% endcapture %} <tr> <td colspan="2"> <table cellspacing="0" width="100%"> {% for ch in JobOrderTask.CheckList %} {% capture index %}1{% endcapture %} {% if forloop.first %} <tr class="item"> <td class="subTitle" style="font-size:11px;" width="15%"> Codice </td> <td class="subTitle" style="font-size:11px;" width="15%"> Selezionato </td> </tr> {% endif %} <tr class="item"> <td style="font-size:12px;">{{ ch.Description | empty_cell }}</td> <td style="font-size:12px;">{{ ch.Checked }} </td> {% endfor %} </table> </td> </tr>
{% for DP in JobOrderTask.Activities %} <div>Activity</div> {% for pd in DP.PriceDetails %} {{ pd.Description }} - Qta {{ pd.Qta }}*{{pd.UPrice}} = {{pd.TotalPrice}} €<br> {% endfor %} {% endfor %}
{% for row in Quote.ErpRows %} <tr > {% if row.rowtypecontent_src == 'Note' or row.rowtypecontent_src == 'Description' %} <td> </td> <td style="vertical-align:top;" >{{ row.Description | newline_to_br | empty_cell }}</td> <td> </td> {% else %} {% for description in row.Catalog.Localizings %} {% if description.Language == 'en' %} <td width="25%" style="vertical-align:top;"> {{description.LocalizedText1}}</td><br> <td style="vertical-align:top;">{{description.LocalizedText2}}</td><br> <td style="vertical-align:top;">{{ row.Qta }}</td> {% endif %} {% endfor %} {% endif %} {% endfor %}
{% for ff1 in Activity.Opportunity.FreeFields %} {% if ff1.Code == 'campoaggiuntivoOp' %} {{ ff1.FormattedValue | newline_to_br | empty_cell }} {% endif %} {% endfor %} <br>