| ".$tt." |
".$row["AA_ACTYPE"].",".$row["AA_TYPE"]." |
".$row["AA_ACNO"]." ";
if($AC_STATUS=="Completed") echo "AC Completed"; else echo "Transact | ";
echo"
".$row["AA_NAME"]." |
".$row["AA_DATE"]." |
".$row["AA_MATURE_VALUE"]." |
".$row["AA_PHONE"]." |
".$row["AA_BAL"]. " |
".$row["AA_NO_OF_PAYMENT"]." |
".$no_paid_inst." |
".$ExpectedInstallment." |
".$row["AA_INSTALLMENT"]." | ";
//".$due_i." | "; //".$DueAmount." | ";
if ($due_i < 0) {
$due_amount = $due_i * $row["AA_INSTALLMENT"];
echo "".$due_amount." | ";
}
else {
$due_amount = 'All Clear';
echo "".$due_amount." | ";
}
// if ($due_i < 0 && $type == "Recurring") {
// $due_amount = $due_i * $row["AA_INSTALLMENT"];
// $due_amount = (($due_amount) * 20)/100;
// echo "".$due_amount." | ";
// }
// elseif ($due_i < 0 && $type == "Loan") {
// $due_amount = $due_i * $row["AA_INSTALLMENT"];
// $due_amount = (($due_amount) * 40)/100;
// echo "".$due_amount." | ";
// }
// else {
// $due_amount = 'Up to Date!!';
// echo "".$due_amount." | ";
// }
echo "
";
}
} else {
echo "0 results";
};
$conn->close();
echo '