<?php

namespace App\View\Components;

use Illuminate\View\Component;

class CompanyLetterHead extends Component
{
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public $company;
    public $voucherTypeDetails;
    public $letterHead;

    public function __construct($company,$voucherTypeDetails = '',$letterHead = '')
    {
        $this->company = $company;
        $this->voucherTypeDetails = $voucherTypeDetails;
        $this->letterHead = $letterHead;
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return view('components.company-letter-head');
    }
}
