Update index.php

This commit is contained in:
ptibogxiv 2020-09-29 17:10:08 +02:00 committed by GitHub
parent 8bef390d60
commit 09f7220470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -424,7 +424,7 @@ function ClickProduct(position) {
function ChangeThirdparty(idcustomer) { function ChangeThirdparty(idcustomer) {
console.log("ChangeThirdparty"); console.log("ChangeThirdparty");
// Call page list.php to change customer // Call page list.php to change customer
$("#poslines").load("../societe/list.php?action=change&type=c&contextpage=poslist&idcustomer="+idcustomer+"&place="+place+"", function() { $("#poslines").load("../societe/list.php?action=change&type=t&contextpage=poslist&idcustomer="+idcustomer+"&place="+place+"", function() {
}); });
ClearSearch(); ClearSearch();
@ -440,7 +440,7 @@ function deleteline() {
function Customer() { function Customer() {
console.log("Open box to select the thirdparty place="+place); console.log("Open box to select the thirdparty place="+place);
$.colorbox({href:"../societe/list.php?type=c&contextpage=poslist&nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"<?php echo $langs->trans("Customer"); ?>"}); $.colorbox({href:"../societe/list.php?type=t&contextpage=poslist&nomassaction=1&place="+place, width:"90%", height:"80%", transition:"none", iframe:"true", title:"<?php echo $langs->trans("Customer"); ?>"});
} }
function History() function History()