Question about conditionals
Hi Shane,
I try it but doesnt work
<td>[types field='nombre_campana' separator=', ' item='@campana-bonos-bono.parent'][/types]</td>
<td>[types field="referencia-del-bono"][/types]</td>
<td>[types field="fecha-de-creacion-del-bono"][/types]</td>
<td>[wpv-post-taxonomy type="estado"]</td>
<td>
[wpv-conditional if="( $(wpcf-comprobante) eq '' )"]
[cred_form form="adjunto-bonos"]
[/wpv-conditional]
[wpv-conditional if="( $(wpcf-comprobante) ne '' )"]
[types field='comprobante'][/types]
[/wpv-conditional]</td>
<td>[wpv-view name="child-view"]<td>
<td> [types field="fecha-de-caducidad"][/types]<br>[wpv-conditional if = "($ (wpcf-fecha-de-caducidad) lt 'TODAY ()')"] <b>CADUCADO</b> [/wpv-conditional]</td>
You can see in /listado-bonos-administrador/
Thanks
Shane
Supporter
Languages:
English (English )
Timezone:
America/Jamaica (GMT-05:00)
Hi Avansis,
The issue should now be resolved.
The problem was that there was a table tag that needed to be closed.
I went ahead and closed the tag and the table should now be displaying properly.
Thanks,
Shane
Thanks Shane,
But they dont show that it's expired, in the post that 'fecha de caducidad' is 'fecha de caducidad' date is before today.
My issue is resolved now. Thank you!