Skip to content
Snippets Groups Projects
Commit b7af8feb authored by Eileen McNaughton's avatar Eileen McNaughton
Browse files

Tpl notice fixes

These fields are both conditionally assigned to the template
parent 49bcd488
Branches
Tags
No related merge requests found
......@@ -25,7 +25,7 @@
<label>{ts}Currency{/ts}</label> <br />
{$form.contribution_currency_type.html|crmAddClass:twenty}
</td>
{if $form.contribution_batch_id.html }
{if !empty($form.contribution_batch_id.html)}
<td>
{$form.contribution_batch_id.label}<br />
{$form.contribution_batch_id.html}
......@@ -136,8 +136,10 @@
{$form.contribution_source.html|crmAddClass:twenty}
</td>
<td>
{$form.contribution_product_id.label} <br />
{$form.contribution_product_id.html|crmAddClass:twenty}
{if !empty($form.contribution_product_id)}
{$form.contribution_product_id.label} <br />
{$form.contribution_product_id.html|crmAddClass:twenty}
{/if}
</td>
</tr>
<tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment