Skip to content

Fixed #17394 - Changes the acceptance letter salutation to target#17436

Merged
snipe merged 4 commits intogrokability:developfrom
Godmartinz:fix-acceptance-markdown
Jul 23, 2025
Merged

Fixed #17394 - Changes the acceptance letter salutation to target#17436
snipe merged 4 commits intogrokability:developfrom
Godmartinz:fix-acceptance-markdown

Conversation

@Godmartinz
Copy link
Copy Markdown
Member

Changes the salutation target to $target->assignedto in the accessories and asset checkout mail markdowns.
image
image

Fixes: #17394

@Godmartinz Godmartinz requested a review from snipe as a code owner July 21, 2025 19:04
@snipe snipe changed the title Fixes #17394 Changes the acceptance letter salutation to target Fixes #17394 - Changes the acceptance letter salutation to target Jul 21, 2025
@snipe snipe changed the title Fixes #17394 - Changes the acceptance letter salutation to target Fixed #17394 - Changes the acceptance letter salutation to target Jul 22, 2025
@snipe
Copy link
Copy Markdown
Member

snipe commented Jul 22, 2025

 Call to a member function present() on null (View: /home/runner/work/snipe-it/snipe-it/resources/views/mail/markdown/checkout-asset.blade.php)

in the tests

Copy link
Copy Markdown
Member

@snipe snipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still seeing some failing tests here

@snipe
Copy link
Copy Markdown
Member

snipe commented Jul 23, 2025

I think that will create a scenario where we have Hello , - instead of Hello,, no? We probably want to account for that.

@Godmartinz
Copy link
Copy Markdown
Member Author

image

@Godmartinz Godmartinz requested a review from snipe July 23, 2025 16:47
@Godmartinz
Copy link
Copy Markdown
Member Author

some failing tests, checking it out

@Godmartinz
Copy link
Copy Markdown
Member Author

I removed the intro line by accident, tests pass now.

@snipe snipe merged commit 297b8e3 into grokability:develop Jul 23, 2025
7 checks passed
Comment on lines +2 to +4
@php
$target->assignedto = null;
@endphp
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this leftover from debugging?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh, good catch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that was already removed tho? I don't see it in that blade anymore

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Derp. Helps if you're up to date locally :P I'll remove it tho

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

Successfully merging this pull request may close these issues.

Acceptance emails are sent when checking-out to a checked-out asset.

3 participants