crud
This commit is contained in:
parent
576f8415d8
commit
3744ed6158
75
app/Http/Controllers/DataDistrikBumdesController.php
Normal file
75
app/Http/Controllers/DataDistrikBumdesController.php
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_distrik_bumdes;
|
||||
use App\Http\Requests\Storedata_distrik_bumdesRequest;
|
||||
use App\Http\Requests\Updatedata_distrik_bumdesRequest;
|
||||
|
||||
class DataDistrikBumdesController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_distrik=data_distrik_bumdes::all();
|
||||
return view('BumDes.data-distrik',compact('data_distrik'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('BumDes.data-distrik',[
|
||||
'data-distrik'=>data_distrik_bumdes::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_distrik_bumdesRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nama_distrik'=>'required',
|
||||
'jumlah_kampung'=>'required',
|
||||
'jumlah_penduduk'=>'required'
|
||||
]);
|
||||
data_distrik_bumdes::create($validateData);
|
||||
return redirect('bumdes-data-bumdes');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_distrik_bumdes $data_distrik_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_distrik_bumdes $data_distrik_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_distrik_bumdesRequest $request, data_distrik_bumdes $data_distrik_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_distrik_bumdes $data_distrik_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
74
app/Http/Controllers/DataDistrikCaltransController.php
Normal file
74
app/Http/Controllers/DataDistrikCaltransController.php
Normal file
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_distrik_caltrans;
|
||||
use App\Http\Requests\Storedata_distrik_caltransRequest;
|
||||
use App\Http\Requests\Updatedata_distrik_caltransRequest;
|
||||
|
||||
class DataDistrikCaltransController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_distrik=data_distrik_caltrans::all();
|
||||
return view('CalTrans.data-distrik',compact('data_distrik'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('CalTrans.data-distrik',[
|
||||
'data_distrik'=> data_distrik_caltrans::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_distrik_caltransRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nama_distrik'=>'required',
|
||||
'jumlah_kampung'=>'required',
|
||||
'jumlah_penduduk'=>'required'
|
||||
]);
|
||||
data_distrik_caltrans::create($validateData);
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_distrik_caltrans $data_distrik_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_distrik_caltrans $data_distrik_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_distrik_caltransRequest $request, data_distrik_caltrans $data_distrik_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_distrik_caltrans $data_distrik_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
75
app/Http/Controllers/DataDistrikDeswitaController.php
Normal file
75
app/Http/Controllers/DataDistrikDeswitaController.php
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_distrik_deswita;
|
||||
use App\Http\Requests\Storedata_distrik_deswitaRequest;
|
||||
use App\Http\Requests\Updatedata_distrik_deswitaRequest;
|
||||
|
||||
class DataDistrikDeswitaController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_distrik= data_distrik_deswita::all();
|
||||
return view('DesWita.data-distrik',compact('data_distrik'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('DesWita.data-distrik',[
|
||||
'data_distrik'=>data_distrik_deswita::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_distrik_deswitaRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nama_distrik'=>'required',
|
||||
'jumlah_kampung'=>'required',
|
||||
'jumlah_penduduk'=>'required'
|
||||
]);
|
||||
data_distrik_deswita::create($validateData);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_distrik_deswita $data_distrik_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_distrik_deswita $data_distrik_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_distrik_deswitaRequest $request, data_distrik_deswita $data_distrik_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_distrik_deswita $data_distrik_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
@ -37,8 +37,9 @@ class DataDistrikKpmdController extends Controller
|
||||
'jumlah_kampung'=>'required',
|
||||
'jumlah_penduduk'=>'required'
|
||||
]);
|
||||
data_distrik_kpmd::created($validateData);
|
||||
return redirect('/data-distrik-kpmd')->with('pesan','Data berhasil ditambah');
|
||||
// dd($validateData);
|
||||
data_distrik_kpmd::create($validateData);
|
||||
return redirect('/data-distrik-kpmd');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -72,4 +73,4 @@ class DataDistrikKpmdController extends Controller
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
|
66
app/Http/Controllers/DataKpmdController.php
Normal file
66
app/Http/Controllers/DataKpmdController.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_kpmd;
|
||||
use App\Http\Requests\Storedata_kpmdRequest;
|
||||
use App\Http\Requests\Updatedata_kpmdRequest;
|
||||
|
||||
class DataKpmdController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_kpmdRequest $request)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_kpmd $data_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_kpmd $data_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_kpmdRequest $request, data_kpmd $data_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_kpmd $data_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
81
app/Http/Controllers/DataPribadiBumdesController.php
Normal file
81
app/Http/Controllers/DataPribadiBumdesController.php
Normal file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_pribadi_bumdes;
|
||||
use App\Http\Requests\Storedata_pribadi_bumdesRequest;
|
||||
use App\Http\Requests\Updatedata_pribadi_bumdesRequest;
|
||||
|
||||
class DataPribadiBumdesController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_pribadi=data_pribadi_bumdes::all();
|
||||
return view('BumDes.index',compact('data_pribadi'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('BumDes.index',[
|
||||
'data_pribadi'=>data_pribadi_bumdes::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_pribadi_bumdesRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nip' => 'required|unique:data_pribadi_kpmds',
|
||||
'nama_lengkap'=>'required',
|
||||
'pangkat'=>'required',
|
||||
'jabatan'=>'required',
|
||||
'instansi'=>'required',
|
||||
'kabupaten'=>'required',
|
||||
'phone_number'=>'required',
|
||||
'pesan'=>'required',
|
||||
'alamat'=>'required'
|
||||
]);
|
||||
data_pribadi_bumdes::create($validateData);
|
||||
return redirect('/data-distrik-bumdes');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_pribadi_bumdes $data_pribadi_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_pribadi_bumdes $data_pribadi_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_pribadi_bumdesRequest $request, data_pribadi_bumdes $data_pribadi_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_pribadi_bumdes $data_pribadi_bumdes)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
81
app/Http/Controllers/DataPribadiCaltransController.php
Normal file
81
app/Http/Controllers/DataPribadiCaltransController.php
Normal file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_pribadi_caltrans;
|
||||
use App\Http\Requests\Storedata_pribadi_caltransRequest;
|
||||
use App\Http\Requests\Updatedata_pribadi_caltransRequest;
|
||||
|
||||
class DataPribadiCaltransController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_pribadi=data_pribadi_caltrans::all();
|
||||
return view('CalTrans.index',compact('data_pribadi'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('CalTrans.index',[
|
||||
'data_pribadi'=>data_pribadi_caltrans::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_pribadi_caltransRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nip' => 'required|unique:data_pribadi_kpmds',
|
||||
'nama_lengkap'=>'required',
|
||||
'pangkat'=>'required',
|
||||
'jabatan'=>'required',
|
||||
'instansi'=>'required',
|
||||
'kabupaten'=>'required',
|
||||
'phone_number'=>'required',
|
||||
'pesan'=>'required',
|
||||
'alamat'=>'required'
|
||||
]);
|
||||
data_pribadi_caltrans::create($validateData);
|
||||
return redirect('/data-distrik-caltrans');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_pribadi_caltrans $data_pribadi_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_pribadi_caltrans $data_pribadi_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_pribadi_caltransRequest $request, data_pribadi_caltrans $data_pribadi_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_pribadi_caltrans $data_pribadi_caltrans)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
82
app/Http/Controllers/DataPribadiDeswitaController.php
Normal file
82
app/Http/Controllers/DataPribadiDeswitaController.php
Normal file
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_pribadi_deswita;
|
||||
use App\Http\Requests\Storedata_pribadi_deswitaRequest;
|
||||
use App\Http\Requests\Updatedata_pribadi_deswitaRequest;
|
||||
|
||||
class DataPribadiDeswitaController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_pribadi=data_pribadi_deswita::all();
|
||||
return view('DesWita.index',compact('data_pribadi'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('DesWita.index',[
|
||||
'data_pribadi'=>data_pribadi_deswita::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_pribadi_deswitaRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nip' => 'required|unique:data_pribadi_kpmds',
|
||||
'nama_lengkap'=>'required',
|
||||
'pangkat'=>'required',
|
||||
'jabatan'=>'required',
|
||||
'instansi'=>'required',
|
||||
'kabupaten'=>'required',
|
||||
'phone_number'=>'required',
|
||||
'pesan'=>'required',
|
||||
'alamat'=>'required'
|
||||
]);
|
||||
// dd($validateData);
|
||||
data_pribadi_deswita::create($validateData);
|
||||
return redirect('data-distrik-deswita');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_pribadi_deswita $data_pribadi_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_pribadi_deswita $data_pribadi_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_pribadi_deswitaRequest $request, data_pribadi_deswita $data_pribadi_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_pribadi_deswita $data_pribadi_deswita)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Http/Controllers/PotensiSdmController.php
Normal file
66
app/Http/Controllers/PotensiSdmController.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\potensi_sdm;
|
||||
use App\Http\Requests\Storepotensi_sdmRequest;
|
||||
use App\Http\Requests\Updatepotensi_sdmRequest;
|
||||
|
||||
class PotensiSdmController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storepotensi_sdmRequest $request)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(potensi_sdm $potensi_sdm)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(potensi_sdm $potensi_sdm)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatepotensi_sdmRequest $request, potensi_sdm $potensi_sdm)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(potensi_sdm $potensi_sdm)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_distrik_bumdesRequest.php
Normal file
28
app/Http/Requests/Storedata_distrik_bumdesRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_distrik_bumdesRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_distrik_caltransRequest.php
Normal file
28
app/Http/Requests/Storedata_distrik_caltransRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_distrik_caltransRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_distrik_deswitaRequest.php
Normal file
28
app/Http/Requests/Storedata_distrik_deswitaRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_distrik_deswitaRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_kpmdRequest.php
Normal file
28
app/Http/Requests/Storedata_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_kpmdRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_pribadi_bumdesRequest.php
Normal file
28
app/Http/Requests/Storedata_pribadi_bumdesRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_pribadi_bumdesRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_pribadi_caltransRequest.php
Normal file
28
app/Http/Requests/Storedata_pribadi_caltransRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_pribadi_caltransRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_pribadi_deswitaRequest.php
Normal file
28
app/Http/Requests/Storedata_pribadi_deswitaRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_pribadi_deswitaRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storepotensi_sdmRequest.php
Normal file
28
app/Http/Requests/Storepotensi_sdmRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storepotensi_sdmRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_distrik_bumdesRequest.php
Normal file
28
app/Http/Requests/Updatedata_distrik_bumdesRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_distrik_bumdesRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_distrik_caltransRequest.php
Normal file
28
app/Http/Requests/Updatedata_distrik_caltransRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_distrik_caltransRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_distrik_deswitaRequest.php
Normal file
28
app/Http/Requests/Updatedata_distrik_deswitaRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_distrik_deswitaRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_kpmdRequest.php
Normal file
28
app/Http/Requests/Updatedata_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_kpmdRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_pribadi_bumdesRequest.php
Normal file
28
app/Http/Requests/Updatedata_pribadi_bumdesRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_pribadi_bumdesRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_pribadi_caltransRequest.php
Normal file
28
app/Http/Requests/Updatedata_pribadi_caltransRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_pribadi_caltransRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatedata_pribadi_deswitaRequest.php
Normal file
28
app/Http/Requests/Updatedata_pribadi_deswitaRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_pribadi_deswitaRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
28
app/Http/Requests/Updatepotensi_sdmRequest.php
Normal file
28
app/Http/Requests/Updatepotensi_sdmRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatepotensi_sdmRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
18
app/Models/data_distrik_bumdes.php
Normal file
18
app/Models/data_distrik_bumdes.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_distrik_bumdes extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_distrik_bumdes';
|
||||
protected $fillable = [
|
||||
'nama_distrik',
|
||||
'jumlah_kampung',
|
||||
'jumlah_penduduk'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
18
app/Models/data_distrik_caltrans.php
Normal file
18
app/Models/data_distrik_caltrans.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_distrik_caltrans extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_distrik_caltrans';
|
||||
protected $fillable = [
|
||||
'nama_distrik',
|
||||
'jumlah_kampung',
|
||||
'jumlah_penduduk'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
18
app/Models/data_distrik_deswita.php
Normal file
18
app/Models/data_distrik_deswita.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_distrik_deswita extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_distrik_deswitas';
|
||||
protected $fillable = [
|
||||
'nama_distrik',
|
||||
'jumlah_kampung',
|
||||
'jumlah_penduduk'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
11
app/Models/data_kpmd.php
Normal file
11
app/Models/data_kpmd.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_kpmd extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
}
|
24
app/Models/data_pribadi_bumdes.php
Normal file
24
app/Models/data_pribadi_bumdes.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_pribadi_bumdes extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_pribadi_bumdes';
|
||||
protected $fillable = [
|
||||
'nip',
|
||||
'nama_lengkap',
|
||||
'pangkat',
|
||||
'jabatan',
|
||||
'instansi',
|
||||
'kabupaten',
|
||||
'phone_number',
|
||||
'pesan',
|
||||
'alamat'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
24
app/Models/data_pribadi_caltrans.php
Normal file
24
app/Models/data_pribadi_caltrans.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_pribadi_caltrans extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_pribadi_caltrans';
|
||||
protected $fillable = [
|
||||
'nip',
|
||||
'nama_lengkap',
|
||||
'pangkat',
|
||||
'jabatan',
|
||||
'instansi',
|
||||
'kabupaten',
|
||||
'phone_number',
|
||||
'pesan',
|
||||
'alamat'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
24
app/Models/data_pribadi_deswita.php
Normal file
24
app/Models/data_pribadi_deswita.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class data_pribadi_deswita extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_pribadi_deswitas';
|
||||
protected $fillable = [
|
||||
'nip',
|
||||
'nama_lengkap',
|
||||
'pangkat',
|
||||
'jabatan',
|
||||
'instansi',
|
||||
'kabupaten',
|
||||
'phone_number',
|
||||
'pesan',
|
||||
'alamat'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
16
app/Models/potensi_sdm.php
Normal file
16
app/Models/potensi_sdm.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class potensi_sdm extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table='potensi_sdms';
|
||||
protected $fillable=[
|
||||
'id_sdm',
|
||||
'potensi_sdm'
|
||||
];
|
||||
}
|
66
app/Policies/DataDistrikBumdesPolicy.php
Normal file
66
app/Policies/DataDistrikBumdesPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_distrik_bumdes;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataDistrikBumdesPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_distrik_bumdes $dataDistrikBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_distrik_bumdes $dataDistrikBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_distrik_bumdes $dataDistrikBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_distrik_bumdes $dataDistrikBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_distrik_bumdes $dataDistrikBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataDistrikCaltransPolicy.php
Normal file
66
app/Policies/DataDistrikCaltransPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_distrik_caltrans;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataDistrikCaltransPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_distrik_caltrans $dataDistrikCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_distrik_caltrans $dataDistrikCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_distrik_caltrans $dataDistrikCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_distrik_caltrans $dataDistrikCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_distrik_caltrans $dataDistrikCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataDistrikDeswitaPolicy.php
Normal file
66
app/Policies/DataDistrikDeswitaPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_distrik_deswita;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataDistrikDeswitaPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_distrik_deswita $dataDistrikDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_distrik_deswita $dataDistrikDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_distrik_deswita $dataDistrikDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_distrik_deswita $dataDistrikDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_distrik_deswita $dataDistrikDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataKpmdPolicy.php
Normal file
66
app/Policies/DataKpmdPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_kpmd;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataKpmdPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_kpmd $dataKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_kpmd $dataKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_kpmd $dataKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_kpmd $dataKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_kpmd $dataKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataPribadiBumdesPolicy.php
Normal file
66
app/Policies/DataPribadiBumdesPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_pribadi_bumdes;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataPribadiBumdesPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_pribadi_bumdes $dataPribadiBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_pribadi_bumdes $dataPribadiBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_pribadi_bumdes $dataPribadiBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_pribadi_bumdes $dataPribadiBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_pribadi_bumdes $dataPribadiBumdes): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataPribadiCaltransPolicy.php
Normal file
66
app/Policies/DataPribadiCaltransPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_pribadi_caltrans;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataPribadiCaltransPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_pribadi_caltrans $dataPribadiCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_pribadi_caltrans $dataPribadiCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_pribadi_caltrans $dataPribadiCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_pribadi_caltrans $dataPribadiCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_pribadi_caltrans $dataPribadiCaltrans): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataPribadiDeswitaPolicy.php
Normal file
66
app/Policies/DataPribadiDeswitaPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_pribadi_deswita;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataPribadiDeswitaPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, data_pribadi_deswita $dataPribadiDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, data_pribadi_deswita $dataPribadiDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_pribadi_deswita $dataPribadiDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_pribadi_deswita $dataPribadiDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_pribadi_deswita $dataPribadiDeswita): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/PotensiSdmPolicy.php
Normal file
66
app/Policies/PotensiSdmPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\potensi_sdm;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class PotensiSdmPolicy
|
||||
{
|
||||
/**
|
||||
* Determine whether the user can view any models.
|
||||
*/
|
||||
public function viewAny(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can view the model.
|
||||
*/
|
||||
public function view(User $user, potensi_sdm $potensiSdm): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can create models.
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can update the model.
|
||||
*/
|
||||
public function update(User $user, potensi_sdm $potensiSdm): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, potensi_sdm $potensiSdm): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, potensi_sdm $potensiSdm): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, potensi_sdm $potensiSdm): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
23
database/factories/DataDistrikBumdesFactory.php
Normal file
23
database/factories/DataDistrikBumdesFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_distrik_bumdes>
|
||||
*/
|
||||
class DataDistrikBumdesFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataDistrikCaltransFactory.php
Normal file
23
database/factories/DataDistrikCaltransFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_distrik_caltrans>
|
||||
*/
|
||||
class DataDistrikCaltransFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataDistrikDeswitaFactory.php
Normal file
23
database/factories/DataDistrikDeswitaFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_distrik_deswita>
|
||||
*/
|
||||
class DataDistrikDeswitaFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataKpmdFactory.php
Normal file
23
database/factories/DataKpmdFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_kpmd>
|
||||
*/
|
||||
class DataKpmdFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataPribadiBumdesFactory.php
Normal file
23
database/factories/DataPribadiBumdesFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_pribadi_bumdes>
|
||||
*/
|
||||
class DataPribadiBumdesFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataPribadiCaltransFactory.php
Normal file
23
database/factories/DataPribadiCaltransFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_pribadi_caltrans>
|
||||
*/
|
||||
class DataPribadiCaltransFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataPribadiDeswitaFactory.php
Normal file
23
database/factories/DataPribadiDeswitaFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\data_pribadi_deswita>
|
||||
*/
|
||||
class DataPribadiDeswitaFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/PotensiSdmFactory.php
Normal file
23
database/factories/PotensiSdmFactory.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
/**
|
||||
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\potensi_sdm>
|
||||
*/
|
||||
class PotensiSdmFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_kpmds', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_kpmds');
|
||||
}
|
||||
};
|
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_pribadi_bumdes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nip')->unique();
|
||||
$table->string('nama_lengkap')->notnullable();
|
||||
$table->string('pangkat')->notnullable();
|
||||
$table->string('jabatan')->notnullable();
|
||||
$table->string('instansi')->notnullable();
|
||||
$table->string('kabupaten')->notnullable();
|
||||
$table->string('phone_number')->notnullable();
|
||||
$table->string('pesan')->notnullable();
|
||||
$table->string('alamat')->notnullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_pribadi_bumdes');
|
||||
}
|
||||
};
|
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_distrik_bumdes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nama_distrik');
|
||||
$table->string('jumlah_kampung');
|
||||
$table->string('jumlah_penduduk');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_distrik_bumdes');
|
||||
}
|
||||
};
|
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_pribadi_deswitas', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nip')->unique();
|
||||
$table->string('nama_lengkap')->notnullable();
|
||||
$table->string('pangkat')->notnullable();
|
||||
$table->string('jabatan')->notnullable();
|
||||
$table->string('instansi')->notnullable();
|
||||
$table->string('kabupaten')->notnullable();
|
||||
$table->string('phone_number')->notnullable();
|
||||
$table->string('pesan')->notnullable();
|
||||
$table->string('alamat')->notnullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_pribadi_deswitas');
|
||||
}
|
||||
};
|
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_distrik_deswitas', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nama_distrik');
|
||||
$table->string('jumlah_kampung');
|
||||
$table->string('jumlah_penduduk');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_distrik_deswitas');
|
||||
}
|
||||
};
|
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_pribadi_caltrans', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nip')->unique();
|
||||
$table->string('nama_lengkap')->notnullable();
|
||||
$table->string('pangkat')->notnullable();
|
||||
$table->string('jabatan')->notnullable();
|
||||
$table->string('instansi')->notnullable();
|
||||
$table->string('kabupaten')->notnullable();
|
||||
$table->string('phone_number')->notnullable();
|
||||
$table->string('pesan')->notnullable();
|
||||
$table->string('alamat')->notnullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_pribadi_caltrans');
|
||||
}
|
||||
};
|
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('data_distrik_caltrans', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('nama_distrik');
|
||||
$table->string('jumlah_kampung');
|
||||
$table->string('jumlah_penduduk');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('data_distrik_caltrans');
|
||||
}
|
||||
};
|
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('potensi_sdms', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('id_sdm')->unique();
|
||||
$table->string('potensi_sdm')->notnullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('potensi_sdms');
|
||||
}
|
||||
};
|
17
database/seeders/DataDistrikBumdesSeeder.php
Normal file
17
database/seeders/DataDistrikBumdesSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataDistrikBumdesSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataDistrikCaltransSeeder.php
Normal file
17
database/seeders/DataDistrikCaltransSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataDistrikCaltransSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataDistrikDeswitaSeeder.php
Normal file
17
database/seeders/DataDistrikDeswitaSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataDistrikDeswitaSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataKpmdSeeder.php
Normal file
17
database/seeders/DataKpmdSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataKpmdSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataPribadiBumdesSeeder.php
Normal file
17
database/seeders/DataPribadiBumdesSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataPribadiBumdesSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataPribadiCaltransSeeder.php
Normal file
17
database/seeders/DataPribadiCaltransSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataPribadiCaltransSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataPribadiDeswitaSeeder.php
Normal file
17
database/seeders/DataPribadiDeswitaSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataPribadiDeswitaSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/PotensiSdmSeeder.php
Normal file
17
database/seeders/PotensiSdmSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class PotensiSdmSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
325
resources/views/BumDes/data-distrik.blade.php
Normal file
325
resources/views/BumDes/data-distrik.blade.php
Normal file
@ -0,0 +1,325 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
@push('css')
|
||||
<style>
|
||||
/* Style for select dropdowns */
|
||||
.custom-col-6 {
|
||||
width: 50%;
|
||||
/* Atur lebar kolom sesuai dengan preferensi Anda */
|
||||
float: left;
|
||||
/* Mengatur elemen untuk mengapung ke kiri */
|
||||
}
|
||||
|
||||
.form-select {
|
||||
padding: 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
background-color: #ECEFF1;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
-webkit-appearance: none;
|
||||
/* Remove default arrow on Chrome */
|
||||
-moz-appearance: none;
|
||||
/* Remove default arrow on Firefox */
|
||||
appearance: none;
|
||||
/* Remove default arrow on other browsers */
|
||||
background-image: url("your-arrow-icon.png");
|
||||
/* Add your custom arrow icon */
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.form-select:focus {
|
||||
border: 1px solid #673AB7;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
p {
|
||||
color: grey
|
||||
}
|
||||
|
||||
#heading {
|
||||
text-transform: uppercase;
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
#msform {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-top: 20px
|
||||
}
|
||||
|
||||
#msform fieldset {
|
||||
background: white;
|
||||
border: 0 none;
|
||||
border-radius: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding-bottom: 20px;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.form-card {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#msform fieldset:not(:first-of-type) {
|
||||
display: none
|
||||
}
|
||||
|
||||
#msform input,
|
||||
#msform textarea {
|
||||
padding: 8px 15px 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0px;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 2px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
background-color: #ECEFF1;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px
|
||||
}
|
||||
|
||||
#msform input:focus,
|
||||
#msform textarea:focus {
|
||||
-moz-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 1px solid #673AB7;
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
#msform .action-button {
|
||||
width: 100px;
|
||||
background: #673AB7;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 0px 10px 5px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button:hover,
|
||||
#msform .action-button:focus {
|
||||
background-color: #311B92
|
||||
}
|
||||
|
||||
#msform .action-button-previous {
|
||||
width: 100px;
|
||||
background: #616161;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 5px 10px 0px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button-previous:hover,
|
||||
#msform .action-button-previous:focus {
|
||||
background-color: #000000
|
||||
}
|
||||
|
||||
.card {
|
||||
z-index: 0;
|
||||
border: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* Set the width to 100% to expand horizontally */
|
||||
height: auto;
|
||||
/* Set height to auto to allow the card's content to determine its height */
|
||||
display: block;
|
||||
/* Show the card */
|
||||
transition: height 0.3s ease-in-out;
|
||||
/* Add a smooth transition effect */
|
||||
}
|
||||
|
||||
|
||||
.fs-title {
|
||||
font-size: 25px;
|
||||
color: #673AB7;
|
||||
margin-bottom: 15px;
|
||||
font-weight: normal;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.purple-text {
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
.steps {
|
||||
font-size: 25px;
|
||||
color: gray;
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.fieldlabels {
|
||||
color: gray;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#progressbar {
|
||||
margin-bottom: 30px;
|
||||
overflow: hidden;
|
||||
color: lightgrey
|
||||
}
|
||||
|
||||
#progressbar .active {
|
||||
color: #673AB7
|
||||
}
|
||||
|
||||
#progressbar li {
|
||||
list-style-type: none;
|
||||
font-size: 15px;
|
||||
width: 25%;
|
||||
float: left;
|
||||
position: relative;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
#progressbar #account:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f13e"
|
||||
}
|
||||
|
||||
#progressbar #personal:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f007"
|
||||
}
|
||||
|
||||
#progressbar #payment:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f030"
|
||||
}
|
||||
|
||||
#progressbar #confirm:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f00c"
|
||||
}
|
||||
|
||||
#progressbar li:before {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 45px;
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
color: #ffffff;
|
||||
background: lightgray;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 2px
|
||||
}
|
||||
|
||||
#progressbar li:after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: lightgray;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 25px;
|
||||
z-index: -1
|
||||
}
|
||||
|
||||
#progressbar li.active:before,
|
||||
#progressbar li.active:after {
|
||||
background: #673AB7
|
||||
}
|
||||
|
||||
.progress {
|
||||
height: 20px
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: #673AB7
|
||||
}
|
||||
|
||||
.fit-image {
|
||||
width: 100%;
|
||||
object-fit: cover
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-9 col-md-7 col-lg-9 text-center p-0 mt-3 mb-2">
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Badan Usaha Milik Desa</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
{{-- <div class="card-body">
|
||||
@if (session()->has('pesan'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('pesan') }} </div>
|
||||
@endif
|
||||
</div> --}}
|
||||
<form id="msform" action="/data-distrik-bumdes" method="POST">
|
||||
@csrf
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
<h2 class="fs-title">Data Distrik</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Nama Distrik</label>
|
||||
<input type="text" class="form-control" name="nama_distrik">
|
||||
@error('nama_distrik')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Kampung</label>
|
||||
<input type="text" class="form-control" name="jumlah_kampung">
|
||||
@error('jumlah_kampung')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Penduduk</label>
|
||||
<input type="text" class="form-control" name="jumlah_penduduk">
|
||||
@error('jumlah_penduduk')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
@ -254,9 +254,10 @@
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Badan Usaha Milik Desa</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
<form id="msform" action="">
|
||||
<form id="msform" action="/bumdes" method="POST">
|
||||
@csrf
|
||||
<!-- progressbar -->
|
||||
<ul id="progressbar">
|
||||
{{-- <ul id="progressbar">
|
||||
<li class="active" id="account"><strong>Data Pribadi</strong></li>
|
||||
<li id="personal"><strong>Data Distrik</strong></li>
|
||||
<li id="payment"><strong>Data BumDes</strong></li>
|
||||
@ -265,7 +266,7 @@
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
|
||||
aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div> <br> <!-- fieldsets -->
|
||||
</div> <br> <!-- fieldsets --> --}}
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
@ -277,52 +278,91 @@
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">NIP</label>
|
||||
<input type="text" class="form-control" name="nip">
|
||||
@error('nip')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Nama Lengkap</label>
|
||||
<input type="text" class="form-control" name="nama">
|
||||
<input type="text" class="form-control" name="nama_lengkap">
|
||||
@error('nama_lengkap')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pangkat/Golongan</label>
|
||||
<input type="text" class="form-control" name="percentage">
|
||||
<input type="text" class="form-control" name="pangkat">
|
||||
@error('pangkat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Jabatan</label>
|
||||
<input type="text" class="form-control" name="jabatan">
|
||||
@error('jabatan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Instansi</label>
|
||||
<input type="text" class="form-control" name="instansi">
|
||||
@error('instansi')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Kabupaten</label>
|
||||
<input type="text" class="form-control" name="kabupaten">
|
||||
@error('kabupaten')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">No. HP</label>
|
||||
<input type="text" class="form-control" name="NoHP">
|
||||
<input type="text" class="form-control" name="phone_number">
|
||||
@error('phone_number')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pesan</label>
|
||||
<textarea type="text" class="form-control" name="pesan"></textarea>
|
||||
@error('pesan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<label class="fieldlabels">Alamat</label>
|
||||
<textarea type="text" class="form-control" name="alamat"></textarea>
|
||||
@error('alamat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="button" name="next" class="next action-button" value="Next" />
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
{{-- <input type="button" name="next" class="next action-button" value="Next" /> --}}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
{{-- <fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
@ -337,8 +377,9 @@
|
||||
class="fieldlabels">Jumlah
|
||||
Penduduk</label>
|
||||
<input type="text" class="form-control" name="jumlah-penduduk">
|
||||
</div> <input type="button" name="next" class="next action-button" value="Next" /> <input
|
||||
type="button" name="previous" class="previous action-button-previous" value="Previous" />
|
||||
</div> <input type="button" name="next" class="next action-button" value="Next" />
|
||||
<input type="button" name="previous" class="previous action-button-previous"
|
||||
value="Previous" />
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
@ -359,7 +400,7 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
{{-- <label class="fieldlabels">Potensi SDA</label>
|
||||
<label class="fieldlabels">Potensi SDA</label>
|
||||
<select class="form-select" aria-label="Potensi SDA" style="width:100%">
|
||||
<option selected>Potensi SDA</option>
|
||||
<option value="1">Pertanian</option>
|
||||
@ -367,7 +408,7 @@
|
||||
<option value="3">Perikanan</option>
|
||||
<option value="4">Perkebunan</option>
|
||||
<option value="5">Kehutanan</option>
|
||||
</select> --}}
|
||||
</select>
|
||||
<label class="fieldlabels">Potensi SDA</label>
|
||||
<input type="text" class="form-control" name="pertanian"
|
||||
placeholder="Pertanian" style="margin-bottom: 25px">
|
||||
@ -383,7 +424,7 @@
|
||||
placeholder="lainnya" style="margin-bottom: 25px">
|
||||
|
||||
</div>
|
||||
{{-- <div class="form-group">
|
||||
<div class="form-group">
|
||||
<label class="fieldlabels">Potensi Kelembagaan</label>
|
||||
<select class="form-select" aria-label="Potensi Kelembagaan"
|
||||
style="width:100%">
|
||||
@ -391,7 +432,7 @@
|
||||
<option value="1">Kelembagaan Adat</option>
|
||||
<option value="2">Kelembagaan Sosial</option>
|
||||
</select>
|
||||
</div> --}}
|
||||
</div>
|
||||
<label class="fieldlabels">Potensi Aset</label>
|
||||
<input type="text" class="form-control" name="potensi-aset">
|
||||
<label class="fieldlabels">Jenis Pelatihan Yang Pernah Diikuti</label>
|
||||
@ -542,13 +583,13 @@
|
||||
</div>
|
||||
<input type="button" name="print" class="print action-button" value="Print" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</fieldset> --}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@push('js')
|
||||
{{-- @push('js')
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
@ -621,5 +662,5 @@
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endpush --}}
|
||||
@endsection
|
||||
|
325
resources/views/CalTrans/data-distrik.blade.php
Normal file
325
resources/views/CalTrans/data-distrik.blade.php
Normal file
@ -0,0 +1,325 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
@push('css')
|
||||
<style>
|
||||
/* Style for select dropdowns */
|
||||
.custom-col-6 {
|
||||
width: 50%;
|
||||
/* Atur lebar kolom sesuai dengan preferensi Anda */
|
||||
float: left;
|
||||
/* Mengatur elemen untuk mengapung ke kiri */
|
||||
}
|
||||
|
||||
.form-select {
|
||||
padding: 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
background-color: #ECEFF1;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
-webkit-appearance: none;
|
||||
/* Remove default arrow on Chrome */
|
||||
-moz-appearance: none;
|
||||
/* Remove default arrow on Firefox */
|
||||
appearance: none;
|
||||
/* Remove default arrow on other browsers */
|
||||
background-image: url("your-arrow-icon.png");
|
||||
/* Add your custom arrow icon */
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.form-select:focus {
|
||||
border: 1px solid #673AB7;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
p {
|
||||
color: grey
|
||||
}
|
||||
|
||||
#heading {
|
||||
text-transform: uppercase;
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
#msform {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-top: 20px
|
||||
}
|
||||
|
||||
#msform fieldset {
|
||||
background: white;
|
||||
border: 0 none;
|
||||
border-radius: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding-bottom: 20px;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.form-card {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#msform fieldset:not(:first-of-type) {
|
||||
display: none
|
||||
}
|
||||
|
||||
#msform input,
|
||||
#msform textarea {
|
||||
padding: 8px 15px 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0px;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 2px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
background-color: #ECEFF1;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px
|
||||
}
|
||||
|
||||
#msform input:focus,
|
||||
#msform textarea:focus {
|
||||
-moz-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 1px solid #673AB7;
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
#msform .action-button {
|
||||
width: 100px;
|
||||
background: #673AB7;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 0px 10px 5px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button:hover,
|
||||
#msform .action-button:focus {
|
||||
background-color: #311B92
|
||||
}
|
||||
|
||||
#msform .action-button-previous {
|
||||
width: 100px;
|
||||
background: #616161;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 5px 10px 0px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button-previous:hover,
|
||||
#msform .action-button-previous:focus {
|
||||
background-color: #000000
|
||||
}
|
||||
|
||||
.card {
|
||||
z-index: 0;
|
||||
border: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* Set the width to 100% to expand horizontally */
|
||||
height: auto;
|
||||
/* Set height to auto to allow the card's content to determine its height */
|
||||
display: block;
|
||||
/* Show the card */
|
||||
transition: height 0.3s ease-in-out;
|
||||
/* Add a smooth transition effect */
|
||||
}
|
||||
|
||||
|
||||
.fs-title {
|
||||
font-size: 25px;
|
||||
color: #673AB7;
|
||||
margin-bottom: 15px;
|
||||
font-weight: normal;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.purple-text {
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
.steps {
|
||||
font-size: 25px;
|
||||
color: gray;
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.fieldlabels {
|
||||
color: gray;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#progressbar {
|
||||
margin-bottom: 30px;
|
||||
overflow: hidden;
|
||||
color: lightgrey
|
||||
}
|
||||
|
||||
#progressbar .active {
|
||||
color: #673AB7
|
||||
}
|
||||
|
||||
#progressbar li {
|
||||
list-style-type: none;
|
||||
font-size: 15px;
|
||||
width: 25%;
|
||||
float: left;
|
||||
position: relative;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
#progressbar #account:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f13e"
|
||||
}
|
||||
|
||||
#progressbar #personal:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f007"
|
||||
}
|
||||
|
||||
#progressbar #payment:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f030"
|
||||
}
|
||||
|
||||
#progressbar #confirm:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f00c"
|
||||
}
|
||||
|
||||
#progressbar li:before {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 45px;
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
color: #ffffff;
|
||||
background: lightgray;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 2px
|
||||
}
|
||||
|
||||
#progressbar li:after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: lightgray;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 25px;
|
||||
z-index: -1
|
||||
}
|
||||
|
||||
#progressbar li.active:before,
|
||||
#progressbar li.active:after {
|
||||
background: #673AB7
|
||||
}
|
||||
|
||||
.progress {
|
||||
height: 20px
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: #673AB7
|
||||
}
|
||||
|
||||
.fit-image {
|
||||
width: 100%;
|
||||
object-fit: cover
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-9 col-md-7 col-lg-9 text-center p-0 mt-3 mb-2">
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Calon Transmigrasi</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
{{-- <div class="card-body">
|
||||
@if (session()->has('pesan'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('pesan') }} </div>
|
||||
@endif
|
||||
</div> --}}
|
||||
<form id="msform" action="/data-distrik-caltrans" method="POST">
|
||||
@csrf
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
<h2 class="fs-title">Data Distrik</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Nama Distrik</label>
|
||||
<input type="text" class="form-control" name="nama_distrik">
|
||||
@error('nama_distrik')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Kampung</label>
|
||||
<input type="text" class="form-control" name="jumlah_kampung">
|
||||
@error('jumlah_kampung')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Penduduk</label>
|
||||
<input type="text" class="form-control" name="jumlah_penduduk">
|
||||
@error('jumlah_penduduk')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
@ -254,9 +254,10 @@
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Calon Transmigrasi</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
<form id="msform" action="">
|
||||
<form id="msform" action="/caltrans" method="POST">
|
||||
@csrf
|
||||
<!-- progressbar -->
|
||||
<ul id="progressbar">
|
||||
{{-- <ul id="progressbar">
|
||||
<li class="active" id="account"><strong>Data Pribadi</strong></li>
|
||||
<li id="personal"><strong>Data Distrik</strong></li>
|
||||
<li id="payment"><strong>Data CalTrans</strong></li>
|
||||
@ -265,8 +266,103 @@
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
|
||||
aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div> <br> <!-- fieldsets -->
|
||||
</div> <br> <!-- fieldsets --> --}}
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h2 class="fs-title">Data Pribadi</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">NIP</label>
|
||||
<input type="text" class="form-control" name="nip">
|
||||
@error('nip')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Nama Lengkap</label>
|
||||
<input type="text" class="form-control" name="nama_lengkap">
|
||||
@error('nama_lengkap')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pangkat/Golongan</label>
|
||||
<input type="text" class="form-control" name="pangkat">
|
||||
@error('pangkat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Jabatan</label>
|
||||
<input type="text" class="form-control" name="jabatan">
|
||||
@error('jabatan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Instansi</label>
|
||||
<input type="text" class="form-control" name="instansi">
|
||||
@error('instansi')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Kabupaten</label>
|
||||
<input type="text" class="form-control" name="kabupaten">
|
||||
@error('kabupaten')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">No. HP</label>
|
||||
<input type="text" class="form-control" name="phone_number">
|
||||
@error('phone_number')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pesan</label>
|
||||
<textarea type="text" class="form-control" name="pesan"></textarea>
|
||||
@error('pesan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<label class="fieldlabels">Alamat</label>
|
||||
<textarea type="text" class="form-control" name="alamat"></textarea>
|
||||
@error('alamat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
{{-- <input type="button" name="next" class="next action-button" value="Next" /> --}}
|
||||
</fieldset>
|
||||
{{-- <fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@ -525,13 +621,13 @@
|
||||
</div>
|
||||
<input type="button" name="print" class="print action-button" value="Print" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</fieldset> --}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@push('js')
|
||||
{{-- @push('js')
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
@ -604,5 +700,5 @@
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endpush --}}
|
||||
@endsection
|
||||
|
325
resources/views/DesWita/data-distrik.blade.php
Normal file
325
resources/views/DesWita/data-distrik.blade.php
Normal file
@ -0,0 +1,325 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
@push('css')
|
||||
<style>
|
||||
/* Style for select dropdowns */
|
||||
.custom-col-6 {
|
||||
width: 50%;
|
||||
/* Atur lebar kolom sesuai dengan preferensi Anda */
|
||||
float: left;
|
||||
/* Mengatur elemen untuk mengapung ke kiri */
|
||||
}
|
||||
|
||||
.form-select {
|
||||
padding: 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
background-color: #ECEFF1;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
-webkit-appearance: none;
|
||||
/* Remove default arrow on Chrome */
|
||||
-moz-appearance: none;
|
||||
/* Remove default arrow on Firefox */
|
||||
appearance: none;
|
||||
/* Remove default arrow on other browsers */
|
||||
background-image: url("your-arrow-icon.png");
|
||||
/* Add your custom arrow icon */
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.form-select:focus {
|
||||
border: 1px solid #673AB7;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
p {
|
||||
color: grey
|
||||
}
|
||||
|
||||
#heading {
|
||||
text-transform: uppercase;
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
#msform {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-top: 20px
|
||||
}
|
||||
|
||||
#msform fieldset {
|
||||
background: white;
|
||||
border: 0 none;
|
||||
border-radius: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding-bottom: 20px;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.form-card {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#msform fieldset:not(:first-of-type) {
|
||||
display: none
|
||||
}
|
||||
|
||||
#msform input,
|
||||
#msform textarea {
|
||||
padding: 8px 15px 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0px;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 2px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
background-color: #ECEFF1;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px
|
||||
}
|
||||
|
||||
#msform input:focus,
|
||||
#msform textarea:focus {
|
||||
-moz-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 1px solid #673AB7;
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
#msform .action-button {
|
||||
width: 100px;
|
||||
background: #673AB7;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 0px 10px 5px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button:hover,
|
||||
#msform .action-button:focus {
|
||||
background-color: #311B92
|
||||
}
|
||||
|
||||
#msform .action-button-previous {
|
||||
width: 100px;
|
||||
background: #616161;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 5px 10px 0px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button-previous:hover,
|
||||
#msform .action-button-previous:focus {
|
||||
background-color: #000000
|
||||
}
|
||||
|
||||
.card {
|
||||
z-index: 0;
|
||||
border: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* Set the width to 100% to expand horizontally */
|
||||
height: auto;
|
||||
/* Set height to auto to allow the card's content to determine its height */
|
||||
display: block;
|
||||
/* Show the card */
|
||||
transition: height 0.3s ease-in-out;
|
||||
/* Add a smooth transition effect */
|
||||
}
|
||||
|
||||
|
||||
.fs-title {
|
||||
font-size: 25px;
|
||||
color: #673AB7;
|
||||
margin-bottom: 15px;
|
||||
font-weight: normal;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.purple-text {
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
.steps {
|
||||
font-size: 25px;
|
||||
color: gray;
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.fieldlabels {
|
||||
color: gray;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#progressbar {
|
||||
margin-bottom: 30px;
|
||||
overflow: hidden;
|
||||
color: lightgrey
|
||||
}
|
||||
|
||||
#progressbar .active {
|
||||
color: #673AB7
|
||||
}
|
||||
|
||||
#progressbar li {
|
||||
list-style-type: none;
|
||||
font-size: 15px;
|
||||
width: 25%;
|
||||
float: left;
|
||||
position: relative;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
#progressbar #account:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f13e"
|
||||
}
|
||||
|
||||
#progressbar #personal:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f007"
|
||||
}
|
||||
|
||||
#progressbar #payment:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f030"
|
||||
}
|
||||
|
||||
#progressbar #confirm:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f00c"
|
||||
}
|
||||
|
||||
#progressbar li:before {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 45px;
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
color: #ffffff;
|
||||
background: lightgray;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 2px
|
||||
}
|
||||
|
||||
#progressbar li:after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: lightgray;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 25px;
|
||||
z-index: -1
|
||||
}
|
||||
|
||||
#progressbar li.active:before,
|
||||
#progressbar li.active:after {
|
||||
background: #673AB7
|
||||
}
|
||||
|
||||
.progress {
|
||||
height: 20px
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: #673AB7
|
||||
}
|
||||
|
||||
.fit-image {
|
||||
width: 100%;
|
||||
object-fit: cover
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-9 col-md-7 col-lg-9 text-center p-0 mt-3 mb-2">
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Desa Wisata</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
{{-- <div class="card-body">
|
||||
@if (session()->has('pesan'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('pesan') }} </div>
|
||||
@endif
|
||||
</div> --}}
|
||||
<form id="msform" action="/data-distrik-deswita" method="POST">
|
||||
@csrf
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
<h2 class="fs-title">Data Distrik</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Nama Distrik</label>
|
||||
<input type="text" class="form-control" name="nama_distrik">
|
||||
@error('nama_distrik')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Kampung</label>
|
||||
<input type="text" class="form-control" name="jumlah_kampung">
|
||||
@error('jumlah_kampung')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div>
|
||||
<label class="fieldlabels">Jumlah
|
||||
Penduduk</label>
|
||||
<input type="text" class="form-control" name="jumlah_penduduk">
|
||||
@error('jumlah_penduduk')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
@ -255,9 +255,10 @@
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Desa Wisata</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
<form id="msform" action="">
|
||||
<form id="msform" action="/deswita" method="post">
|
||||
@csrf
|
||||
<!-- progressbar -->
|
||||
<ul id="progressbar">
|
||||
{{-- <ul id="progressbar">
|
||||
<li class="active" id="account"><strong>Data Pribadi</strong></li>
|
||||
<li id="personal"><strong>Data Distrik</strong></li>
|
||||
<li id="payment"><strong>Data DesWita</strong></li>
|
||||
@ -266,7 +267,7 @@
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar"
|
||||
aria-valuemin="0" aria-valuemax="100"></div>
|
||||
</div> <br> <!-- fieldsets -->
|
||||
</div> <br> <!-- fieldsets --> --}}
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
@ -278,52 +279,91 @@
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">NIP</label>
|
||||
<input type="text" class="form-control" name="nip">
|
||||
@error('nip')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Nama Lengkap</label>
|
||||
<input type="text" class="form-control" name="nama">
|
||||
<input type="text" class="form-control" name="nama_lengkap">
|
||||
@error('nama_lengkap')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pangkat/Golongan</label>
|
||||
<input type="text" class="form-control" name="percentage">
|
||||
<input type="text" class="form-control" name="pangkat">
|
||||
@error('pangkat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Jabatan</label>
|
||||
<input type="text" class="form-control" name="jabatan">
|
||||
@error('jabatan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Instansi</label>
|
||||
<input type="text" class="form-control" name="instansi">
|
||||
@error('instansi')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Kabupaten</label>
|
||||
<input type="text" class="form-control" name="kabupaten">
|
||||
@error('kabupaten')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">No. HP</label>
|
||||
<input type="text" class="form-control" name="NoHP">
|
||||
<input type="text" class="form-control" name="phone_number">
|
||||
@error('phone_number')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="fieldlabels">Pesan</label>
|
||||
<textarea type="text" class="form-control" name="pesan"></textarea>
|
||||
@error('pesan')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<label class="fieldlabels">Alamat</label>
|
||||
<textarea type="text" class="form-control" name="alamat"></textarea>
|
||||
@error('alamat')
|
||||
<p class="text text-danger">
|
||||
{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<input type="button" name="next" class="next action-button" value="Next" />
|
||||
<div class="text-right">
|
||||
<button class="btn btn-success">Next</button>
|
||||
</div>
|
||||
{{-- <input type="button" name="next" class="next action-button" value="Next" /> --}}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
{{-- <fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-7">
|
||||
@ -495,13 +535,13 @@
|
||||
</div>
|
||||
<input type="button" name="print" class="print action-button" value="Print" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</fieldset> --}}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@push('js')
|
||||
{{-- @push('js')
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
@ -574,5 +614,5 @@
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endpush --}}
|
||||
@endsection
|
||||
|
@ -271,12 +271,12 @@
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Kader Pemberdayaan Masyarakat Desa</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
<div class="card-body">
|
||||
{{-- <div class="card-body">
|
||||
@if (session()->has('pesan'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('pesan') }} </div>
|
||||
@endif
|
||||
</div>
|
||||
</div> --}}
|
||||
<form id="msform" action="/data-distrik-kpmd" method="POST">
|
||||
@csrf
|
||||
<fieldset>
|
||||
|
351
resources/views/KPMD/data-kpmd.blade.php
Normal file
351
resources/views/KPMD/data-kpmd.blade.php
Normal file
@ -0,0 +1,351 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
@push('css')
|
||||
<style>
|
||||
/* Style for select dropdowns */
|
||||
.custom-col-6 {
|
||||
width: 50%;
|
||||
/* Atur lebar kolom sesuai dengan preferensi Anda */
|
||||
float: left;
|
||||
/* Mengatur elemen untuk mengapung ke kiri */
|
||||
}
|
||||
|
||||
.form-select {
|
||||
padding: 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0;
|
||||
width: 100%;
|
||||
background-color: #ECEFF1;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px;
|
||||
-webkit-appearance: none;
|
||||
/* Remove default arrow on Chrome */
|
||||
-moz-appearance: none;
|
||||
/* Remove default arrow on Firefox */
|
||||
appearance: none;
|
||||
/* Remove default arrow on other browsers */
|
||||
background-image: url("your-arrow-icon.png");
|
||||
/* Add your custom arrow icon */
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.form-select:focus {
|
||||
border: 1px solid #673AB7;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%
|
||||
}
|
||||
|
||||
p {
|
||||
color: grey
|
||||
}
|
||||
|
||||
#heading {
|
||||
text-transform: uppercase;
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
#msform {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
margin-top: 20px
|
||||
}
|
||||
|
||||
#msform fieldset {
|
||||
background: white;
|
||||
border: 0 none;
|
||||
border-radius: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding-bottom: 20px;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.form-card {
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#msform fieldset:not(:first-of-type) {
|
||||
display: none
|
||||
}
|
||||
|
||||
#msform input,
|
||||
#msform textarea {
|
||||
padding: 8px 15px 8px 15px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0px;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 2px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
font-family: montserrat;
|
||||
color: #2C3E50;
|
||||
background-color: #ECEFF1;
|
||||
font-size: 16px;
|
||||
letter-spacing: 1px
|
||||
}
|
||||
|
||||
#msform input:focus,
|
||||
#msform textarea:focus {
|
||||
-moz-box-shadow: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
border: 1px solid #673AB7;
|
||||
outline-width: 0
|
||||
}
|
||||
|
||||
#msform .action-button {
|
||||
width: 100px;
|
||||
background: #673AB7;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 0px 10px 5px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button:hover,
|
||||
#msform .action-button:focus {
|
||||
background-color: #311B92
|
||||
}
|
||||
|
||||
#msform .action-button-previous {
|
||||
width: 100px;
|
||||
background: #616161;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
border: 0 none;
|
||||
border-radius: 0px;
|
||||
cursor: pointer;
|
||||
padding: 10px 5px;
|
||||
margin: 10px 5px 10px 0px;
|
||||
float: right
|
||||
}
|
||||
|
||||
#msform .action-button-previous:hover,
|
||||
#msform .action-button-previous:focus {
|
||||
background-color: #000000
|
||||
}
|
||||
|
||||
.card {
|
||||
z-index: 0;
|
||||
border: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* Set the width to 100% to expand horizontally */
|
||||
height: auto;
|
||||
/* Set height to auto to allow the card's content to determine its height */
|
||||
display: block;
|
||||
/* Show the card */
|
||||
transition: height 0.3s ease-in-out;
|
||||
/* Add a smooth transition effect */
|
||||
}
|
||||
|
||||
|
||||
.fs-title {
|
||||
font-size: 25px;
|
||||
color: #673AB7;
|
||||
margin-bottom: 15px;
|
||||
font-weight: normal;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
.purple-text {
|
||||
color: #673AB7;
|
||||
font-weight: normal
|
||||
}
|
||||
|
||||
.steps {
|
||||
font-size: 25px;
|
||||
color: gray;
|
||||
margin-bottom: 10px;
|
||||
font-weight: normal;
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.fieldlabels {
|
||||
color: gray;
|
||||
text-align: left
|
||||
}
|
||||
|
||||
#progressbar {
|
||||
margin-bottom: 30px;
|
||||
overflow: hidden;
|
||||
color: lightgrey
|
||||
}
|
||||
|
||||
#progressbar .active {
|
||||
color: #673AB7
|
||||
}
|
||||
|
||||
#progressbar li {
|
||||
list-style-type: none;
|
||||
font-size: 15px;
|
||||
width: 25%;
|
||||
float: left;
|
||||
position: relative;
|
||||
font-weight: 400
|
||||
}
|
||||
|
||||
#progressbar #account:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f13e"
|
||||
}
|
||||
|
||||
#progressbar #personal:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f007"
|
||||
}
|
||||
|
||||
#progressbar #payment:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f030"
|
||||
}
|
||||
|
||||
#progressbar #confirm:before {
|
||||
font-family: FontAwesome;
|
||||
content: "\f00c"
|
||||
}
|
||||
|
||||
#progressbar li:before {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
line-height: 45px;
|
||||
display: block;
|
||||
font-size: 20px;
|
||||
color: #ffffff;
|
||||
background: lightgray;
|
||||
border-radius: 50%;
|
||||
margin: 0 auto 10px auto;
|
||||
padding: 2px
|
||||
}
|
||||
|
||||
#progressbar li:after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: lightgray;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 25px;
|
||||
z-index: -1
|
||||
}
|
||||
|
||||
#progressbar li.active:before,
|
||||
#progressbar li.active:after {
|
||||
background: #673AB7
|
||||
}
|
||||
|
||||
.progress {
|
||||
height: 20px
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
background-color: #673AB7
|
||||
}
|
||||
|
||||
.fit-image {
|
||||
width: 100%;
|
||||
object-fit: cover
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-11 col-sm-9 col-md-7 col-lg-9 text-center p-0 mt-3 mb-2">
|
||||
<div class="card px-0 pt-4 pb-0 mt-3 mb-3">
|
||||
<h2 id="heading">Form Pelatihan Kader Pemberdayaan Masyarakat Desa</h2>
|
||||
<p>Fill all form field to go to next step</p>
|
||||
{{-- <div class="card-body">
|
||||
@if (session()->has('pesan'))
|
||||
<div class="alert alert-success" role="alert">
|
||||
{{ session('pesan') }} </div>
|
||||
@endif
|
||||
</div> --}}
|
||||
<form id="msform" action="/kpmd-data-kpmd" method="POST">
|
||||
@csrf
|
||||
<fieldset>
|
||||
<div class="form-card">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<h2 class="fs-title">Data KPMD</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<!-- First column for left-aligned elements -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="fieldlabels">Pendidikan</label>
|
||||
<select class="form-select" aria-label="Pendidikan" style="width:100%">
|
||||
<option selected>Pendidikan</option>
|
||||
<option value="1">SMP</option>
|
||||
<option value="2">SMA</option>
|
||||
<option value="3">Sarjana</option>
|
||||
</select>
|
||||
</div>
|
||||
<label class="fieldlabels">Potensi SDA</label>
|
||||
<input type="text" class="form-control" name="pertanian" placeholder="Pertanian"
|
||||
style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="peternakan"
|
||||
placeholder="Peternakan" style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="perikanan" placeholder="Perikanan"
|
||||
style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="perkebunan"
|
||||
placeholder="Perkenunan" style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="kehutanan" placeholder="Kehutanan"
|
||||
style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="lainnya" placeholder="lainnya"
|
||||
style="margin-bottom: 25px">
|
||||
</div>
|
||||
<!-- Second column for right-aligned elements -->
|
||||
<div class="col-md-6">
|
||||
|
||||
<label class="fieldlabels">Kelembagaan</label>
|
||||
<input type="text" class="form-control" name="kelembagaan-adat"
|
||||
placeholder="Kelembagaan Adat" style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="kelembagaan-sosial"
|
||||
placeholder="Kelembagaan Sosial" style="margin-bottom: 25px">
|
||||
<label class="fieldlabels">Kampung Binaan</label>
|
||||
<input type="text" class="form-control" name="kampung-binaan">
|
||||
<label class="fieldlabels">Jenis Pelatihan Yang Pernah Diikuti</label>
|
||||
<input type="text" class="form-control" name="jenis-pelatihan">
|
||||
<label class="fieldlabels">Moda Transportasi</label>
|
||||
<input type="text" class="form-control" name="jarak-tempuh-bandara"
|
||||
placeholder="Jarak tempuh dari Bandara ke Distrik" style="margin-bottom: 25px">
|
||||
<input type="text" class="form-control" name="jarak-tempuh-kampung"
|
||||
placeholder="Jarak tempuh Distrik ke Kampung">
|
||||
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label>Sharing Information</label>
|
||||
<textarea type="text" class="form-control" name="sharing-information"></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<input type="button" name="next" class="next action-button" value="Submit" />
|
||||
<input type="button" name="previous" class="previous action-button-previous"
|
||||
value="Previous" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
3
resources/views/SDM/create.blade.php
Normal file
3
resources/views/SDM/create.blade.php
Normal file
@ -0,0 +1,3 @@
|
||||
@extends('layout.main')
|
||||
@section('content')
|
||||
@endsection
|
@ -127,7 +127,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3">
|
||||
<a href="/data-pribadi-bumdes" style="color: black">
|
||||
<a href="/bumdes" style="color: black">
|
||||
<div class="box">
|
||||
<div class="img-box">
|
||||
<img src="images/s2.png" alt="">
|
||||
@ -144,7 +144,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3">
|
||||
<a href="/data-pribadi-deswita" style="color: black">
|
||||
<a href="/deswita" style="color: black">
|
||||
<div class="box">
|
||||
<div class="img-box">
|
||||
<img src="images/s3.png" alt="">
|
||||
@ -161,7 +161,7 @@
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-6 col-lg-3">
|
||||
<a href="/data-pribadi-caltrans" style="color: black">
|
||||
<a href="/caltrans" style="color: black">
|
||||
<div class="box">
|
||||
<div class="img-box">
|
||||
<img src="images/s4.png" alt="">
|
||||
|
@ -1,6 +1,13 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\DataDistrikBumdesController;
|
||||
use App\Http\Controllers\DataDistrikCaltransController;
|
||||
use App\Http\Controllers\DataDistrikDeswitaController;
|
||||
use App\Http\Controllers\DataDistrikKpmdController;
|
||||
use App\Http\Controllers\DataKpmdController;
|
||||
use App\Http\Controllers\DataPribadiBumdesController;
|
||||
use App\Http\Controllers\DataPribadiCaltransController;
|
||||
use App\Http\Controllers\DataPribadiDeswitaController;
|
||||
use App\Http\Controllers\DataPribadiKpmdController;
|
||||
use Dflydev\DotAccessData\Data;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
@ -34,9 +41,21 @@ Route::get('/data-pribadi-caltrans', function () {
|
||||
Route::get('/data-pribadi-deswita', function () {
|
||||
return view('DesWita.index');
|
||||
});
|
||||
Route::get('/data-distrik-kpmd', function () {
|
||||
return view('KPMD.data-distrik');
|
||||
});
|
||||
// Route::get('/data-distrik-kpmd', function () {
|
||||
// return view('KPMD.data-distrik');
|
||||
// });
|
||||
|
||||
Route::resource('kpmd', DataPribadiKpmdController::class)->parameter('kpmd', 'data_pribadi_kpmds');
|
||||
Route::resource('data-distrik-kpmd', DataDistrikKpmdController::class)->parameter('data-distrik-kpmd', 'data_distrik_kpmds');
|
||||
Route::resource('kpmd-data-kpmd', DataKpmdController::class)->parameter('kpmd-data-kpmd', 'data-kpmds');
|
||||
|
||||
|
||||
Route::resource('bumdes', DataPribadiBumdesController::class)->parameter('bumdes', 'data_pribadi_bumdes');
|
||||
Route::resource('data-distrik-bumdes', DataDistrikBumdesController::class)->parameter('data-distrik-bumdes', 'data_distrik_bumdes');
|
||||
Route::resource('bumdes-data-bumdes', DataBumdesController::class)->parameter('bumdes-data-bumdes', 'data_bumdes');
|
||||
|
||||
Route::resource('deswita', DataPribadiDeswitaController::class)->parameter('deswita', 'data_pribadi_deswitas');
|
||||
Route::resource('data-distrik-deswita', DataDistrikDeswitaController::class)->parameter('data-distrik-deswita', 'data_distrik_deswitas');
|
||||
|
||||
Route::resource('caltrans', DataPribadiCaltransController::class)->parameter('caltrans', 'data_pribadi_caltrans');
|
||||
Route::resource('data-distrik-caltrans', DataDistrikCaltransController::class)->parameter('data-distrik-caltrans', 'data_distrik_caltrans');
|
Loading…
Reference in New Issue
Block a user