mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
NOT FINISHED: Added case for component import
This is not finished. The actual component creation isn’t written yet
This commit is contained in:
parent
2fe984013b
commit
d6b7036518
|
@ -111,6 +111,9 @@ class ObjectImportCommand extends Command
|
|||
case "accessory":
|
||||
$this->accessories = Accessory::All();
|
||||
break;
|
||||
case "component":
|
||||
$this->components = Component::All();
|
||||
break;
|
||||
case "consumable":
|
||||
$this->consumables = Consumable::All();
|
||||
break;
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<label for="import-type">Import Type:</label>
|
||||
</div>
|
||||
<div class="col-md-8 col-xs-12">
|
||||
{{ Form::select('import-type', array('asset' => 'Assets', 'accessory' => "Accessories", 'consumable' => "Consumables") , 'asset', array('class'=>'select2 parent', 'style'=>'width:100%','id' =>'import-type')) }}
|
||||
{{ Form::select('import-type', array('asset' => 'Assets', 'accessory' => "Accessories", 'consumable' => "Consumables", 'component' => "Components") , 'asset', array('class'=>'select2 parent', 'style'=>'width:100%','id' =>'import-type')) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="dynamic-form-row">
|
||||
|
|
Loading…
Reference in a new issue