From: Joe Hunt Date: Fri, 27 Jan 2012 08:39:15 +0000 (+0100) Subject: Switching to cash sales in documents didn't preserve the delivery date. X-Git-Tag: 2.3-final~492 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=263aed54b40eff8d3dbf2a5b2d1c86a8106ae548;p=fa-stable.git Switching to cash sales in documents didn't preserve the delivery date. --- diff --git a/sales/includes/ui/sales_order_ui.inc b/sales/includes/ui/sales_order_ui.inc index 27242928..c9e63a15 100644 --- a/sales/includes/ui/sales_order_ui.inc +++ b/sales/includes/ui/sales_order_ui.inc @@ -588,6 +588,7 @@ function display_delivery_details(&$order) label_row(_("Cash account:"), $order->pos['bank_account_name']); textarea_row(_("Comments:"), "Comments", $order->Comments, 31, 5); end_table(); + hidden('delivery_date', $order->due_date); } else { if ($order->trans_type==ST_SALESINVOICE) {