X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_delivery.php;h=ae077419e07c752119f5500a454244c53d6d002f;hb=ad96cd0abbfd826592b851b8e0cb6d89e450fdf4;hp=d87c165a0d3e7f025f77455f7090fc5f2c04a7ff;hpb=818719f38b8327cdca616d58b13913dbd174d96a;p=fa-stable.git diff --git a/sales/customer_delivery.php b/sales/customer_delivery.php index d87c165a..ae077419 100644 --- a/sales/customer_delivery.php +++ b/sales/customer_delivery.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ //----------------------------------------------------------------------------- // @@ -373,6 +373,14 @@ end_table(); echo ""; end_table(1); // outer table +$row = get_customer_to_order($_SESSION['Items']->customer_id); +if ($row['dissallow_invoices'] == 1) +{ + display_error(_("The selected customer account is currently on hold. Please contact the credit control personnel to discuss.")); + end_form(); + end_page(); + exit(); +} display_heading(_("Delivery Items")); div_start('Items'); start_table("$table_style width=80%");