Neues Modul Interne Stellenausschreibungen (0.28.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 6m18s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m1s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m33s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m8s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 6m42s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m37s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 5m43s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 5m38s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m10s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-27 10:16:48 +00:00
parent b322b97f32
commit 993d49c99c
146 changed files with 1981 additions and 305 deletions

View file

@ -0,0 +1,37 @@
<?php
namespace Inhaus\Plugins\Stellen\Mail;
use App\Models\User;
use App\Support\Branding;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
use Inhaus\Plugins\Stellen\Models\JobPosting;
/**
* Hinweis auf eine neue Bewerbung – ohne Anhang, die Unterlagen liegen vertraulich im Portal.
*/
class ApplicationReceived extends Mailable implements ShouldQueue
{
use Queueable;
use SerializesModels;
public function __construct(public JobPosting $posting, public User $applicant) {}
public function envelope(): Envelope
{
return new Envelope(subject: 'Neue Bewerbung: '.$this->posting->title, replyTo: [$this->applicant->email]);
}
public function content(): Content
{
return new Content(view: 'stellen::mail.application', with: [
'portalName' => app(Branding::class)->portalName(),
'url' => route('jobs.applications', $this->posting),
]);
}
}