Container

This commit is contained in:
2020-01-07 12:25:52 -03:00
parent 2300ca5641
commit 782e79dd30
19 changed files with 60 additions and 60 deletions

View File

@ -196,7 +196,7 @@ class Pie extends Model
public function uf()
{
if ($this->uf == 0) {
$uf = uf($this->fecha);
$uf = $this->container->get('uf')($this->fecha);
if (!$uf) {
return 1;
}