From: Janusz Dobrowolski Date: Wed, 5 Nov 2008 22:29:58 +0000 (+0000) Subject: Fixed multiply sales document view link generation. X-Git-Tag: v2.4.2~19^2~1797 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c5ea8220cbcdc1c60fdf60d9a045ae3eada78041;p=fa-stable.git Fixed multiply sales document view link generation. --- diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index 1cd30802..6c246f53 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -87,6 +87,7 @@ function get_customer_trans_view_str($type, $trans_no, $label="") $lbl = $label; $preview_str = ''; + foreach($trans_no as $trans) { if ($label == "") $lbl = $trans; @@ -96,7 +97,7 @@ function get_customer_trans_view_str($type, $trans_no, $label="") if ($viewer != "") { $pars = access_string($lbl); - $preview_str = "$pars[0]"; + $preview_str .= "$pars[0]"; } else $preview_str .= $lbl;