From 9521b17fa5e8f16878d19c804ff9209789aa37e7 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 e7b3fbed50da..f3948d6ae088 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}