mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix list current ticket in takepos with multicompany
This commit is contained in:
@@ -1018,7 +1018,7 @@ $( document ).ready(function() {
|
||||
|
||||
<?php
|
||||
$sql = "SELECT rowid, datec, ref FROM ".MAIN_DB_PREFIX."facture";
|
||||
$sql .= " WHERE ref LIKE '(PROV-POS".$_SESSION["takeposterminal"]."-0%'";
|
||||
$sql .= " WHERE ref LIKE '(PROV-POS".$_SESSION["takeposterminal"]."-0%' AND entity IN (".getEntity('invoice').")";
|
||||
$sql .= $db->order('datec', 'ASC');
|
||||
$resql = $db->query($sql);
|
||||
if ($resql) {
|
||||
@@ -1400,4 +1400,4 @@ if ($action == "search")
|
||||
</center>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
print '</div>';
|
||||
|
||||
Reference in New Issue
Block a user