Merged changes from main trunk up to 2.2.7
[fa-stable.git] / sales / customer_delivery.php
index 82ae32a008f34c221a1cc6a14cd69756374ad8f2..c263ea06c510e5cf5b55c3864b1b1bc08225afaa 100644 (file)
@@ -377,7 +377,9 @@ start_table("$table_style width=90%");
 if (!isset($_POST['due_date']) || !is_date($_POST['due_date'])) {
        $_POST['due_date'] = get_invoice_duedate($_SESSION['Items']->payment, $_POST['DispatchDate']);
 }
-date_row(_("Invoice Dead-line"), 'due_date', '', null, 0, 0, 0, "class='tableheader2'");
+start_row();
+date_cells(_("Invoice Dead-line"), 'due_date', '', null, 0, 0, 0, "class='tableheader2'");
+end_row();
 end_table();
 
 echo "</td></tr>";