X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fvoid_transaction.php;h=3016e88d9bf2643dfffe35eaa487ac10109be939;hb=f8e530e76327a6e95854d7a46504c2eb977ae43e;hp=f490cb237fe8b195e6073e39e3b927bdd0ab19a1;hpb=480e5f57b0cd2f439b0f8f8ea7cfe9f630b8b4e9;p=fa-stable.git diff --git a/admin/void_transaction.php b/admin/void_transaction.php index f490cb23..3016e88d 100644 --- a/admin/void_transaction.php +++ b/admin/void_transaction.php @@ -73,7 +73,7 @@ function exist_transaction($type, $type_no) return false; case ST_SUPPRECEIVE : // it's a GRN - if (exists_grn($type_no)) + if (!exists_grn($type_no)) return false; break;