summaryrefslogtreecommitdiff
path: root/httemplate/view/quotation.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/view/quotation.html')
-rwxr-xr-xhttemplate/view/quotation.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html
index 866ade2c2..461b5dfb6 100755
--- a/httemplate/view/quotation.html
+++ b/httemplate/view/quotation.html
@@ -24,9 +24,16 @@ XXX resending quotations
</%doc>
-% if ( $conf->exists('quotation_latex') ) {
+% if ( $curuser->access_right('Order customer package') ) {
+ <& /elements/order_pkg_link.html,
+ 'label' => emt('Add package'),
+ 'actionlabel' => emt('Add package'),
+ map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum )
+ &>
+% }
- <A HREF="<% $p %>view/quotation-pdf.cgi?<% $link %>"><% mt('View typeset quotation PDF') |h %></A>
+% if ( $conf->exists('quotation_latex') ) {
+ | <A HREF="<% $p %>view/quotation-pdf.cgi?<% $link %>"><% mt('View typeset quotation PDF') |h %></A>
<BR><BR>
% }