% my $tax_location = $conf->exists('tax-ship_address')
% ? $cust_main->ship_location
% : $cust_main->bill_location;
- <TD><% $tax_location->geocode %></TD>
+ <TD><% $tax_location && $tax_location->geocode %></TD>
</TR>
% }
<TR>
<TD><% $cust_main->invoice_noemail ? $refused : $allowed %></TD>
% }
</TR>
+% if ( $conf->config_bool('allow_payment_receipt_noemail', $cust_main->agentnum) ) {
+<TR>
+ <TH ALIGN="right"><% mt('Email payment receipts') |h %></TH>
+ <TD><% $cust_main->paymentreceipt_noemail ? $refused : $allowed %></TD>
+</TR>
+% }
<TR>
<TH ALIGN="right"><% mt('Other email notices') |h %></TH>
<TD>