Added $accessory->created_by = auth()->id();
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -42,6 +42,7 @@ class AccessoryImporter extends ItemImporter
|
||||
}
|
||||
$this->log('No Matching Accessory, Creating a new one');
|
||||
$accessory = new Accessory();
|
||||
$accessory->created_by = auth()->id();
|
||||
$this->item['model_number'] = $this->findCsvMatch($row, "model_number");
|
||||
$this->item['min_amt'] = $this->findCsvMatch($row, "min_amt");
|
||||
$accessory->fill($this->sanitizeItemForStoring($accessory));
|
||||
|
||||
Reference in New Issue
Block a user