edit column re-factoring dynamic

This commit is contained in:
Cüneyt Şentürk
2021-01-12 11:51:47 +03:00
parent 4bbed4d946
commit 756e494ff3
7 changed files with 56 additions and 46 deletions

View File

@ -6,14 +6,17 @@ use Illuminate\View\Component;
class EditItemColumns extends Component
{
/* string */
public $type;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct()
public function __construct(string $type = 'invoice')
{
//
$this->type = $type;
}
/**