snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.12k stars 3.19k forks source link

Add custom fields to the "Print All Assigned" page #7839

Open IMS-IT-Subscriptions opened 4 years ago

IMS-IT-Subscriptions commented 4 years ago

Snipe-IT version | v4.7.6 build 4143 (g3dc2cc9f2) Software License | AGPL3 PHP Version | 7.3.8 Laravel Version | 5.5.45

I'd like to add some of the custom fields I have created to the Print All Assigned report, but I need to know the variable names/formatting i.e. $asset->model->customfield

If I could find the proper formatting and variable names on my own I'd figure it out.

Cheers

stale[bot] commented 4 years ago

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!

IMS-IT-Subscriptions commented 4 years ago

I still want this... so yes still relevant.

Cheers

On Thu, 23 Apr 2020 at 01:09, stale[bot] notifications@github.com wrote:

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!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snipe/snipe-it/issues/7839#issuecomment-618181090, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMEF4EQLZUCRXR7TMOORMCTRN7ERNANCNFSM4KZKFHGQ .

-- Jason Farrell

IT Infrastructure Team Lead

514.931.6222 x6301

Intelerad Medical Systems800 de Maisonneuve Est, 12th Floor Montreal, Quebec, Canada | H2L 4L8 www.intelerad.com

--

This email or any attachments may contain confidential or legally privileged information intended for the sole use of the addressees. Any use, redistribution, disclosure, or reproduction of this information, except as intended, is prohibited. If you received this email in error, please notify the sender and remove all copies of the message, including any attachments.

stale[bot] commented 4 years ago

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!

mdvdhurk commented 4 years ago

I was looking for the same thing you requested and stumbled upon this. After playing around with some variations, I came up with the idea of browsing the 'assets' table in my database. It's easier that you would think; just mention the name of the field you would like to print :)

I added a column name and:

{{ $asset->_snipeit_series_2 }}

to resources\views\users\print.blade.php

(please be aware that you will lose your changes with the next update, unless you save it somewhere else and reapply)

mdvdhurk commented 4 years ago

Another example that might be useful:

{{ $asset->model->manufacturer->name }}

The name of the manufacturer through a joined table.

stale[bot] commented 4 years ago

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!

mdvdhurk commented 4 years ago

At least it would be very helpful to have a bit of guidance about this topic ('unsupported customization' or something) in documentation; how to find attribute tags. And yes, from a broader perspective: the ability to somehow customize it in a supported way :)

stale[bot] commented 4 years ago

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[bot] commented 4 years ago

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!

mdvdhurk commented 4 years ago

Yes, see my last message.

stale[bot] commented 4 years ago

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!

aplusham commented 4 years ago

adding my 2 cents here for this feature would like to be able to add the custom fields on print out. Not only that but also custom verbiage if possible . Very similar to EULA email on acceptance . This way when you print, it is an actual agreement.

kaiiiiiiiii commented 4 years ago

Highly requested from my side as well. We have a lot of Dell assets which identify by service-tag, not by serial. With those assets the printout is mostly useless =(

alikuru commented 2 years ago

It has long been since the last comment but since this issue is still open, please count my vote too for this feature 🙂

It would be great to have an option for customization; especially for branding and including company asset use policy in our case.

medhatov commented 1 year ago

It has long been since the last comment but since this issue is still open, please count my vote too for this feature 🙂

It would be great to have an option for customization; especially for branding and including company asset use policy in our case.

Me too :))