pelayanan
This commit is contained in:
parent
da4fd7d618
commit
576f8415d8
75
app/Http/Controllers/DataDistrikKpmdController.php
Normal file
75
app/Http/Controllers/DataDistrikKpmdController.php
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_distrik_kpmd;
|
||||
use App\Http\Requests\Storedata_distrik_kpmdRequest;
|
||||
use App\Http\Requests\Updatedata_distrik_kpmdRequest;
|
||||
|
||||
class DataDistrikKpmdController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_distrik=data_distrik_kpmd::all();
|
||||
return view('KPMD.data-distrik',compact('data_distrik'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('KPMD.data-distrik',[
|
||||
'data_distrik'=>data_distrik_kpmd::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_distrik_kpmdRequest $request)
|
||||
{
|
||||
$validateData=$request->validate([
|
||||
'nama_distrik'=>'required',
|
||||
'jumlah_kampung'=>'required',
|
||||
'jumlah_penduduk'=>'required'
|
||||
]);
|
||||
data_distrik_kpmd::created($validateData);
|
||||
return redirect('/data-distrik-kpmd')->with('pesan','Data berhasil ditambah');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_distrik_kpmd $data_distrik_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_distrik_kpmd $data_distrik_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_distrik_kpmdRequest $request, data_distrik_kpmd $data_distrik_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_distrik_kpmd $data_distrik_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
81
app/Http/Controllers/DataPribadiKpmdController.php
Normal file
81
app/Http/Controllers/DataPribadiKpmdController.php
Normal file
@ -0,0 +1,81 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\data_pribadi_kpmd;
|
||||
use App\Http\Requests\Storedata_pribadi_kpmdRequest;
|
||||
use App\Http\Requests\Updatedata_pribadi_kpmdRequest;
|
||||
|
||||
class DataPribadiKpmdController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data_pribadi=data_pribadi_kpmd::all();
|
||||
return view('KPMD.index',compact('data_pribadi'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('KPMD.index',[
|
||||
'data_pribadi'=>data_pribadi_kpmd::all()
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
public function store(Storedata_pribadi_kpmdRequest $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_kpmd::create($validateData);
|
||||
return redirect('/data-distrik-kpmd');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the specified resource.
|
||||
*/
|
||||
public function show(data_pribadi_kpmd $data_pribadi_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*/
|
||||
public function edit(data_pribadi_kpmd $data_pribadi_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*/
|
||||
public function update(Updatedata_pribadi_kpmdRequest $request, data_pribadi_kpmd $data_pribadi_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*/
|
||||
public function destroy(data_pribadi_kpmd $data_pribadi_kpmd)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
28
app/Http/Requests/Storedata_distrik_kpmdRequest.php
Normal file
28
app/Http/Requests/Storedata_distrik_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_distrik_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_kpmdRequest.php
Normal file
28
app/Http/Requests/Storedata_pribadi_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Storedata_pribadi_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/Updatedata_distrik_kpmdRequest.php
Normal file
28
app/Http/Requests/Updatedata_distrik_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_distrik_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_kpmdRequest.php
Normal file
28
app/Http/Requests/Updatedata_pribadi_kpmdRequest.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Requests;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class Updatedata_pribadi_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 [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
18
app/Models/data_distrik_kpmd.php
Normal file
18
app/Models/data_distrik_kpmd.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_kpmd extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_distrik_kpmds';
|
||||
protected $fillable = [
|
||||
'nama_distrik',
|
||||
'jumlah_kampung',
|
||||
'jumlah_penduduk'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
24
app/Models/data_pribadi_kpmd.php
Normal file
24
app/Models/data_pribadi_kpmd.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_kpmd extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'data_pribadi_kpmds';
|
||||
protected $fillable = [
|
||||
'nip',
|
||||
'nama_lengkap',
|
||||
'pangkat',
|
||||
'jabatan',
|
||||
'instansi',
|
||||
'kabupaten',
|
||||
'phone_number',
|
||||
'pesan',
|
||||
'alamat'
|
||||
// Kolom-kolom lain yang ingin diizinkan untuk mass assignment
|
||||
];
|
||||
}
|
66
app/Policies/DataDistrikKpmdPolicy.php
Normal file
66
app/Policies/DataDistrikKpmdPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_distrik_kpmd;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataDistrikKpmdPolicy
|
||||
{
|
||||
/**
|
||||
* 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_kpmd $dataDistrikKpmd): 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_kpmd $dataDistrikKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_distrik_kpmd $dataDistrikKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_distrik_kpmd $dataDistrikKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_distrik_kpmd $dataDistrikKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
66
app/Policies/DataPribadiKpmdPolicy.php
Normal file
66
app/Policies/DataPribadiKpmdPolicy.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
namespace App\Policies;
|
||||
|
||||
use App\Models\User;
|
||||
use App\Models\data_pribadi_kpmd;
|
||||
use Illuminate\Auth\Access\Response;
|
||||
|
||||
class DataPribadiKpmdPolicy
|
||||
{
|
||||
/**
|
||||
* 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_kpmd $dataPribadiKpmd): 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_kpmd $dataPribadiKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can delete the model.
|
||||
*/
|
||||
public function delete(User $user, data_pribadi_kpmd $dataPribadiKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can restore the model.
|
||||
*/
|
||||
public function restore(User $user, data_pribadi_kpmd $dataPribadiKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether the user can permanently delete the model.
|
||||
*/
|
||||
public function forceDelete(User $user, data_pribadi_kpmd $dataPribadiKpmd): bool
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
23
database/factories/DataDistrikKpmdFactory.php
Normal file
23
database/factories/DataDistrikKpmdFactory.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_kpmd>
|
||||
*/
|
||||
class DataDistrikKpmdFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
23
database/factories/DataPribadiKpmdFactory.php
Normal file
23
database/factories/DataPribadiKpmdFactory.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_kpmd>
|
||||
*/
|
||||
class DataPribadiKpmdFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
];
|
||||
}
|
||||
}
|
@ -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_kpmds', 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_kpmds');
|
||||
}
|
||||
};
|
@ -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_kpmds', 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_kpmds');
|
||||
}
|
||||
};
|
17
database/seeders/DataDistrikKpmdSeeder.php
Normal file
17
database/seeders/DataDistrikKpmdSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataDistrikKpmdSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
17
database/seeders/DataPribadiKpmdSeeder.php
Normal file
17
database/seeders/DataPribadiKpmdSeeder.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DataPribadiKpmdSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*/
|
||||
public function run(): void
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
@ -359,7 +359,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,9 +367,23 @@
|
||||
<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">
|
||||
<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>
|
||||
<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%">
|
||||
@ -377,7 +391,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>
|
||||
@ -385,6 +399,11 @@
|
||||
|
||||
</div>
|
||||
<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">x
|
||||
<label class="fieldlabels">Jumlah BumDes</label>
|
||||
<input type="text" class="form-control" name="bumdes-sudah-berbadan"
|
||||
placeholder="Jumlah BUMDes yang sudah berbadan hukum"
|
||||
|
325
resources/views/KPMD/data-distrik.blade.php
Normal file
325
resources/views/KPMD/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 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="/data-distrik-kpmd" 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
|
@ -271,8 +271,9 @@
|
||||
<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>
|
||||
<form id="msform" action="">
|
||||
<!-- progressbar -->
|
||||
<form id="msform" action="/kpmd" method="POST">
|
||||
@csrf
|
||||
{{-- <!-- progressbar -->
|
||||
<ul id="progressbar">
|
||||
<li class="active" id="account"><strong>Data Pribadi</strong></li>
|
||||
<li id="personal"><strong>Data Distrik</strong></li>
|
||||
@ -282,7 +283,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">
|
||||
@ -294,52 +295,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">
|
||||
@ -376,17 +416,32 @@
|
||||
<option value="3">Sarjana</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<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>
|
||||
<option value="2">Peternakan</option>
|
||||
<option value="3">Perikanan</option>
|
||||
<option value="4">Perkebunan</option>
|
||||
<option value="5">Kehutanan</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"
|
||||
@ -395,22 +450,6 @@
|
||||
placeholder="Jarak tempuh Distrik ke Kampung">
|
||||
|
||||
</div>
|
||||
<!-- Second column for right-aligned elements -->
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="fieldlabels">Potensi Kelembagaan</label>
|
||||
<select class="form-select" aria-label="Potensi Kelembagaan"
|
||||
style="width:100%">
|
||||
<option selected>Potensi Kelembagaan</option>
|
||||
<option value="1">Kelembagaan Adat</option>
|
||||
<option value="2">Kelembagaan Sosial</option>
|
||||
</select>
|
||||
</div>
|
||||
<label>Kampung Binaan</label>
|
||||
<input type="text" class="form-control" name="kampung-binaan">
|
||||
<label>Jenis Pelatihan Yang Pernah Diikuti</label>
|
||||
<input type="text" class="form-control" name="jenis-pelatihan">
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<label>Sharing Information</label>
|
||||
<textarea type="text" class="form-control" name="sharing-information"></textarea>
|
||||
@ -481,19 +520,7 @@
|
||||
<div class="col-4">Potensi SDM (Pendidikan)</div>
|
||||
<div class="col">: Sarjana</div>
|
||||
</div>
|
||||
{{-- <div class="row">
|
||||
<div class="col-4 custom-col-4">
|
||||
Potensi SDA<br>
|
||||
 1.  Pertanian<br>
|
||||
 2.  Perternakan<br>
|
||||
 3.  Perikanan<br>
|
||||
 4.  Perkebunan
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="col">: hewani</div>
|
||||
<div class="col">: hewani</div>
|
||||
</div>
|
||||
</div> --}}
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">Potensi SDA</div>
|
||||
<div class="col">: Perhutanan</div>
|
||||
@ -551,84 +578,72 @@
|
||||
</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() {
|
||||
var current_fs, next_fs, previous_fs; //fieldsets
|
||||
var current_fs, next_fs, previous_fs; // Fieldsets
|
||||
var opacity;
|
||||
var current = 1;
|
||||
var steps = $("fieldset").length;
|
||||
setProgressBar(current);
|
||||
|
||||
// Tangani klik pada tombol "Next"
|
||||
$(".next").click(function() {
|
||||
current_fs = $(this).parent();
|
||||
next_fs = $(this).parent().next();
|
||||
//Add Class Active
|
||||
|
||||
// Tambahkan kelas "active"
|
||||
$("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active");
|
||||
//show the next fieldset
|
||||
next_fs.show();
|
||||
//hide the current fieldset with style
|
||||
current_fs.animate({
|
||||
opacity: 0
|
||||
}, {
|
||||
step: function(now) {
|
||||
// for making fielset appear animation
|
||||
opacity = 1 - now;
|
||||
current_fs.css({
|
||||
'display': 'none',
|
||||
'position': 'relative'
|
||||
});
|
||||
next_fs.css({
|
||||
'opacity': opacity
|
||||
});
|
||||
},
|
||||
duration: 500
|
||||
});
|
||||
setProgressBar(++current);
|
||||
|
||||
// Mengarahkan pengguna ke halaman baru (gantilah 'halaman_baru.html' dengan URL yang diinginkan)
|
||||
// Mengarahkan pengguna ke halaman berikutnya setelah data berhasil disubmit
|
||||
if (current == steps) {
|
||||
window.location.href = '/data-distrik-kpmd'; // Ganti dengan URL halaman berikutnya
|
||||
} else {
|
||||
current_fs = $(this).parent();
|
||||
next_fs = $(this).parent().next();
|
||||
|
||||
// Tambahkan kelas "active"
|
||||
$("#progressbar li").eq($("fieldset").index(next_fs)).addClass("active");
|
||||
|
||||
// Mengarahkan pengguna ke halaman baru
|
||||
window.location.href = '/data-distrik-kpmd'; // Ganti dengan URL halaman berikutnya
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Tangani klik pada tombol "Previous"
|
||||
$(".previous").click(function() {
|
||||
current_fs = $(this).parent();
|
||||
previous_fs = $(this).parent().prev();
|
||||
//Remove class active
|
||||
|
||||
// Hapus kelas "active"
|
||||
$("#progressbar li").eq($("fieldset").index(current_fs)).removeClass("active");
|
||||
//show the previous fieldset
|
||||
previous_fs.show();
|
||||
//hide the current fieldset with style
|
||||
current_fs.animate({
|
||||
opacity: 0
|
||||
}, {
|
||||
step: function(now) {
|
||||
// for making fielset appear animation
|
||||
opacity = 1 - now;
|
||||
current_fs.css({
|
||||
'display': 'none',
|
||||
'position': 'relative'
|
||||
});
|
||||
previous_fs.css({
|
||||
'opacity': opacity
|
||||
});
|
||||
},
|
||||
duration: 500
|
||||
});
|
||||
setProgressBar(--current);
|
||||
|
||||
// Mengarahkan pengguna ke halaman baru (gantilah 'halaman_baru.html' dengan URL yang diinginkan)
|
||||
window.location.href = 'halaman_baru.html';
|
||||
});
|
||||
|
||||
// Fungsi untuk mengatur progress bar
|
||||
function setProgressBar(curStep) {
|
||||
var percent = parseFloat(100 / steps) * curStep;
|
||||
percent = percent.toFixed();
|
||||
$(".progress-bar")
|
||||
.css("width", percent + "%")
|
||||
}
|
||||
|
||||
// Menghentikan submit form saat tombol "Submit" diklik
|
||||
$(".submit").click(function() {
|
||||
return false;
|
||||
})
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
@endpush --}}
|
||||
@endsection
|
||||
|
@ -110,7 +110,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-lg-3">
|
||||
<a href="/data-pribadi-kmpd" style="color: black">
|
||||
<a href="/kpmd" style="color: black">
|
||||
<div class="box">
|
||||
<div class="img-box">
|
||||
<img src="images/s1.png" alt="">
|
||||
|
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Http\Controllers\DataDistrikKpmdController;
|
||||
use App\Http\Controllers\DataPribadiKpmdController;
|
||||
use Dflydev\DotAccessData\Data;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
/*
|
||||
@ -30,4 +33,10 @@ 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::resource('kpmd', DataPribadiKpmdController::class)->parameter('kpmd', 'data_pribadi_kpmds');
|
||||
Route::resource('data-distrik-kpmd', DataDistrikKpmdController::class)->parameter('data-distrik-kpmd', 'data_distrik_kpmds');
|
||||
|
Loading…
Reference in New Issue
Block a user