minimo cambio

This commit is contained in:
Alejandro Tasistro 2024-03-19 22:37:00 -03:00
parent 554015a616
commit 4c9ef3f782
1 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,6 @@ function pedidosConfirmados() {
private function calcularTotalConfirmados(Closure $closure = null) : float {
if (!$closure)
$closure = fn($p) => $p->totalChismosa();
return $this->pedidosConfirmados()->sum($closure);
}
@ -53,7 +52,9 @@ function totalARecaudar() : float {
}
function totalNoBarriales() : float {
return $this->calcularTotalConfirmados(fn($p) => $p->total($p->productosNoBarriales()));
return $this->calcularTotalConfirmados(
fn($p) => $p->total($p->productosNoBarriales())
);
}
function totalTransporte() : float {