From f92a083465019a7224d912cd78b6881f8aef1b52 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 18 Jan 2015 19:43:48 -0800 Subject: one-time charges on quotations, RT#25561 --- httemplate/view/quotation.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'httemplate/view/quotation.html') diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html index 81c7cdd7b..bd998bb91 100755 --- a/httemplate/view/quotation.html +++ b/httemplate/view/quotation.html @@ -17,9 +17,15 @@ function areyousure(href, message) { 'actionlabel' => emt('Add package'), map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum ) &> -

% } +% if ( $curuser->access_right('One-time charge') ) { + | <& /elements/one_time_charge_link.html, + map { $_ => $quotation->$_ } qw( quotationnum custnum prospectnum ) + &> +% } +

+ % if ( 1 ) { #if ( $curuser->access_right('Send quotations') ) <& /elements/popup_link.html, -- cgit v1.2.1