Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a custom field as default (required) while checkout #6188

Closed
mirso1703 opened this issue Sep 12, 2018 · 32 comments
Closed

Add a custom field as default (required) while checkout #6188

mirso1703 opened this issue Sep 12, 2018 · 32 comments

Comments

@mirso1703
Copy link

mirso1703 commented Sep 12, 2018

It would be good to have a custom filed as required while checking out an asset, let's say we have a location and I have a custom filed (sublocation) like a user who is using the device.

Now I have to checkout device and then go edit it and input the custom filed, it would be good that I can make this one of default values while checking it out.

Thank you

@mirso1703 mirso1703 changed the title Add a custom filed as default (required) while checkout Add a custom field as default (required) while checkout Sep 12, 2018
@stale
Copy link

stale bot commented Nov 11, 2018

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

@stale stale bot added the stale label Nov 11, 2018
@stale
Copy link

stale bot commented Nov 18, 2018

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

@stale stale bot closed this as completed Nov 18, 2018
@mailatbijoy
Copy link

Please Consider mirso1703's request. we are also looking for the same option. If some custom fields made available while item checkin/checkout, it will be good to update important details such as temporary assignment, returnable, send to external users through snipe-it users and for custom reports based on these values.

@KovacNZ
Copy link

KovacNZ commented Nov 13, 2019

I would also like to support this request.

I have custom location fields which I would like to update at checkout rather than having to go into an asset a second time to edit this information

@acerspyro
Copy link

I'm leaving my comment here as a mark of support.

Required fields break check-ins / check-outs, we'd like to use them to note down the ticket number associated with an action.

@snipe snipe reopened this Dec 2, 2020
@stale
Copy link

stale bot commented Dec 2, 2020

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

@stale stale bot removed the stale label Dec 2, 2020
@snipe
Copy link
Owner

snipe commented Dec 2, 2020

Required fields break check-ins / check-outs’

I’m not sure what this means - can you elaborate?

@NMX-Drew
Copy link

I'd also like to +1 this request. We are looking to do roughly the same thing as mirso1703.

We'd like to track unit location at the same time as who is using it.

@ItsANoBrainer
Copy link

ItsANoBrainer commented Jan 21, 2021

I would like to add and elaborate on this request:

When setting adding a field to a field set, there should be an option to have the field show up during check-in, and another option for during check-out.

The required option is already implemented.

Currently technicians have to edit the device afterwards and set the fields manually.

For example:
We have a General fieldset we apply to all models that includes TicketID, Condition, and Damages.

I would like all 3 of these fields to show up and be able to be changed from the check-in and check-out screens.

Let me know if I can elaborate or assist further, as this feature would greatly assist our workflow.

Edit: Can we change the title of this issue to something more relevant to what I described? IE: Add Ability to Update Custom Fields During Checkin/Checkout

@warmeggsalad
Copy link

Also commenting as a show of support.

@guacaflacka
Copy link

This would be a revolutionary feature that will improve our processes by a ton. I support this feature request and will offer to pay money to have this developed.

@Dylan-Tyler
Copy link

+1
This feature would greatly benefit when we're assigning equipment to staff members and being able to select from a Field which technician handled the equipment that was deployed.

@Neanjah
Copy link

Neanjah commented Jan 28, 2022

+1
2022 and will still support this feature to be added!

@gridstorm
Copy link

+1
Yes please, this is the only feature stopping us from using Snipe-IT for a great tool tracking system.

@MorganRedell
Copy link

+1
I would love this feature as well!

@sarangtc
Copy link

+1
This feature would greatly help our requirements too. We need to checkout to a department as well as physical location. We would like to be able to add a dept. field to the checkout, and thus see the total usage for each department.

@gitvisual
Copy link

+1
We really need to be able to assign ticket-ID while checking out an item.
Currently we have to go edit the item manually and add the ticket-ID to the order number field in the asset. But then if the item gets checked back in and then out again to a different user, we have to remove the original ticket-ID and swap it with the new one. It's just not intuitive enough for us to use like this :(

@fairphone-grantreid
Copy link

+1
My colleague just encountered a scenario with a custom field that would be super useful to have available on item checkout.

@tsrwebb
Copy link

tsrwebb commented Jun 13, 2023

I would also like put my comment here in support of this feature

@reycasper
Copy link

Any update on this features? We also need this one

@jcbneuner
Copy link

+1 on this request. We are needing to check out to specific users, then also assign that equipment to a physical office location and are currently unable to do that with options available.

@Ajtak
Copy link

Ajtak commented Feb 25, 2024

+1
I need this functionality too.

@hegdemaahi24
Copy link

hegdemaahi24 commented Apr 24, 2024

+1
@snipe @uberbrady Please add this functionality on checkIN and Checkout Page. Its so very important. Its been years actually we are waiting for this feature

Whatever the custom field we create there should be option use that attribute on CheckIN and CheckOut form. So that it will avoid us to everytime we edit the asset manually again and agiain. after checkin or checkout
Custom Fields like Stockroom, Substate, Status, Sub locations, request number etc...
Example
image

There was feature request raised for same future feature, but its closed by bot
Please consider this to reopen or move the same Feature request
#4805

@Preethamdsz
Copy link

@snipe it would be a great help if you enable this feature on checkin and checkout page.

@Stuntryderturbo
Copy link

adding my commment in for support. I could like to add custom fields when checking in and checking out assets

@adamirxxx
Copy link

+1
I require this feature also. Please include this for new version release.

@need4swede
Copy link

Would also like to have the option to have custom fields appear during check-in and check-out.

@amarkmagnite
Copy link

One more +1 for this feature, it would be really useful in our environment.

@ronenbjorkquist
Copy link

+1 for this

@adamirxxx
Copy link

@snipe could you provide any ETA for this feature?

@Ag-Cro
Copy link

Ag-Cro commented Jan 30, 2025

Also requesting this feature, it needs to be a part of the check-in & check-out process.
Additionally - if we could apply the requirement for it to be updated EACH time an asset is checked in or out, regardless of the value being filled. This would be great for associating the action with the most recent ticket or job number. An example field

"Ticket number of latest change:"

@MasterCakeX5
Copy link

So I found a "dirty" workaround to enable our "room" field in checkin and checkout - but didnt manage to do it in bulk checkout:

In /var/www/html/snipeit/resources/views/hardware/ there are two files:

  • checkin.blade.php
  • checkout.blade.php

add thefollowing code wherever you want to have your custom field and replace "Room" with whatever the field name is and "_snipeit_room_4" with the name of the custom field in the database:

<!-- Room -->
<div class="form-group">
<label for="_snipeit_room_4" class="col-md-3 control-label">Room
</label>

<div class="col-md-8">
<input type="text" class="form-control" name="_snipeit_room_4" id="_snipeit_room_4"
value="{{ old('_snipeit_room_4', $asset->_snipeit_room_4) }}">
</div>
</div>

After that, in /var/www/html/snipeit/app/Http/Controllers/Assets there are two files:

  • AssetCheckinController.php
  • AssetCheckoutController.php

add the following code wherever it will work (I added it after $asset->location_id = $asset->rtd_location_id;
in Checkin and $asset = $this->updateAssetLocation($asset, $target); in Checkout) and replace "_snipeit_room_4" with the name of the custom field in the database:

if ($request->filled('_snipeit_room_4')) {
$asset->_snipeit_room_4 = $request->get('_snipeit_room_4');
}

Now the field will be shown both in checkin and in checkout and write the value into the database.

The upside: works at all
The downside: It is a messy manual thing and will be overwritten by any update

Please add a "real" way of having these things in the future, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests