From 14e9d4f4927bb71ab3ca6f368fb11f0e40cf1bf9 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Tue, 11 Jul 2017 16:52:02 -0400 Subject: RT# 74666 - updated some UI and description field location. Conflicts: httemplate/search/quotation.html --- httemplate/elements/quotations.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/quotations.html b/httemplate/elements/quotations.html index a6dd373a7..1c737afa7 100644 --- a/httemplate/elements/quotations.html +++ b/httemplate/elements/quotations.html @@ -10,10 +10,12 @@ % my $bgcolor = ''; # - <% mt('Date') |h %> <% mt('Setup') |h %> <% mt('Recurring') |h %> + <% mt('Date') |h %> <% mt('Description') |h %> + <% mt('Close date') |h %> + <% mt('Confidence') |h %> % foreach my $quotation (@quotations) { @@ -26,10 +28,12 @@ % $quotation->quotationnum. '">'; <% $a %><% $quotation->quotationnum %> - <% $a %><% time2str($date_format, $quotation->_date) |h %> - <% $a %><% $quotation->total_setup |h %> - <% $a %><% $quotation->total_recur |h %> + <% $a %><% $money_char.$quotation->total_setup |h %> + <% $a %><% $money_char.$quotation->total_recur |h %> + <% $a %><% time2str('%b %d %Y', $quotation->_date) |h %> <% $a %><% $quotation->quotation_description |h %> + <% $a %><% $quotation->close_date ? time2str('%b %d %Y', $quotation->close_date) : '' |h %> + <% $a %><% length($quotation->confidence) ? $quotation->confidence . '%' : '' |h %> <% $opt{convert_label} || 'Convert to customer' %> % } @@ -47,6 +51,8 @@ my $curuser = $FS::CurrentUser::CurrentUser; my $conf = new FS::Conf; +my $money_char = $conf->config('money_char') || '$'; + my $date_format = $conf->config('date_format') || '%m/%d/%Y'; my %opt = @_; -- cgit v1.2.1