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

@ -58,6 +58,12 @@ class Credito extends Ideal\Repository
->where('pago = ?');
return $this->fetchOne($query, [$pago_id]);
}
/**
* @param int $venta_id
* @return Model\Venta\Credito
* @throws Implement\Exception\EmptyResult
*/
public function fetchByVenta(int $venta_id): Model\Venta\Credito
{
$query = $this->connection->getQueryBuilder()