mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 17:07:01 +01:00
Revert "Fix filtro iva"
This reverts commit d8626ba2d3abec6d58477457e652b0ce8ec3fc53.
This commit is contained in:
parent
8694f95cff
commit
99269cab1a
@ -28,7 +28,7 @@ switch ($resource) {
|
||||
$query = 'SELECT id, IF( codice_natura_fe IS NULL, IF(codice IS NULL, descrizione, CONCAT(codice, " - ", descrizione)), CONCAT( IF(codice IS NULL, descrizione, CONCAT(codice, " - ", descrizione)), " (", codice_natura_fe, ")" ) ) AS descrizione, percentuale FROM co_iva |where| ORDER BY descrizione ASC';
|
||||
|
||||
foreach ($elements as $element) {
|
||||
$filter[] = '(deleted_at IS NULL OR id='.prepare($element).')';
|
||||
$filter[] = 'id='.prepare($element);
|
||||
}
|
||||
|
||||
if (!empty($search)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user