protected function drawBillhead()
    {
        $assignment = $this->title->assignment;
        $assignor = $assignment->assignor;
        $person = $assignor->person;

        $this->Ln(2);

        $logo = self::findFile("assignors/$person->id.*", $this->logos);
        if ($logo !== null) {
            $y = $this->GetY();
            $this->Image($logo, null, null, 40, 0, '', $assignor->url);
            $y1 = $this->GetY();
            $this->SetXY(50, $y);
        }

        $text = $person->name . "\n"
            . $person->getFormattedDocument() . "\n"
            . $assignment->address->outputLong();

        $this->billetSetFont('billhead');
        $this->MultiCell(103.2, 2.5, utf8_decode($text));
        $this->SetY(max($y1 ?? 0, $this->GetY()));
    }