echo "<tr><td colspan=15>";
while ($comment = db_fetch($comments))
{
- echo $comment["memo_"] . "<br>";
+ echo nl2br($comment["memo_"]) . "<br>";
}
echo "</td></tr>";
}
$order->credit = get_current_supp_credit($order->supplier_id);
$order->orig_order_date = sql2date($myrow["ord_date"]);
- $order->Comments = $myrow["comments"];
+ $order->Comments = nl2br($myrow["comments"]);
$order->Location = $myrow["into_stock_location"];
$order->supp_ref = $myrow["requisition_no"];
$order->reference = $myrow["reference"];
label_row(_("Telephone"), $_SESSION['View']->phone, "class='tableheader2'", "colspan=3");
label_row(_("E-mail"), "<a href='mailto:" . $_SESSION['View']->email . "'>" . $_SESSION['View']->email . "</a>",
"class='tableheader2'", "colspan=3");
-label_row(_("Comments"), $_SESSION['View']->Comments, "class='tableheader2'", "colspan=3");
+label_row(_("Comments"), nl2br($_SESSION['View']->Comments), "class='tableheader2'", "colspan=3");
end_table();
if ($_GET['trans_type'] != ST_SALESQUOTE)