mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 16:15:25 +00:00
Merge remote-tracking branch 'origin/develop'
This commit is contained in:
@ -56,7 +56,7 @@ class ObjectImportCommand extends Command
|
||||
$this->progressIndicator = new ProgressIndicator($this->output);
|
||||
|
||||
$filename = $this->argument('filename');
|
||||
$class = title_case($this->option('item-type'));
|
||||
$class = ucfirst($this->option('item-type'));
|
||||
$classString = "App\\Importer\\{$class}Importer";
|
||||
$importer = new $classString($filename);
|
||||
$importer->setCallbacks([$this, 'log'], [$this, 'progress'], [$this, 'errorCallback'])
|
||||
|
||||
@ -530,7 +530,7 @@
|
||||
</td>
|
||||
<td>
|
||||
<x-icon type="circle-solid" class="text-blue" />
|
||||
{{ $asset->assetstatus->name }}
|
||||
{{ $asset->assetstatus?->name }}
|
||||
<label class="label label-default">{{ trans('general.deployed') }}</label>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user