diff options
| author | Alex Brelsfoard <alex@freeside.biz> | 2015-02-10 00:11:07 -0500 |
|---|---|---|
| committer | Alex Brelsfoard <alex@freeside.biz> | 2015-02-10 00:11:07 -0500 |
| commit | ec7e8155fce544f19f2b6734476ed6db8c200aa9 (patch) | |
| tree | 8b336b67d075006b6fcbcaa110307cc2413f5554 /httemplate/misc | |
| parent | d422d2530bda9de3af830f1e1ab1084061b486f5 (diff) | |
| parent | 0238fd7aa7a92887970507346ac7e6ad8ed5492c (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc')
| -rw-r--r-- | httemplate/misc/email-quotation.html | 8 |
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 &> |
