Second and Third template component file
This commit is contained in:
@@ -420,9 +420,7 @@ abstract class TransferShow extends Component
|
||||
return $transferTemplate;
|
||||
}
|
||||
|
||||
$transferTemplate = setting('transfer.template') ?: 'default';
|
||||
|
||||
return $transferTemplate;
|
||||
return setting('transfer.template');
|
||||
}
|
||||
|
||||
protected function getRouteButtonAddNew($routeButtonAddNew)
|
||||
|
18
app/View/Components/Transfers/Template/Second.php
Normal file
18
app/View/Components/Transfers/Template/Second.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Transfers\Template;
|
||||
|
||||
use App\Abstracts\View\Components\TransferTemplate as Component;
|
||||
|
||||
class Second extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.transfers.template.second');
|
||||
}
|
||||
}
|
18
app/View/Components/Transfers/Template/Third.php
Normal file
18
app/View/Components/Transfers/Template/Third.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components\Transfers\Template;
|
||||
|
||||
use App\Abstracts\View\Components\TransferTemplate as Component;
|
||||
|
||||
class Third extends Component
|
||||
{
|
||||
/**
|
||||
* Get the view / contents that represent the component.
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|string
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
return view('components.transfers.template.third');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user