mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 08:56:48 +01:00
Fix selezione aliq. iva in fase di import fatture di acquisto
This commit is contained in:
parent
bf8c108121
commit
e83d30d915
@ -302,7 +302,7 @@ if (!empty($righe)) {
|
||||
$query = "SELECT id, IF(codice IS NULL, descrizione, CONCAT(codice, ' - ', descrizione)) AS descrizione FROM co_iva WHERE percentuale = ".prepare($riga['AliquotaIVA']);
|
||||
|
||||
if (!empty($riga['Natura'])) {
|
||||
$query .= ' AND codice_natura_fe = '.prepare($riga['Natura']);
|
||||
$query .= ' AND deleted_at IS NULL AND codice_natura_fe = '.prepare($riga['Natura']);
|
||||
}
|
||||
|
||||
$query .= ' ORDER BY descrizione ASC';
|
||||
|
Loading…
x
Reference in New Issue
Block a user