Cambio en cuenta de bonos de transporte #27

Merged
rho merged 2 commits from funcion/fix-bonos-de-transporte into master 2024-04-06 16:48:07 -03:00
Showing only changes of commit e9321678e2 - Show all commits

View file

@ -86,7 +86,7 @@ class GrupoDeCompra extends Model
}
public function calcularCantidadBDT() {
return ceil($this->totalPedidosSinBonos() / 500);
return ceil(($this->totalPedidosSinBonos()+1) / 500);
}
public function totalBonosBarriales() {