File tree Expand file tree Collapse file tree 2 files changed +0
-24
lines changed
resources/views/mail/markdown Expand file tree Collapse file tree 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ public function content(): Content
4949 'requires_acceptance ' => $ this ->requires_acceptance ,
5050 'requires_acceptance_wording ' => $ this ->getRequiresAcceptanceWording (),
5151 'acceptance_url ' => $ this ->acceptanceUrl (),
52- 'eula ' => $ this ->getEula (),
5352 ],
5453 );
5554 }
@@ -86,23 +85,6 @@ private function acceptanceUrl()
8685 return route ('account.accept.item ' , $ this ->assets ->first ());
8786 }
8887
89- private function getEula ()
90- {
91- // if assets do not have the same category then return early...
92- $ categories = $ this ->assets ->pluck ('model.category.id ' )->unique ();
93-
94- if ($ categories ->count () > 1 ) {
95- return ;
96- }
97-
98- // if assets do have the same category then return the shared EULA
99- if ($ categories ->count () === 1 ) {
100- return $ this ->assets ->first ()->getEula ();
101- }
102-
103- // @todo: if the categories use the default eula then return that
104- }
105-
10688 private function loadCustomFieldsOnAssets (): void
10789 {
10890 $ this ->assets = $ this ->assets ->map (function (Asset $ asset ) {
Original file line number Diff line number Diff line change 3232**{{ trans (' mail.additional_notes' ) } } **: {{ $note } }
3333@endif
3434
35- @if ($eula )
36- <x-mail::panel >
37- {{ $eula } }
38- </x-mail::panel >
39- @endif
40-
4135<x-mail::table >
4236| | |
4337| ------------- | ------------- |
You can’t perform that action at this time.
0 commit comments