X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fquotation.html;h=7221d53cd7d41a02d5c2bfd9c625e625d0c474cc;hb=e215fc213a1eb9a3365cecf5ce82f1a58f154cd6;hp=81c7cdd7b92e0bd7964cf66cb0006994e08efee6;hpb=03c12b4dabfcaabc218f39ee13557edebc13931d;p=freeside.git
diff --git a/httemplate/view/quotation.html b/httemplate/view/quotation.html
index 81c7cdd7b..7221d53cd 100755
--- a/httemplate/view/quotation.html
+++ b/httemplate/view/quotation.html
@@ -11,15 +11,36 @@ function areyousure(href, message) {
% unless ( $quotation->disabled eq 'Y' ) {
+% my $inrow = 0;
% 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 )
&>
-
+% $inrow++;
+% }
+
+% if ( $curuser->access_right('One-time charge') ) {
+ <% $inrow ? ' | ' : '' %>
+% my $query = 'quotationnum=' . $quotation->get('quotationnum');
+% if ($quotation->custnum) {
+% $query .= ';custnum=' . $quotation->custnum;
+% } else {
+% $query .= ';prospectnum=' . $quotation->prospectnum;
+% }
+ <% emt('One-time charge') %>
+% $inrow++;
% }
+% if ( $can_generate_quotation ) {
+ <% $inrow ? ' | ' : '' %>
+ Edit quotation fields
+% $inrow++;
+% }
+
+ <% $inrow ? '
' : '' %>
+
% if ( 1 ) { #if ( $curuser->access_right('Send quotations') )
<& /elements/popup_link.html,
@@ -66,6 +87,25 @@ function areyousure(href, message) {
% }
+% if ( $error ) {
+
Close Date: | +<% time2str($conf->config('date_format') || '%m/%d/%Y',$close_date) %> | +
---|---|
Confidence: | <% $confidence %>% |