projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
suspend event option to skip packages with a start_date, RT#83847
[freeside.git]
/
httemplate
/
view
/
quotation.html
diff --git
a/httemplate/view/quotation.html
b/httemplate/view/quotation.html
index
644d28f
..
0e3e8b3
100755
(executable)
--- a/
httemplate/view/quotation.html
+++ b/
httemplate/view/quotation.html
@@
-1,5
+1,4
@@
<& /elements/header.html, mt('Quotation View'), $menubar &>
<& /elements/header.html, mt('Quotation View'), $menubar &>
-
<& /elements/init_overlib.html &>
<SCRIPT TYPE="text/javascript">
<& /elements/init_overlib.html &>
<SCRIPT TYPE="text/javascript">
@@
-9,6
+8,14
@@
function areyousure(href, message) {
}
</SCRIPT>
}
</SCRIPT>
+% if ( $quotation->custnum ) {
+ <h2>Quotation #<% $quotationnum %>
+% if ($quotation->quotation_description) {
+ (<% $quotation->quotation_description |h %>)
+% }
+ </h2>
+% }
+
% unless ( $quotation->disabled eq 'Y' ) {
% my $inrow = 0;
% unless ( $quotation->disabled eq 'Y' ) {
% my $inrow = 0;
@@
-63,7
+70,9
@@
function areyousure(href, message) {
<BR><BR>
% if ( $curuser->access_right('New customer') && $quotation->quotation_pkg ) {
<BR><BR>
% if ( $curuser->access_right('New customer') && $quotation->quotation_pkg ) {
+% # if we end up with more than one option, combine these links and add an interstitial screen
<A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>">Place order</A>
<A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>">Place order</A>
+ | <A HREF="<%$p%>edit/process/quotation_convert.html?quotationnum=<% $quotation->quotationnum %>&onhold=1">Order on hold</A>
<BR><BR>
% }
<BR><BR>
% }
@@
-95,7
+104,7
@@
function areyousure(href, message) {
</TR>
% }
% if (length($confidence)) {
</TR>
% }
% if (length($confidence)) {
-<TR><TH STYLE="text-align: right;">Confidence:</TH><TD><% $confidence %></TD></TR>
+<TR><TH STYLE="text-align: right;">Confidence:</TH><TD><% $confidence %>
%
</TD></TR>
% }
</TABLE>
% }
% }
</TABLE>
% }
@@
-112,7
+121,7
@@
function areyousure(href, message) {
my $curuser = $FS::CurrentUser::CurrentUser;
my $curuser = $FS::CurrentUser::CurrentUser;
-#die "access denied"
+#die "access denied"
;
# unless $curuser->access_right('View quotations');
my $can_generate_quotation = $curuser->access_right('Generate quotation');
# unless $curuser->access_right('View quotations');
my $can_generate_quotation = $curuser->access_right('Generate quotation');