This commit is contained in:
Juan Pablo Vial
2025-03-03 14:57:22 -03:00
parent d165440483
commit 8f16f33a1e
56 changed files with 749 additions and 105 deletions

View File

@ -37,6 +37,11 @@ class Credito extends Ideal\Repository
return $this->update($model, ['banco', 'valor', 'fecha', 'uf', 'abonado', 'fecha_abono', 'pago'], $new_data);
}
/**
* @param int $value
* @return array
* @throws Implement\Exception\EmptyResult
*/
public function fetchByValue(int $value): array
{
$query = $this->connection->getQueryBuilder()