Bladeren bron

update: inventory manage

tokumeikoi 2 jaren geleden
bovenliggende
commit
7713489945
3 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      app/Services/PlanService.php
  2. 0 0
      public/theme/v2board/assets/umi.css
  3. 0 0
      public/theme/v2board/assets/umi.js

+ 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');
     }
 }

File diff suppressed because it is too large
+ 0 - 0
public/theme/v2board/assets/umi.css


File diff suppressed because it is too large
+ 0 - 0
public/theme/v2board/assets/umi.js


Some files were not shown because too many files changed in this diff