24 lines
386 B
PHP
24 lines
386 B
PHP
<?php
|
|
|
|
namespace App\Invoice;
|
|
|
|
use App\Invoice\Models\Invoice;
|
|
|
|
class RememberDocument extends InvoiceDocument
|
|
{
|
|
|
|
public function getSubject(): string
|
|
{
|
|
return 'Zahlungserinnerung';
|
|
}
|
|
|
|
public function view(): string
|
|
{
|
|
return 'tex.invoice.remember';
|
|
}
|
|
|
|
public function sent(Invoice $invoice): void {
|
|
$invoice->rememberedNow();
|
|
}
|
|
}
|