From e9321678e2ccb72a62fa033ebf3b5dcdededebfa Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 18 Mar 2024 20:12:08 -0300 Subject: [PATCH] cambio logica bdt --- app/GrupoDeCompra.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/GrupoDeCompra.php b/app/GrupoDeCompra.php index 09ec62b..90c71f2 100644 --- a/app/GrupoDeCompra.php +++ b/app/GrupoDeCompra.php @@ -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() {