X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_invoice.php;h=152ca1e58e76c630397a78bdbae963d827f32400;hb=aba8836338d2bc58328f3e5a1862bc845500aaf3;hp=c4ef21f14f155942d7d682b7fcea2cf082c09ba5;hpb=c356acfd88575bc518efdb9fb77e0a6b6c645eec;p=fa-stable.git diff --git a/sales/customer_invoice.php b/sales/customer_invoice.php index c4ef21f1..152ca1e5 100644 --- a/sales/customer_invoice.php +++ b/sales/customer_invoice.php @@ -128,7 +128,7 @@ if ( (isset($_GET['DeliveryNumber']) && ($_GET['DeliveryNumber'] > 0) ) } elseif (isset($_GET['ModifyInvoice']) && $_GET['ModifyInvoice'] > 0) { - if ( get_parent_trans(ST_SALESINVOICE, $_GET['ModifyInvoice']) == 0) { // 1.xx compatibility hack + if ( get_sales_parent_numbers(ST_SALESINVOICE, $_GET['ModifyInvoice']) == 0) { // 1.xx compatibility hack echo"