FIX: cuotas en pie
This commit is contained in:
@ -177,6 +177,14 @@ GROUP BY p1.`fecha`, v1.`descripcion`
|
||||
ORDER BY p1.`fecha`, v1.`descripcion`";
|
||||
return $this->fetchAsArray($query);
|
||||
}
|
||||
public function fetchByPie(int $pie_id): array
|
||||
{
|
||||
$query = $this->connection->getQueryBuilder()
|
||||
->select()
|
||||
->from($this->getTable())
|
||||
->where('pie = ?');
|
||||
return $this->fetchMany($query, [$pie_id]);
|
||||
}
|
||||
public function fetchVigenteByPie(int $pie_id): array
|
||||
{
|
||||
$query = "SELECT a.*
|
||||
|
Reference in New Issue
Block a user