[* $dataref = $param[0]; $site_url = $param[1]; $recarr = $param[2]; $network_id = $param[3]; $status = $dataref->{status}; $escmode = 0; *] [+ $dataref->{HEADER} +] [+ $dataref->{leftNavNetwork} +] [* $statuscombo = ''; if($status eq 'A') { $statuscombo = ''; } elsif($status eq 'R') { $statuscombo = ''; } else { $statuscombo = ''; } $statuscombo = ''; *]
 
[+ $dataref->{title}+]
 
[+ $statuscombo +]  
[* if($dataref->{reporttype} ne 'F' && $status eq 'R' && defined($recarr)) { *]
[* foreach $ha (@$recarr) { *] [* } *]
Reason Count Action
[+$ha->{REJECT_REASON}+] [+$ha->{CNT}+]         
 
[* } else{ *]
 
[* $html = ''; $count = 0; foreach $ha (@$recarr) { $url_region = ''; $biz_type = ''; $tot_cnt = $ha->{CNT}; if($ha->{URL_REGION} eq 'IN') { $url_region = 'India'; } elsif($ha->{URL_REGION} eq 'CN') { $url_region = 'China'; } elsif($ha->{URL_REGION} eq 'ROW') { $url_region = 'Rest Of the World'; } elsif($ha->{URL_REGION} eq 'NA') { $url_region = ''; } if($ha->{URL_BIZ_TYPE} eq 'M') { $biz_type = 'Manufacturer'; } elsif($ha->{URL_BIZ_TYPE} eq 'T') { $biz_type = 'Trader'; } elsif($ha->{URL_BIZ_TYPE} eq 'S') { $biz_type = 'Service Provider'; } $count++; if($status) { if($ha->{STATUS} eq 'A') { $html .= ' '.$ha->{RN}.' '.$ha->{SCREENING_ID}.' '.$ha->{URL}.' Accepted '.$url_region.' '.$biz_type.' '; } elsif($ha->{STATUS} eq 'R') { $html .= ' '.$ha->{RN}.' '.$ha->{SCREENING_ID}.' '.$ha->{URL}.' Rejected '.$ha->{REJECT_REASON}.' '; } } else { if($ha->{STATUS} eq 'A') { $html .= ' '.$ha->{RN}.' '.$ha->{SCREENING_ID}.' '.$ha->{URL}.' Accepted '.$url_region.' '.$biz_type.'   '; } elsif($ha->{STATUS} eq 'R') { $html .= ' '.$ha->{RN}.' '.$ha->{SCREENING_ID}.' '.$ha->{URL}.' Rejected '.$url_region.'   '.$ha->{REJECT_REASON}.' '; } } } *] [* if($html ne '') { $exthtml = ''; if($status eq 'A') { $exthtml = 'Country Business Type'; } elsif($status eq 'R') { $exthtml = 'Reject Reason'; } else { $exthtml = 'Country Business TypeReject Reason'; } *] [* $My_full_cnt = $tot_cnt; $tot_cnt=int($tot_cnt*.1)+1 if($dataref->{search_opt} eq 'opt2'); $My_tot_cnt = $tot_cnt; if ($dataref->{page_id} > 0 && $dataref->{page_id} % 10 ==1) { $cnt=($dataref->{page_id} - ($dataref->{page_id} % 10))+1; $tot_cnt=($My_tot_cnt - ($dataref->{page_id}-1)*100) } elsif ($dataref->{page_id} > 10 && $dataref->{page_id} % 10 > 1) { $cnt=($dataref->{page_id} - ($dataref->{page_id} % 10))+1; $tot_cnt=($My_tot_cnt - ($cnt-1)*100) } else { $cnt=1; } if($tot_cnt > 10) { *] [* } *] [+ $exthtml +] [+ $html +]
S. No. ID URL Status
[* } else { *] Record Not Found. [* } } *]
 
 
 
[+ $dataref->{FOOTER} +]