From 54f2b622940830fe5a1202e763d62a803a520452 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 18 Apr 2025 00:55:56 +0100 Subject: [PATCH] Fixed consumable item_no import field Signed-off-by: snipe --- app/Importer/ItemImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Importer/ItemImporter.php b/app/Importer/ItemImporter.php index b8f249409..dfcd644c9 100644 --- a/app/Importer/ItemImporter.php +++ b/app/Importer/ItemImporter.php @@ -85,7 +85,7 @@ class ItemImporter extends Importer $this->item['requestable'] = $this->findCsvMatch($row, 'requestable'); $this->item['created_by'] = auth()->id(); $this->item['serial'] = $this->findCsvMatch($row, 'serial'); - $this->item['item_no'] = trim($this->findCsvMatch($row, 'item_number')); + $this->item['item_no'] = trim($this->findCsvMatch($row, 'item_no')); $this->item['purchase_date'] = null;