From 89fbd60d972a85e2fb12aafb1df455e33a4c40d4 Mon Sep 17 00:00:00 2001 From: Ivan Nieto Vivanco Date: Thu, 4 May 2023 02:00:04 -0600 Subject: [PATCH] Restore the 'Asset Notes' and 'Model Notes' in the Map Asset Import Fields form --- app/Http/Livewire/Importer.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Http/Livewire/Importer.php b/app/Http/Livewire/Importer.php index e11dd060e9..7a37b00d18 100644 --- a/app/Http/Livewire/Importer.php +++ b/app/Http/Livewire/Importer.php @@ -67,7 +67,6 @@ class Importer extends Component 'location' => 'Location', 'maintained' => 'Maintained', 'manufacturer' => 'Manufacturer', - 'notes' => 'Notes', 'order_number' => 'Order Number', 'purchase_cost' => 'Purchase Cost', 'purchase_date' => 'Purchase Date', @@ -81,11 +80,14 @@ class Importer extends Component static $accessories = [ 'model_number' => 'Model Number', + 'notes' => 'Notes', ]; static $assets = [ 'asset_tag' => 'Asset Tag', 'asset_model' => 'Model Name', + 'asset_notes' => 'Asset Notes', + 'model_notes' => 'Model Notes', 'byod' => 'BYOD', 'checkout_class' => 'Checkout Type', 'checkout_location' => 'Checkout Location', @@ -99,6 +101,7 @@ class Importer extends Component static $consumables = [ 'item_no' => "Item Number", 'model_number' => "Model Number", + 'notes' => 'Notes', 'min_amt' => "Minimum Quantity", ]; @@ -111,12 +114,14 @@ class Importer extends Component 'purchase_order' => 'Purchase Order', 'reassignable' => 'Reassignable', 'seats' => 'Seats', + 'notes' => 'Notes', ]; static $users = [ 'employee_num' => 'Employee Number', 'first_name' => 'First Name', 'last_name' => 'Last Name', + 'notes' => 'Notes', 'jobtitle' => 'Job Title', 'phone_number' => 'Phone Number', 'manager_first_name' => 'Manager First Name', @@ -144,6 +149,7 @@ class Importer extends Component 'manager_username' => 'Manager Username', 'manager' => 'Manager', 'parent_location' => 'Parent Location', + 'notes' => 'Notes', ]; //array of "real fieldnames" to a list of aliases for that field