Pārlūkot izejas kodu

update: inventory manage

tokumeikoi 2 gadi atpakaļ
vecāks
revīzija
7713489945

+ 2 - 2
app/Services/PlanService.php

@@ -15,13 +15,13 @@ class PlanService
 
     public function incrementInventory(): bool
     {
-        if ($this->plan->inventory_limit !== NULL) return true;
+        if ($this->plan->inventory_limit === NULL) return true;
         return $this->plan->increment('inventory_limit');
     }
 
     public function decrementInventory(): bool
     {
-        if ($this->plan->inventory_limit !== NULL) return true;
+        if ($this->plan->inventory_limit === NULL) return true;
         return $this->plan->decrement('inventory_limit');
     }
 }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
public/theme/v2board/assets/umi.css


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
public/theme/v2board/assets/umi.js


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels