Restando devoluciones al total

This commit is contained in:
Alejandro Tasistro 2025-03-17 17:01:59 -03:00
parent 584cebb902
commit 2a5c215f40

View file

@ -43,7 +43,7 @@ class Subpedido extends Model
public function total()
{
return ceil($this->totalBarrial() + $this->totalCentral());
return $this->totalBarrial() + $this->totalCentral() - $this->devoluciones_total;
}
public function totalBarrial()