- if ($change_prices != 0) {
- foreach ($order->line_items as $line_no=>$item) {
- $line = &$order->line_items[$line_no];
- $line->price = get_price($line->stock_id, $order->customer_currency,
- $order->sales_type, $order->price_factor, $order->document_date);
- // $line->discount_percent = $order->default_discount;
- }
- }
-
- echo "<table height='5'>";
- if($editable)
- sales_types_list_row(_("Price List"), 'sales_type', $_POST['sales_type'], true);
- else {
- label_row(_("Price List:"), $order->sales_type_name);
- }