Facturacion

This commit is contained in:
2023-11-22 19:08:19 -03:00
parent b4742a501e
commit 9ab0515954
45 changed files with 1846 additions and 71 deletions

View File

@ -1,7 +1,9 @@
<?php
namespace Incoviba\Model\Proyecto;
class Superficie
use JsonSerializable;
class Superficie implements JsonSerializable
{
public float $sobre_nivel;
public float $bajo_nivel;
@ -10,4 +12,13 @@ class Superficie
{
return $this->bajo_nivel + $this->sobre_nivel;
}
public function jsonSerialize(): mixed
{
return [
'sobre_nivel' => $this->sobre_nivel,
'bajo_nivel' => $this->bajo_nivel,
'total' => $this->total()
];
}
}