Merge branch 'develop' into feature/cierres

This commit is contained in:
Juan Pablo Vial
2025-04-11 13:35:13 -04:00
11 changed files with 230 additions and 32 deletions

View File

@ -85,4 +85,9 @@ class BonoPie extends Ideal\Repository
->where('venta.id = ?');
return $this->fetchOne($query, [$venta_id]);
}
public function filterData(array $data): array
{
return array_intersect_key($data, array_flip(['valor', 'pago']));
}
}