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

Print all assigned shows other people signature #14734

Open
2 tasks done
raphbeaulieu opened this issue May 17, 2024 · 2 comments
Open
2 tasks done

Print all assigned shows other people signature #14734

raphbeaulieu opened this issue May 17, 2024 · 2 comments
Assignees

Comments

@raphbeaulieu
Copy link

Debug mode

Describe the bug

Hi,

Every time I print the list of products assigned to a user, the report displays the signature of the last user who signed this material.

The \resources\views\users\print.blade.php file look like this (i've never modified the file) :
@if (($accessory->assetlog->first()) && ($accessory->assetlog->first()->accept_signature!='')) <img style="width:auto;height:100px;" src="{{ asset('/') }}display-sig/{{ $accessory->assetlog->first()->accept_signature }}"> @endif

I ran this commands without success :

  • composer dump-autoload
  • php artisan cache:clear
  • php artisan config:clear
  • php artisan route:clear
  • php artisan debugbar:clear
  • php artisan event:clear
  • php artisan view:clear
  • php artisan optimize:clear
  • php artisan clear-compiled

Reproduction steps

  1. Go to user info page
  2. Press the Print all assigned button

Expected behavior

I expect to see the signatures of the selected user

Screenshots

It shows the signatures of other users rather than the selected user

image

Snipe-IT Version

v6.4.1 - build 13458 (master)

Operating System

Windows Server 2019 Standard

Web Server

IIS 10.0.17763.1

PHP Version

8.2.3

Operating System

Windows 11 Business

Browser

Google Chrome

Version

V124

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

Copy link

welcome bot commented May 17, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@marcusmoore marcusmoore self-assigned this May 20, 2024
@marcusmoore
Copy link
Collaborator

Thanks for reporting this @raphbeaulieu. I'll check it out.

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

No branches or pull requests

2 participants