Fixed email sending links to use ajax.
[fa-stable.git] / sales / sales_order_entry.php
index 32e5c3b5f021862b96d7ac3911b11b22735cc1e5..5f6da084bc25864f55c9c75bd71f95cf9fb70530 100644 (file)
@@ -431,7 +431,7 @@ function check_item_data()
        global $SysPrefs;
        
        if(!get_post('stock_id_text', true)) {
-               display_error( _("Item description cnnot be empty."));
+               display_error( _("Item description cannot be empty."));
                set_focus('stock_id_edit');
                return false;
        }
@@ -653,7 +653,7 @@ $customer_error = display_order_header($_SESSION['Items'],
        ($_SESSION['Items']->any_already_delivered() == 0), $idate);
 
 if ($customer_error == "") {
-       start_table("$table_style width=80%", 10);
+       start_table(TABLESTYLE, "width=80%", 10);
        echo "<tr><td>";
        display_order_summary($orderitems, $_SESSION['Items'], true);
        echo "</td></tr>";