type = $type; $this->document = $document; // Main.Header fields $this->contactType = $contactType; $this->documentNumber = $documentNumber; $this->textIssuedAt = $textIssuedAt; $this->textDocumentNumber = $textDocumentNumber; $this->textDueAt = $textDueAt; $this->textOrderNumber = $textOrderNumber; // Main.Header component fields status $this->hideContact = $hideContact; $this->hideIssuedAt = $hideIssuedAt; $this->hideDocumentNumber = $hideDocumentNumber; $this->hideDueAt = $hideDueAt; $this->hideOrderNumber = $hideOrderNumber; } /** * Get the view / contents that represent the component. * * @return \Illuminate\Contracts\View\View|string */ public function render() { return view('components.documents.form.main'); } }