mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: inventory manage
This commit is contained in:
		| @@ -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'); | ||||
|     } | ||||
| } | ||||
|   | ||||
							
								
								
									
										2
									
								
								public/theme/v2board/assets/umi.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/theme/v2board/assets/umi.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								public/theme/v2board/assets/umi.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/theme/v2board/assets/umi.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user