Comparar glosa en mismo tamaño
This commit is contained in:
@ -75,7 +75,7 @@ class Movimiento extends Ideal\Repository
|
|||||||
$query = $this->connection->getQueryBuilder()
|
$query = $this->connection->getQueryBuilder()
|
||||||
->select()
|
->select()
|
||||||
->from($this->getTable())
|
->from($this->getTable())
|
||||||
->where('cuenta_id = ? AND fecha = ? AND glosa = ? AND cargo = ? AND abono = ? AND saldo = ?');
|
->where('cuenta_id = ? AND fecha = ? AND LOWER(glosa) = LOWER(?) AND cargo = ? AND abono = ? AND saldo = ?');
|
||||||
return $this->fetchOne($query, [$cuenta_id, $fecha->format('Y-m-d'), $glosa, $cargo, $abono, $saldo]);
|
return $this->fetchOne($query, [$cuenta_id, $fecha->format('Y-m-d'), $glosa, $cargo, $abono, $saldo]);
|
||||||
}
|
}
|
||||||
public function fetchAmountStartingFrom(int $start, int $amount): array
|
public function fetchAmountStartingFrom(int $start, int $amount): array
|
||||||
|
Reference in New Issue
Block a user