24 lines
362 B
PHP
24 lines
362 B
PHP
<?php
|
|
|
|
namespace App\Invoice;
|
|
|
|
use App\Invoice\Models\Invoice;
|
|
|
|
class BillDocument extends InvoiceDocument
|
|
{
|
|
|
|
public function getSubject(): string
|
|
{
|
|
return 'Rechnung';
|
|
}
|
|
|
|
public function view(): string
|
|
{
|
|
return 'tex.invoice.bill';
|
|
}
|
|
|
|
public function sent(Invoice $invoice): void {
|
|
$invoice->sentNow();
|
|
}
|
|
}
|