- add position
This commit is contained in:
		| @@ -17,7 +17,8 @@ class UpdateCV extends Command | ||||
|                             {--add-location=* : Add locations} | ||||
|                             {--remove-location=* : Remove lcoations} | ||||
|                             {--mission= : Set new text value} | ||||
|                             {--rodo= : Set new text value}'; | ||||
|                             {--rodo= : Set new text value} | ||||
|                             {--position= : Set position value}'; | ||||
|  | ||||
|     protected $description = 'Update CV element'; | ||||
|  | ||||
| @@ -66,6 +67,9 @@ class UpdateCV extends Command | ||||
|         if ($rodo = $this->option('rodo')) { | ||||
|             $cv->rodo = $rodo === 'null' ? null : $rodo; | ||||
|         } | ||||
|         if ($position = $this->option('position')) { | ||||
|             $cv->position = $position === 'null' ? null : $position; | ||||
|         } | ||||
|  | ||||
|         $cv->save(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user