Some smaller and compatibility fixes - see CHANGELOG.txt
[fa-stable.git] / sales / customer_invoice.php
index 51c38d2fad729cebed7a8d8d4addececdfecc8cc..fb726cd01734441a6a3bfc0b4b612ddd2491589b 100644 (file)
@@ -277,12 +277,7 @@ if ($_SESSION['Items']->trans_no == 0) {
 label_cells(_("Delivery Notes:"),
 get_customer_trans_view_str(systypes::cust_dispatch(), array_keys($_SESSION['Items']->src_docs)), "class='tableheader2'");
 
-if (!isset($_POST['sales_type_id'])) {
-       $_POST['sales_type_id'] = $_SESSION['Items']->default_sales_type;
-}
-
-label_cell(_("Sales Type"), "class='tableheader2'");
-sales_types_list_cells(null, 'sales_type_id', $_POST['sales_type_id']);
+label_cells(_("Sales Type"), $_SESSION['Items']->sales_type_name, "class='tableheader2'");
 
 end_row();
 start_row();