Visitor management app with SSO, kiosk, badges, reports, and Gitea CI deploy to frontdesk.ladill.com. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
373 B
PHP
20 lines
373 B
PHP
<?php
|
|
|
|
namespace App\Services\Printers;
|
|
|
|
use App\Contracts\Printers\PrinterDriverInterface;
|
|
use App\Models\Visit;
|
|
|
|
class DymoPrinterDriver implements PrinterDriverInterface
|
|
{
|
|
public function name(): string
|
|
{
|
|
return 'dymo';
|
|
}
|
|
|
|
public function renderBadge(Visit $visit): array
|
|
{
|
|
return (new PdfPrinterDriver)->renderBadge($visit);
|
|
}
|
|
}
|