31 lines
673 B
PHP
31 lines
673 B
PHP
<?php
|
|
|
|
namespace App\Exports;
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
use Maatwebsite\Excel\Concerns\WithTitle;
|
|
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
|
|
|
|
class GaPresentationSelectionSheet implements FromView, WithTitle, ShouldAutoSize
|
|
{
|
|
protected array $simData;
|
|
|
|
public function __construct(array $simData)
|
|
{
|
|
$this->simData = $simData;
|
|
}
|
|
|
|
public function title(): string
|
|
{
|
|
return '3. Operator Seleksi (Tournament)';
|
|
}
|
|
|
|
public function view(): View
|
|
{
|
|
return view('admin.exports.presentation.sheet3-selection', [
|
|
'sim' => $this->simData
|
|
]);
|
|
}
|
|
}
|