From 8f89376bceb710bceb8d2d3b9dd7fe24e7d47cf3 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Wed, 4 Jul 2012 18:49:00 -0700 Subject: quotations, RT#16996 --- httemplate/view/quotation.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'httemplate/view/quotation.html') 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 -% 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 ) + &> +% } - <% mt('View typeset quotation PDF') |h %> +% if ( $conf->exists('quotation_latex') ) { + | <% mt('View typeset quotation PDF') |h %>

% } -- cgit v1.2.1