projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Chenaged api for inserted columns
[fa-stable.git]
/
includes
/
ui
/
ui_view.inc
diff --git
a/includes/ui/ui_view.inc
b/includes/ui/ui_view.inc
index 1cd30802b0be9e0b44ce1fdd1d8bcf87d64070cb..6c246f53e9b0e7e04ba8632272fa02aae50b28cc 100644
(file)
--- 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 = '';
$lbl = $label;
$preview_str = '';
+
foreach($trans_no as $trans) {
if ($label == "")
$lbl = $trans;
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);
if ($viewer != "")
{
$pars = access_string($lbl);
- $preview_str = "<a target='_blank' href='$path_to_root/sales/view/$viewer?trans_no=$trans' onclick=\"javascript:openWindow(this.href,this.target); return false;\" $pars[1]>$pars[0]</a>";
+ $preview_str
.
= "<a target='_blank' href='$path_to_root/sales/view/$viewer?trans_no=$trans' onclick=\"javascript:openWindow(this.href,this.target); return false;\" $pars[1]>$pars[0]</a>";
}
else
$preview_str .= $lbl;
}
else
$preview_str .= $lbl;