X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fsales_order_entry.php;h=0be40be192d550ea2c47bef218ae0ca5b74feac2;hb=96f82e64b766fa59a3ebc3176e4efd17736f6878;hp=a2e8f020c11976ebeec634e8cd97da839230ea5e;hpb=7e830126b96477e969fe3b48d9fc0e78f6c1fe00;p=fa-stable.git diff --git a/sales/sales_order_entry.php b/sales/sales_order_entry.php index a2e8f020..0be40be1 100644 --- a/sales/sales_order_entry.php +++ b/sales/sales_order_entry.php @@ -88,6 +88,11 @@ if (isset($_GET['NewDelivery']) && is_numeric($_GET['NewDelivery'])) { page($_SESSION['page_title'], false, false, "", $js); +if (isset($_GET['ModifyOrderNumber'])) + check_is_editable(ST_SALESORDER, $_GET['ModifyOrderNumber']); +elseif (isset($_GET['ModifyQuotationNumber'])) + check_is_editable(ST_SALESQUOTE, $_GET['ModifyQuotationNumber']); + //----------------------------------------------------------------------------- if (list_updated('branch_id')) {