summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorAlex Brelsfoard <alex@freeside.biz>2015-02-10 00:11:07 -0500
committerAlex Brelsfoard <alex@freeside.biz>2015-02-10 00:11:07 -0500
commitec7e8155fce544f19f2b6734476ed6db8c200aa9 (patch)
tree8b336b67d075006b6fcbcaa110307cc2413f5554 /httemplate/misc
parentd422d2530bda9de3af830f1e1ab1084061b486f5 (diff)
parent0238fd7aa7a92887970507346ac7e6ad8ed5492c (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/email-quotation.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/misc/email-quotation.html b/httemplate/misc/email-quotation.html
index b93b80bb7..64e3691b5 100644
--- a/httemplate/misc/email-quotation.html
+++ b/httemplate/misc/email-quotation.html
@@ -16,9 +16,11 @@
% }
% }
-% my @contact = $quotation->custnum ? $quotation->cust_main->cust_contact
-% : $quotation->prospect_main->contact;
-% foreach my $contact ( @contact ) {
+% my @X_contact = $quotation->custnum
+% ? $quotation->cust_main->cust_contact
+% : $quotation->prospect_main->prospect_contact;
+% foreach my $X_contact ( @X_contact ) {
+% my $contact = $X_contact->contact;
% foreach my $contact_email ( $contact->contact_email ) {
% $emails++;
<& .emailrow, $contact_email->emailaddress, $contact->firstlast &>