akaunting/app/View/Components/Documents/Form/ItemColumns.php

32 lines
591 B
PHP
Raw Normal View History

2020-12-23 22:28:38 +00:00
<?php
2022-06-01 07:15:55 +00:00
namespace App\View\Components\Documents\Form;
2020-12-23 22:28:38 +00:00
2022-06-01 07:15:55 +00:00
use App\Abstracts\View\Component;
2020-12-23 22:28:38 +00:00
2022-06-01 07:15:55 +00:00
class ItemColumns extends Component
2020-12-23 22:28:38 +00:00
{
2021-01-12 08:51:47 +00:00
/* string */
public $type;
2020-12-23 22:28:38 +00:00
/**
* Create a new component instance.
*
* @return void
*/
2021-01-12 08:51:47 +00:00
public function __construct(string $type = 'invoice')
2020-12-23 22:28:38 +00:00
{
2021-01-12 08:51:47 +00:00
$this->type = $type;
2020-12-23 22:28:38 +00:00
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|string
*/
public function render()
{
2022-06-01 07:15:55 +00:00
return view('components.documents.form.item-columns');
2020-12-23 22:28:38 +00:00
}
}