Added $accessory->created_by = auth()->id();
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
66aaafc4f2
commit
4d3137e15a
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue