Add contextpage to open popup to change customers
This commit is contained in:
parent
3de82ad345
commit
396e79199c
@ -1007,7 +1007,7 @@ while ($i < min($num, $limit))
|
||||
|
||||
$companystatic->fk_prospectlevel=$obj->fk_prospectlevel;
|
||||
|
||||
print '<tr class="oddeven" onclick="location.href=\'customers.php?action=change&idcustomer='.$obj->rowid.'&place='.$place.'\'">';
|
||||
print '<tr class="oddeven" onclick="location.href=\'customers.php?action=change&contextpage=poslist&idcustomer='.$obj->rowid.'&place='.$place.'\'">';
|
||||
if (! empty($arrayfields['s.rowid']['checked']))
|
||||
{
|
||||
print '<td class="tdoverflowmax50">';
|
||||
|
||||
@ -278,7 +278,7 @@ function deleteline() {
|
||||
}
|
||||
|
||||
function Customer() {
|
||||
$.colorbox({href:"customers.php?nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"<?php echo $langs->trans("Customer");?>"});
|
||||
$.colorbox({href:"customers.php?contextpage=poslist&nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"<?php echo $langs->trans("Customer");?>"});
|
||||
}
|
||||
|
||||
function CloseBill() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user