From: Seamus Lee Date: Thu, 4 Aug 2016 05:32:08 +0000 (+1000) Subject: CRM-19177 Add in privacy flags to the output of print contact records X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5436a341c8e5192e2396f8188cdf45f1b5522e69;p=civicrm-core.git CRM-19177 Add in privacy flags to the output of print contact records --- diff --git a/templates/CRM/Contact/Form/Task/Print.tpl b/templates/CRM/Contact/Form/Task/Print.tpl index e7b3fbed50..f3948d6ae0 100644 --- a/templates/CRM/Contact/Form/Task/Print.tpl +++ b/templates/CRM/Contact/Form/Task/Print.tpl @@ -55,6 +55,9 @@ {/if} {ts}Email{/ts} {ts}Phone{/ts} + {ts}Do Not Email{/ts} + {ts}Do Not Phone{/ts} + {ts}Do Not mail{/ts} {/if} {foreach from=$rows item=row} @@ -86,6 +89,21 @@ {/if} {$row.email} {$row.phone} + {if $row.do_not_email == 1} + {$row.do_not_email} + {else} +   + {/if} + {if $row.do_not_phone == 1} + {$row.do_not_phone} + {else} +   + {/if} + {if $row.do_not_mail == 1} + {$row.do_not_mail} + {else} +   + {/if} {/if} {/foreach}