27 lines
766 B
PHP
27 lines
766 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Modules\Usulan;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use Illuminate\Http\Request;
|
|
use App\Models\Kuesioner;
|
|
use App\Models\Master\FormKriteria;
|
|
|
|
class KriteriaController extends Controller
|
|
{
|
|
protected $title = 'Pemenuhan Kriteria';
|
|
protected $template = 'modules.usulan.kriteria';
|
|
protected $route = 'modules.usulan.kriteria';
|
|
|
|
public function index()
|
|
{
|
|
permission('is_read', $this->route, 'module',true);
|
|
|
|
$data['title'] = $this->title;
|
|
$data['route'] = $this->route;
|
|
$data['page'] = FormKriteria::select('page_number')->groupBy('page_number')->orderBy('page_number','ASC')->pluck('page_number')->toArray();
|
|
|
|
return view($this->template.'.form',$data);
|
|
}
|
|
}
|