Cleanup por recomendaciones

This commit is contained in:
Juan Pablo Vial
2025-03-03 16:37:40 -03:00
parent 928d2e57be
commit 095a65a643
12 changed files with 24 additions and 13 deletions

View File

@ -114,6 +114,12 @@ WHERE venta_id = ?";
->where('valor = ? OR ROUND(valor/uf, 3) = ?');
return $this->fetchMany($query, [$value, $value]);
}
/**
* @param int $venta_id
* @return Model\Venta\Pago
* @throws Implement\Exception\EmptyResult
*/
public function fetchDevolucionByVenta(int $venta_id): Model\Venta\Pago
{
$query = $this->connection->getQueryBuilder()