[* $dataref = $param[0]; $site_url = $param[1]; $recarr = $param[2]; $escmode = 0; *] [+ $dataref->{HEADER} +] [+ $dataref->{leftNavNetwork} +]
 

[+$dataref->{title}+]

 
Search [+ $dataref->{vendor_combo} +] Month [+ $dataref->{monthscombo} +]
 
[* $html = ''; $rowcnt = 0; foreach $ha (@$recarr) { $html .= qq~ $ha->{VENDOR_PAYOUT_ID} $ha->{VENDOR_FULLNAME}~; if($ha->{PAYOUT_BASIC_AMOUNT}) { $ha->{PAYOUT_BASIC_AMOUNT} = sprintf "%.2f", $ha->{PAYOUT_BASIC_AMOUNT}; } else { $ha->{PAYOUT_BASIC_AMOUNT} = 0; } if($ha->{PAYOUT_BONUS_AMOUNT}) { $ha->{PAYOUT_BONUS_AMOUNT} = sprintf "%.2f", $ha->{PAYOUT_BONUS_AMOUNT}; } else { $ha->{PAYOUT_BONUS_AMOUNT} = 0; } if($ha->{PAYOUT_TOTAL_AMOUNT}) { $ha->{PAYOUT_TOTAL_AMOUNT} = sprintf "%.2f", $ha->{PAYOUT_TOTAL_AMOUNT}; } else { $ha->{PAYOUT_TOTAL_AMOUNT} = 0; } $html .= qq~$ha->{PAYOUT_BASIC_AMOUNT} $ha->{PAYOUT_BONUS_AMOUNT} $ha->{PAYOUT_TOTAL_AMOUNT} $ha->{PAYMODE} $ha->{PAYOUT_REFERENCE} $ha->{PAYOUT_TILLDATE} $ha->{PAYOUT_DATE} ~; $rowcnt++; } *] [* if($html ne '') { *]

[+ $html +]
  PID Vendor Name Amount Pay By Reference PayOut
Basic Bonus Paid Till Date On Date
[* } else { *] Record Not Found. [* } *]
 
[+ $dataref->{FOOTER} +]