X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Fcustomer_delivery.php;h=8e5da8e8b8efa69c67045591a3fe1cb6a6fe2b02;hb=16ba695b81cd7283faa18372a74670415b562eb5;hp=6d30256e82f9f78cabb8eaab075f28426de84620;hpb=4c46982f2304821baa543f5afee617c90175c040;p=fa-stable.git diff --git a/sales/customer_delivery.php b/sales/customer_delivery.php index 6d30256e..8e5da8e8 100644 --- a/sales/customer_delivery.php +++ b/sales/customer_delivery.php @@ -36,7 +36,6 @@ page($_SESSION['page_title'], false, false, "", $js); if (isset($_GET['AddedID'])) { $dispatch_no = $_GET['AddedID']; - print_hidden_script(13); display_notification(_("Dispatch processed:") . ' '.$_GET['AddedID'], true); @@ -55,7 +54,6 @@ if (isset($_GET['AddedID'])) { } elseif (isset($_GET['UpdatedID'])) { $delivery_no = $_GET['UpdatedID']; - print_hidden_script(13); display_notification_centered(sprintf(_('Delivery Note # %d has been updated.'),$delivery_no)); @@ -88,6 +86,7 @@ if (isset($_GET['OrderNumber']) && $_GET['OrderNumber'] > 0) { $ord->order_no = key($ord->trans_no); $ord->trans_no = 0; $ord->reference = references::get_next(13); + $ord->document_date = Today(); $_SESSION['Items'] = $ord; copy_from_cart();