Restando devoluciones al total
This commit is contained in:
parent
584cebb902
commit
2a5c215f40
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ class Subpedido extends Model
|
||||||
|
|
||||||
public function total()
|
public function total()
|
||||||
{
|
{
|
||||||
return ceil($this->totalBarrial() + $this->totalCentral());
|
return $this->totalBarrial() + $this->totalCentral() - $this->devoluciones_total;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function totalBarrial()
|
public function totalBarrial()
|
||||||
|
|
Loading…
Add table
Reference in a new issue