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

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

Important Information

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