function gl_view($row)
{
+ if ($row['type'] == ST_SUPPRECEIVE && get_voided_entry(ST_SUPPRECEIVE, $row['trans_no']))
+ return set_icon(ICON_REMOVE, _("Voided."));
return get_gl_view_str($row["type"], $row["trans_no"]);
}
table_header($th);
while ($myrow = db_fetch($grns_result))
{
+ if (get_voided_entry(ST_SUPPRECEIVE, $myrow['id']))
+ continue;
alt_table_row_color($k);
label_cell(get_trans_view_str(ST_SUPPRECEIVE,$myrow["id"]));
table_header($th);
while ($myrow = db_fetch($invoice_result))
{
+ if (get_voided_entry($myrow["type"],$myrow["trans_no"]))
+ continue;
alt_table_row_color($k);
label_cell(get_trans_view_str($myrow["type"],$myrow["trans_no"]));