Jump to content

Modificare file bankwire.html

Recommended Posts

volevo modificare il bankwire.html mettendo un controllo if e delle variabili una cosa del genere:

<span style="color:#333"><strong>Importo Totale:</strong></span> {total_paid}<br />
{total1 = total_paid*1}
{mezzo_bon = total_paid/2}
{if mezzo_bon <= 750}
{tassa_contr = '10,00'}
{tassa_contr = mezzo_bon*2/100}
{pag_con = tassa_contr+mezzo_bon}
<span style="color:#333"><strong>Bonifico Bancario 50%:</strong></span> {mezzo_bon}<br />
<span style="color:#333"><strong>Tassa di contrassegno:</strong></span> {tassa_contr}<br />
<span style="color:#333"><strong>Importo da pagare al Corriere alla Consegna:</strong></span> {pag_con}<br /><br />

ma chiaramente si vedono i nomi delle variabili e non il valore.

Come posso fare???

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More