Reservation Fixes
This commit is contained in:
@ -40,7 +40,7 @@ class Reservation extends Common\Ideal\Model
|
||||
{
|
||||
$price = 0;
|
||||
foreach ($this->units as $unit) {
|
||||
$price += $unit->unit->precio($this->date);
|
||||
$price += $unit->unit->precio($this->date)?->valor ?? 0;
|
||||
}
|
||||
return $price;
|
||||
}
|
||||
|
Reference in New Issue
Block a user