Use internal linke
This commit is contained in:
parent
c2a86e71be
commit
619df7bf23
@ -850,6 +850,7 @@ if ($action == "valid" || $action == "history" || $action == 'creditnote') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
@ -1009,7 +1010,7 @@ function DolibarrTakeposPrinting(id) {
|
|||||||
console.log("DolibarrTakeposPrinting Printing invoice ticket " + id)
|
console.log("DolibarrTakeposPrinting Printing invoice ticket " + id)
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "<?php print dol_buildpath('/takepos/ajax/ajax.php', 1).'?action=printinvoiceticket&term='.$_SESSION["takeposterminal"].'&id='; ?>" + id,
|
url: "<?php print DOL_URL_ROOT.'/takepos/ajax/ajax.php?action=printinvoiceticket&term='.$_SESSION["takeposterminal"].'&id='; ?>" + id,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user