function countPurgeReceiptList() { $collectionRecords = new CollectionRecords(); $condition = "WHERE status='' AND amountPaid <=0"; if (!($ret = $collectionRecords->countRecords($condition))) { $ret = 0; } return $ret; }
function getCollectionCount($condition = "") { $collectionRecords = new CollectionRecords(); return $collectionRecords->countRecords($condition); }