X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fsupplier_credit.php;fp=purchasing%2Fsupplier_credit.php;h=fdd04dd912666520fb366e00f4d467285754abb7;hb=96f82e64b766fa59a3ebc3176e4efd17736f6878;hp=e4805768230b53374c9aa4566b118ba7f3e63996;hpb=7e830126b96477e969fe3b48d9fc0e78f6c1fe00;p=fa-stable.git diff --git a/purchasing/supplier_credit.php b/purchasing/supplier_credit.php index e4805768..fdd04dd9 100644 --- a/purchasing/supplier_credit.php +++ b/purchasing/supplier_credit.php @@ -31,7 +31,7 @@ if ($use_date_picker) check_db_has_suppliers(_("There are no suppliers defined in the system.")); if (isset($_GET['ModifyCredit'])) - check_is_closed(ST_SUPPINVOICE, $_GET['ModifyCredit']); + check_is_editable(ST_SUPPINVOICE, $_GET['ModifyCredit']); //---------------------------------------------------------------------------------------------------