summaryrefslogtreecommitdiff
path: root/httemplate/view/quotation.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-01-18 18:13:16 -0800
committerIvan Kohler <ivan@freeside.biz>2015-01-18 18:13:16 -0800
commit03c12b4dabfcaabc218f39ee13557edebc13931d (patch)
tree0d915cf9e2bbf278a48500b5d125206ab78477a2 /httemplate/view/quotation.html
parent0b6bd6405107c1abf8f2c5e2bc1b569870a02309 (diff)
email quotations, RT#22232, RT#20688
Diffstat (limited to 'httemplate/view/quotation.html')
-rwxr-xr-xhttemplate/view/quotation.html13
1 files changed, 10 insertions, 3 deletions
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html
index b8dc1d1f9..81c7cdd7b 100755
--- a/httemplate/view/quotation.html
+++ b/httemplate/view/quotation.html
@@ -1,5 +1,7 @@
<& /elements/header.html, mt('Quotation View'), $menubar &>
+<& /elements/init_overlib.html &>
+
<SCRIPT TYPE="text/javascript">
function areyousure(href, message) {
if (confirm(message) == true)
@@ -20,9 +22,14 @@ function areyousure(href, message) {
% if ( 1 ) { #if ( $curuser->access_right('Send quotations') )
-% #if ( grep { $_ ne 'POST' } $cust_bill->cust_main->invoicing_list ) {
-%# <A HREF="<% $p %>misc/email-quotation.html?<% $link %>"><% mt('Email this quotation') |h %></A>
-% #}
+ <& /elements/popup_link.html,
+ 'action' => "${p}misc/email-quotation.html".
+ "?quotationnum=$quotationnum",
+ 'label' => emt('Email this quotation'),
+ 'actionlabel' => emt('Select recipients'),
+ #'width' => 540,
+ #'height' => 336,
+ &>
%# <A HREF="<% $p %>misc/send-invoice.cgi?method=print;<% $link %>"><% mt('Re-print this invoice') |h %></A>