FormaPago Service
This commit is contained in:
@ -17,6 +17,11 @@ class Subsidio
|
||||
protected Service\Money $moneyService
|
||||
) {}
|
||||
|
||||
public function getByVenta(int $venta_id): Model\Venta\Subsidio
|
||||
{
|
||||
return $this->subsidioRepository->fetchByVenta($venta_id);
|
||||
}
|
||||
|
||||
public function add(array $data): Model\Venta\Subsidio
|
||||
{
|
||||
$fecha = new DateTimeImmutable($data['fecha']);
|
||||
|
Reference in New Issue
Block a user