From 72d5586aee84bfe13cbd795b9b3b16c46f76d43a Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 4 Aug 2016 15:32:08 +1000 Subject: [PATCH] CRM-19177 Add in privacy flags to the output of print contact records --- templates/CRM/Contact/Form/Task/Print.tpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/templates/CRM/Contact/Form/Task/Print.tpl b/templates/CRM/Contact/Form/Task/Print.tpl index 9ba8abb92f..1f1f0943a2 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} -- 2.25.1