Git Product home page Git Product logo

Comments (3)

swift2512 avatar swift2512 commented on September 13, 2024

A quick fix. Looks like it works and doesn't break anything, but I may be terribly wrong. :D
File: resources/views/notifications/markdown/asset-acceptance.blade.php
Above acceptance date added these lines

@if (isset($user->location))
| **{{ trans('general.location') }}** | {{ $user->location->name }} |
@endif

Result
image

from snipe-it.

snipe avatar snipe commented on September 13, 2024

Currently, there's no way to send an acceptance/decline email notification to the admin, who checked-out item to the user.

That's not what it's intended for. It's intended for the end-user to accept (on record) that they have received the asset. The CC option is just in case the admin wants to be copied on it, but I don't see why the admin would be accepting or denying the item, since they checked it out in the first place.

from snipe-it.

swift2512 avatar swift2512 commented on September 13, 2024

Currently, there's no way to send an acceptance/decline email notification to the admin, who checked-out item to the user.

That's not what it's intended for. It's intended for the end-user to accept (on record) that they have received the asset. The CC option is just in case the admin wants to be copied on it, but I don't see why the admin would be accepting or denying the item, since they checked it out in the first place.
Sorry for my English. :) I meant email alert that is being sent to the email addresses set in Admin > Notifications, after user accepts/declines an item. (Message, like the one in my previous message.)

Organizations may have thousands of employees in different offices and cities and dozens of admins responsible for different groups/types of items. When this 'accept/decline email' is sent to all admins, there's no easy way to tell where that user works. Admin would need to login to Snipe-IT, look for that user just to find out, that it's not from his office/city and not in his responsibility.
If users location is shown in the email, admin can quickly see if he needs to act or can disregard the message. Also, location would allow Admins to easily create rules in their mail clients ('if email is from:, has 'Location' in the body - move to this folder, play this sound...')

Even if this feature won't end-up in release, I will manually edit asset-acceptance.blade.php to include users location, because it will make life easier for me and dozens of other admins.

from snipe-it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.