db_query($sql, "could not update credit status");
}
-function get_all_credit_status()
+function get_all_credit_status($all=false)
{
$sql = "SELECT * FROM ".TB_PREF."credit_status";
-
+ if (!$all) $sql .= " WHERE !inactive";
+
return db_query($sql, "could not get all credit status");
}
db_query($sql, "could not delete credit status");
}
-?>
\ No newline at end of file