refactor/totales #41

Merged
atasistro merged 16 commits from refactor/totales into master 2025-04-13 23:22:10 -03:00
Showing only changes of commit 2a5c215f40 - Show all commits

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()