feature/grabar-factura #11

Merged
aldarien merged 14 commits from feature/grabar-factura into develop 2025-02-04 10:37:34 -03:00
14 changed files with 1417 additions and 1169 deletions
Showing only changes of commit ef46558040 - Show all commits

View File

@ -168,7 +168,7 @@ class Factura extends Ideal\Repository
$query = $this->connection->getQueryBuilder()
->select()
->from($this->getTable())
->where('venta_id = :venta_id AND index = :index');
->where('venta_id = :venta_id AND `index` = :index');
return $this->fetchOne($query, ['venta_id' => $venta_id, 'index' => $index]);
}
}