X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fqual.cgi;fp=httemplate%2Fview%2Fqual.cgi;h=6998b8541ce7ea7a96c0afed7f9e428cf0aaef7e;hb=3dfc446d8a4d241787c47ff7e2db72483d62ab7a;hp=a0768c3ac7859c197c7b225fd26114d904a7c2db;hpb=b1011034b084a90c07c7199f5e64cdee7cdd199f;p=freeside.git
diff --git a/httemplate/view/qual.cgi b/httemplate/view/qual.cgi
index a0768c3ac..6998b8541 100644
--- a/httemplate/view/qual.cgi
+++ b/httemplate/view/qual.cgi
@@ -1,14 +1,17 @@
<% include("/elements/header.html","View Qualification") %>
-% if ( $cust_or_prospect->get('custnum') ) {
+% if ( $cust_or_prospect->custnum ) {
- <% include( '/elements/small_custview.html', $cust_or_prospect->custnum, '', 1,
- "${p}view/cust_main.cgi") %>
+ <% include( '/elements/small_custview.html', $cust_or_prospect,
+ '', #countrydefault override
+ 1, #no balance
+ "${p}view/cust_main.cgi"), #url
+ %>
+
+% } elsif ( $cust_or_prospect->prospectnum ) {
+
+ <% include( '/elements/small_prospect_view.html', $cust_or_prospect) %>
-% } elsif ( $cust_or_prospect->get('prospectnum') ) {
-% my $prospectnum = $cust_or_prospect->get('prospectnum');
-% my $link = "${p}view/prospect_main.html?$prospectnum";
- Prospect #<%$prospectnum%>
% }
@@ -28,40 +31,46 @@
% if ( $export ) {
-% my $qual_result = $export->qual_result($qual);
-% if ($qual_result->{'header'}) {
- <% $qual_result->{'header'} %>
-% }
-% if ($qual_result->{'pkglist'}) { # one of the possible formats
-% my $svcpart = '';
-% my $pkglist = $qual_result->{'pkglist'};
-% my $cust_or_prospect = $qual->cust_or_prospect;
-% my $locationnum = '';
-% my %location = $qual->location_hash;
-% if (%location && $location{'locationnum'}) {
-% $locationnum = $location{'locationnum'};
-% }
-