Marcella P Posted March 13, 2019 Share Posted March 13, 2019 Buonasera, 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'} {else} {tassa_contr = mezzo_bon*2/100} {/if} {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??? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now