Skip to content

Commit

Permalink
Merged in feature/add_privacy_fags (pull request civicrm#19)
Browse files Browse the repository at this point in the history
CRM-19177 Add in privacy flags to the output of print contact records
  • Loading branch information
seamuslee001 committed Aug 4, 2016
2 parents e797339 + 9521b17 commit faee6a1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions templates/CRM/Contact/Form/Task/Print.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
{/if}
<td>{ts}Email{/ts}</td>
<td>{ts}Phone{/ts}</td>
<td>{ts}Do Not Email{/ts}</td>
<td>{ts}Do Not Phone{/ts}</td>
<td>{ts}Do Not mail{/ts}</td>
{/if}
</tr>
{foreach from=$rows item=row}
Expand Down Expand Up @@ -86,6 +89,21 @@
{/if}
<td>{$row.email}</td>
<td>{$row.phone}</td>
{if $row.do_not_email == 1}
<td>{$row.do_not_email}</td>
{else}
<td>&nbsp;</td>
{/if}
{if $row.do_not_phone == 1}
<td>{$row.do_not_phone}</td>
{else}
<td>&nbsp;</td>
{/if}
{if $row.do_not_mail == 1}
<td>{$row.do_not_mail}</td>
{else}
<td>&nbsp;</td>
{/if}
{/if}
</tr>
{/foreach}
Expand Down

0 comments on commit faee6a1

Please sign in to comment.