Integracion Toku a flujo

This commit is contained in:
Juan Pablo Vial
2025-05-10 12:39:31 -04:00
parent fb7177fd65
commit 4ca1616dfc
5 changed files with 67 additions and 15 deletions

View File

@ -32,6 +32,11 @@ class TipoPago extends Ideal\Repository
return $this->update($model, ['descripcion'], $new_data);
}
/**
* @param string $descripcion
* @return Model\Venta\TipoPago
* @throws Implement\Exception\EmptyResult
*/
public function fetchByDescripcion(string $descripcion): Model\Venta\TipoPago
{
$query = "SELECT * FROM `{$this->getTable()}` WHERE `descripcion` = ?";