Ver Fonte

fix: 🚑️ ChargeServer Command

IceToast há 3 anos atrás
pai
commit
907fb74734
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Console/Commands/ChargeServers.php

+ 1 - 1
app/Console/Commands/ChargeServers.php

@@ -65,7 +65,7 @@ class ChargeServers extends Command
                         $newBillingDate = Carbon::parse($server->last_billed)->addMonth();
                         break;
                     case 'weekly':
-                        $newBillingDate = Carbon::parse($server->last_billed)->addYear();
+                        $newBillingDate = Carbon::parse($server->last_billed)->addWeek();
                         break;
                     case 'daily':
                         $newBillingDate = Carbon::parse($server->last_billed)->addDay();