From efc687c45624340f124904de5e26d62abe8e24af Mon Sep 17 00:00:00 2001 From: Afila Date: Sat, 16 Apr 2022 23:37:28 +0700 Subject: [PATCH 1/8] tambahkan form manual untuk fasilitas paud --- .../Data/FasilitasPaudController.php | 57 ++++++++- .../data/fasilitas_paud/create.blade.php | 113 ++++++++++++++++++ .../views/data/fasilitas_paud/index.blade.php | 4 + routes/web.php | 2 + 4 files changed, 173 insertions(+), 3 deletions(-) create mode 100644 resources/views/data/fasilitas_paud/create.blade.php diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index 01d1ed7ce..1298944e7 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -31,11 +31,13 @@ namespace App\Http\Controllers\Data; -use App\Http\Controllers\Controller; -use App\Imports\ImporFasilitasPaud; -use App\Models\FasilitasPAUD; use Illuminate\Http\Request; +use App\Models\FasilitasPAUD; use Illuminate\Http\Response; + +use Illuminate\Validation\Rule; +use App\Imports\ImporFasilitasPaud; +use App\Http\Controllers\Controller; use Yajra\DataTables\Facades\DataTables; class FasilitasPaudController extends Controller @@ -104,6 +106,55 @@ public function do_import(Request $request) return redirect()->route('data.fasilitas-paud.index')->with('success', 'Import data sukses.'); } + /** + * Show the form for editing the specified resource. + * + * @return Response + */ + public function create() + { + $page_title = 'Fasilitas PAUD'; + $page_description = 'Tambah Fasilitas PAUD'; + $years_list = years_list(); + $months_list = months_list(); + + return view('data.fasilitas_paud.create', compact('page_title', 'page_description', 'years_list', 'months_list')); + } + + /** + * Show the form for editing the specified resource. + * + * @return Response + */ + public function store(Request $request) + { + $this->validate($request,[ + 'jumlah_paud' => 'required', + 'jumlah_guru_paud' => 'required', + 'jumlah_siswa_paud' => 'required', + 'desa_id' => ['required', + Rule::unique('das_fasilitas_paud')->where(function ($q) use ($request) { + return $q->where([ + ['desa_id' , $request->desa_id] , + ['semester', $request->semester], + ['tahun', $request->tahun] + ]); + }) + ], + 'semester' => 'required', + 'tahun' => 'required', + ]); + + try { + FasilitasPAUD::create($request->all()); + } catch (\Exception $e) { + report($e); + return back()->withInput()->with('error', 'Data gagal Ditambah!'); + } + + return redirect()->route('data.fasilitas-paud.index')->with('success', 'Data berhasil Ditambah!'); + } + /** * Show the form for editing the specified resource. * diff --git a/resources/views/data/fasilitas_paud/create.blade.php b/resources/views/data/fasilitas_paud/create.blade.php new file mode 100644 index 000000000..83c74abaa --- /dev/null +++ b/resources/views/data/fasilitas_paud/create.blade.php @@ -0,0 +1,113 @@ +@extends('layouts.dashboard_template') + +@section('content') +
+

+ {{ $page_title ?? "Page Title" }} + {{ $page_description ?? '' }} +

+ +
+ +
+ + @include('partials.flash_message') +
+
+ + {!! Form::open( [ 'route' => 'data.fasilitas-paud.store', 'method' => 'post','id' => 'form-store', 'class' => + 'form-horizontal form-label-left', 'files' => true ] ) !!} +
+ @if(count($errors) > 0) +
+ + Ups! Ada beberapa masalah dengan masukan Anda.

+
    + @foreach($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ {!! Form::number('jumlah_paud', null, ['class' => 'form-control', 'required' => true, 'id' => + 'jumlah_paud']) !!} +
+
+
+ +
+ {!! Form::number('jumlah_guru_paud', null, ['class' => 'form-control', 'required' => true, 'id' => + 'jumlah_guru_paud']) !!} +
+
+
+ +
+ {!! Form::number('jumlah_siswa_paud', null, ['class' => 'form-control', 'required' => true, 'id' => + 'jumlah_siswa_paud']) !!} +
+
+
+
+
+
+ + + {!! Form::close() !!} +
+
+
+@endsection diff --git a/resources/views/data/fasilitas_paud/index.blade.php b/resources/views/data/fasilitas_paud/index.blade.php index 778084075..577c457aa 100755 --- a/resources/views/data/fasilitas_paud/index.blade.php +++ b/resources/views/data/fasilitas_paud/index.blade.php @@ -20,6 +20,10 @@
+ + + + diff --git a/routes/web.php b/routes/web.php index a806930b4..e4fc487a3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -385,6 +385,8 @@ Route::group(['prefix' => 'fasilitas-paud', 'middleware' => ['role:super-admin|admin-pendidikan|administrator-website']], function () { Route::get('/', ['as' => 'data.fasilitas-paud.index', 'uses' => 'FasilitasPaudController@index']); Route::get('getdata', ['as' => 'data.fasilitas-paud.getdata', 'uses' => 'FasilitasPaudController@getDataFasilitasPAUD']); + Route::get('create', ['as' => 'data.fasilitas-paud.create', 'uses' => 'FasilitasPaudController@create']); + Route::post('store', ['as' => 'data.fasilitas-paud.store', 'uses' => 'FasilitasPaudController@store']); Route::get('edit/{id}', ['as' => 'data.fasilitas-paud.edit', 'uses' => 'FasilitasPaudController@edit']); Route::put('update/{id}', ['as' => 'data.fasilitas-paud.update', 'uses' => 'FasilitasPaudController@update']); Route::delete('destroy/{id}', ['as' => 'data.fasilitas-paud.destroy', 'uses' => 'FasilitasPaudController@destroy']); From 3d262f0f93b140563e259773b2cdd2b0bf21afc1 Mon Sep 17 00:00:00 2001 From: apidong Date: Sat, 16 Apr 2022 16:37:58 +0000 Subject: [PATCH 2/8] Fix styling --- .../Data/FasilitasPaudController.php | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index 1298944e7..41466b69d 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -31,13 +31,13 @@ namespace App\Http\Controllers\Data; -use Illuminate\Http\Request; +use App\Http\Controllers\Controller; +use App\Imports\ImporFasilitasPaud; use App\Models\FasilitasPAUD; + +use Illuminate\Http\Request; use Illuminate\Http\Response; - use Illuminate\Validation\Rule; -use App\Imports\ImporFasilitasPaud; -use App\Http\Controllers\Controller; use Yajra\DataTables\Facades\DataTables; class FasilitasPaudController extends Controller @@ -118,22 +118,22 @@ public function create() $years_list = years_list(); $months_list = months_list(); - return view('data.fasilitas_paud.create', compact('page_title', 'page_description', 'years_list', 'months_list')); + return view('data.fasilitas_paud.create', compact('page_title', 'page_description', 'years_list', 'months_list')); } - /** - * Show the form for editing the specified resource. - * - * @return Response - */ + /** + * Show the form for editing the specified resource. + * + * @return Response + */ public function store(Request $request) { - $this->validate($request,[ + $this->validate($request, [ 'jumlah_paud' => 'required', 'jumlah_guru_paud' => 'required', 'jumlah_siswa_paud' => 'required', 'desa_id' => ['required', - Rule::unique('das_fasilitas_paud')->where(function ($q) use ($request) { + Rule::unique('das_fasilitas_paud')->where(function ($q) use ($request) { return $q->where([ ['desa_id' , $request->desa_id] , ['semester', $request->semester], @@ -144,7 +144,7 @@ public function store(Request $request) 'semester' => 'required', 'tahun' => 'required', ]); - + try { FasilitasPAUD::create($request->all()); } catch (\Exception $e) { From a337513c465b57bb0276d1c44914e110e4e4c782 Mon Sep 17 00:00:00 2001 From: Afila Date: Sun, 22 May 2022 15:01:22 +0700 Subject: [PATCH 3/8] perbaiki sinkronisasi --- .../Api/FasilitasPaudController.php | 92 +++++++++++++++++++ .../Data/FasilitasPaudController.php | 5 +- app/Http/Requests/FasilitasPaudRequest.php | 32 +++++++ app/Imports/ImporFasilitasPaud.php | 45 ++++----- .../data/fasilitas_paud/import.blade.php | 32 ------- routes/api.php | 7 ++ 6 files changed, 155 insertions(+), 58 deletions(-) create mode 100644 app/Http/Controllers/Api/FasilitasPaudController.php create mode 100644 app/Http/Requests/FasilitasPaudRequest.php diff --git a/app/Http/Controllers/Api/FasilitasPaudController.php b/app/Http/Controllers/Api/FasilitasPaudController.php new file mode 100644 index 000000000..e3e6ae8a0 --- /dev/null +++ b/app/Http/Controllers/Api/FasilitasPaudController.php @@ -0,0 +1,92 @@ +middleware('auth:api'); + } + + public function store(FasilitasPaudRequest $request) + { + try { + // Upload file zip temporary. + $file = $request->file('file'); + $file->storeAs('temp', $name = $file->getClientOriginalName()); + + // Temporary path file + $path = storage_path("app/temp/{$name}"); + $extract = storage_path('app/public/fasilitas_paud/'); + + // Ekstrak file + $zip = new ZipArchive(); + $zip->open($path); + $zip->extractTo($extract); + $zip->close(); + + + (new ImporFasilitasPaud()) + ->queue($extract . $csvName = Str::replaceLast('zip', 'csv', $name)); + } catch (\Exception $e) { + report($e); + return response()->json([ + 'status' => 'danger', + "message" => $e->getMessage(), + ]); + } + + // Hapus folder temp ketika sudah selesai + Storage::deleteDirectory('temp'); + // Hapus file excell temp ketika sudah selesai + Storage::disk('public')->delete('fasilitas_paud' . $csvName); + + return response()->json([ + "message" => "Data Bantuan Sedang di Sinkronkan", + "status" => "success" + ]); + } +} diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index 41466b69d..eee68e1b7 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -89,14 +89,11 @@ public function import() public function do_import(Request $request) { $this->validate($request, [ - 'desa_id' => 'required|unique:das_fasilitas_paud,desa_id', 'file' => 'required|file|mimes:xls,xlsx,csv|max:5120', - 'tahun' => 'required|unique:das_fasilitas_paud', - 'semester' => 'required|unique:das_fasilitas_paud', ]); try { - (new ImporFasilitasPaud($request->only(['desa_id', 'semester', 'tahun']))) + (new ImporFasilitasPaud()) ->queue($request->file('file')); } catch (\Exception $e) { report($e); diff --git a/app/Http/Requests/FasilitasPaudRequest.php b/app/Http/Requests/FasilitasPaudRequest.php new file mode 100644 index 000000000..670ab0e73 --- /dev/null +++ b/app/Http/Requests/FasilitasPaudRequest.php @@ -0,0 +1,32 @@ + 'file|mimes:zip|max:5120', + "desa_id" => ['required', 'string', new CekDesa()], + ]; + } +} diff --git a/app/Imports/ImporFasilitasPaud.php b/app/Imports/ImporFasilitasPaud.php index 0db095ea6..0ebcc309e 100644 --- a/app/Imports/ImporFasilitasPaud.php +++ b/app/Imports/ImporFasilitasPaud.php @@ -33,23 +33,16 @@ use App\Models\FasilitasPAUD; use Illuminate\Contracts\Queue\ShouldQueue; +use Illuminate\Support\Collection; use Maatwebsite\Excel\Concerns\Importable; -use Maatwebsite\Excel\Concerns\ToModel; +use Maatwebsite\Excel\Concerns\ToCollection; use Maatwebsite\Excel\Concerns\WithChunkReading; use Maatwebsite\Excel\Concerns\WithHeadingRow; -class ImporFasilitasPaud implements ToModel, WithHeadingRow, WithChunkReading, ShouldQueue +class ImporFasilitasPaud implements ToCollection, WithHeadingRow, WithChunkReading, ShouldQueue { use Importable; - /** @var array $request */ - protected $request; - - public function __construct(array $request) - { - $this->request = $request; - } - /** * {@inheritdoc} */ @@ -57,19 +50,27 @@ public function chunkSize(): int { return 1000; } - + /** - * {@inheritdoc} - */ - public function model(array $row) + * @param Collection $collection + */ + public function collection(Collection $collection) { - return new FasilitasPAUD([ - 'desa_id' => $this->request['desa_id'], - 'jumlah_paud' => $row['jumlah_paud_ra'], - 'jumlah_guru_paud' => $row['jumlah_guru_paud_ra'], - 'jumlah_siswa_paud' => $row['jumlah_siswa_paud_ra'], - 'semester' => $this->request['semester'], - 'tahun' => $this->request['tahun'], - ]); + foreach ($collection as $value) { + $insert = [ + 'desa_id' => $value['desa_id'], + 'jumlah_paud' => $value['jumlah_paud'], + 'jumlah_guru_paud' => $value['jumlah_guru_paud'], + 'jumlah_siswa_paud' => $value['jumlah_siswa_paud'], + 'semester' => $value['semester'], + 'tahun' => $value['tahun'], + ]; + + FasilitasPAUD::updateOrCreate([ + 'desa_id' => $insert['desa_id'], + 'semester' => $insert['semester'], + 'tahun' => $insert['tahun'], + ], $insert); + } } } diff --git a/resources/views/data/fasilitas_paud/import.blade.php b/resources/views/data/fasilitas_paud/import.blade.php index b1a85c826..718eb1d92 100755 --- a/resources/views/data/fasilitas_paud/import.blade.php +++ b/resources/views/data/fasilitas_paud/import.blade.php @@ -38,38 +38,6 @@
-
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
-
diff --git a/routes/api.php b/routes/api.php index 9077ad65b..2d36d5bea 100644 --- a/routes/api.php +++ b/routes/api.php @@ -79,4 +79,11 @@ Route::group(['prefix' => 'laporan-penduduk'], function () { Route::post('/', 'Api\LaporanPendudukController@store'); }); + + /** + * Data + */ + Route::group(['prefix' => 'data'], function () { + Route::post('/fasilitaspaud', 'Api\FasilitasPaudController@store'); + }); }); From 4f48a079d0cf307687123253dc625c657ee60673 Mon Sep 17 00:00:00 2001 From: apidong Date: Sun, 22 May 2022 08:01:49 +0000 Subject: [PATCH 4/8] Fix styling --- .../Api/FasilitasPaudController.php | 2 -- app/Http/Requests/FasilitasPaudRequest.php | 31 ++++++++++++++++++- app/Imports/ImporFasilitasPaud.php | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/app/Http/Controllers/Api/FasilitasPaudController.php b/app/Http/Controllers/Api/FasilitasPaudController.php index e3e6ae8a0..f3f39ff7a 100644 --- a/app/Http/Controllers/Api/FasilitasPaudController.php +++ b/app/Http/Controllers/Api/FasilitasPaudController.php @@ -38,7 +38,6 @@ use Illuminate\Support\Str; use ZipArchive; - class FasilitasPaudController extends Controller { /** @@ -67,7 +66,6 @@ public function store(FasilitasPaudRequest $request) $zip->open($path); $zip->extractTo($extract); $zip->close(); - (new ImporFasilitasPaud()) ->queue($extract . $csvName = Str::replaceLast('zip', 'csv', $name)); diff --git a/app/Http/Requests/FasilitasPaudRequest.php b/app/Http/Requests/FasilitasPaudRequest.php index 670ab0e73..3a80ebba0 100644 --- a/app/Http/Requests/FasilitasPaudRequest.php +++ b/app/Http/Requests/FasilitasPaudRequest.php @@ -1,9 +1,38 @@ Date: Sun, 22 May 2022 15:03:54 +0700 Subject: [PATCH 5/8] Update FasilitasPaudController.php --- .../Data/FasilitasPaudController.php | 94 +------------------ 1 file changed, 1 insertion(+), 93 deletions(-) diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index eee68e1b7..bfcfd54c3 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -75,10 +75,8 @@ public function import() { $page_title = 'Import'; $page_description = 'Import Data Fasilitas PAUD'; - $years_list = years_list(); - $months_list = months_list(); - return view('data.fasilitas_paud.import', compact('page_title', 'page_description', 'years_list', 'months_list')); + return view('data.fasilitas_paud.import', compact('page_title', 'page_description')); } /** @@ -103,96 +101,6 @@ public function do_import(Request $request) return redirect()->route('data.fasilitas-paud.index')->with('success', 'Import data sukses.'); } - /** - * Show the form for editing the specified resource. - * - * @return Response - */ - public function create() - { - $page_title = 'Fasilitas PAUD'; - $page_description = 'Tambah Fasilitas PAUD'; - $years_list = years_list(); - $months_list = months_list(); - - return view('data.fasilitas_paud.create', compact('page_title', 'page_description', 'years_list', 'months_list')); - } - - /** - * Show the form for editing the specified resource. - * - * @return Response - */ - public function store(Request $request) - { - $this->validate($request, [ - 'jumlah_paud' => 'required', - 'jumlah_guru_paud' => 'required', - 'jumlah_siswa_paud' => 'required', - 'desa_id' => ['required', - Rule::unique('das_fasilitas_paud')->where(function ($q) use ($request) { - return $q->where([ - ['desa_id' , $request->desa_id] , - ['semester', $request->semester], - ['tahun', $request->tahun] - ]); - }) - ], - 'semester' => 'required', - 'tahun' => 'required', - ]); - - try { - FasilitasPAUD::create($request->all()); - } catch (\Exception $e) { - report($e); - return back()->withInput()->with('error', 'Data gagal Ditambah!'); - } - - return redirect()->route('data.fasilitas-paud.index')->with('success', 'Data berhasil Ditambah!'); - } - - /** - * Show the form for editing the specified resource. - * - * @param int $id - * @return Response - */ - public function edit($id) - { - $fasilitas = FasilitasPAUD::with(['desa'])->findOrFail($id); - $page_title = 'Fasilitas PAUD'; - $page_description = 'Ubah Fasilitas PAUD : Desa ' . $fasilitas->desa->nama; - - return view('data.fasilitas_paud.edit', compact('page_title', 'page_description', 'fasilitas')); - } - - /** - * Update the specified resource in storage. - * - * @param int $id - * @return Response - */ - public function update(Request $request, $id) - { - request()->validate([ - 'jumlaah_paud' => 'required', - 'jumlah_guru_paud' => 'required', - 'jumlah_siswa_paud' => 'required', - 'semester' => 'required', - 'tahun' => 'required', - ]); - - try { - FasilitasPAUD::findOrFail($id)->update($request->all()); - } catch (\Exception $e) { - report($e); - return back()->withInput()->with('error', 'Data gagal diubah!'); - } - - return redirect()->route('data.fasilitas-paud.index')->with('success', 'Data berhasil diubah!'); - } - /** * Remove the specified resource from storage. * From bc4481ce885692b701a6bfea82a95af9dd29614f Mon Sep 17 00:00:00 2001 From: apidong Date: Sun, 22 May 2022 08:12:44 +0000 Subject: [PATCH 6/8] Fix styling --- app/Http/Controllers/Data/FasilitasPaudController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index bfcfd54c3..4b06bf284 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -37,7 +37,6 @@ use Illuminate\Http\Request; use Illuminate\Http\Response; -use Illuminate\Validation\Rule; use Yajra\DataTables\Facades\DataTables; class FasilitasPaudController extends Controller From 57a2e6581034b75bcec31840e03beb2290cbf85b Mon Sep 17 00:00:00 2001 From: Afila Date: Sun, 22 May 2022 15:15:52 +0700 Subject: [PATCH 7/8] hapus ubah --- app/Http/Controllers/Data/FasilitasPaudController.php | 3 --- resources/views/data/fasilitas_paud/index.blade.php | 4 ---- routes/web.php | 4 ---- 3 files changed, 11 deletions(-) diff --git a/app/Http/Controllers/Data/FasilitasPaudController.php b/app/Http/Controllers/Data/FasilitasPaudController.php index bfcfd54c3..2c52d66bc 100644 --- a/app/Http/Controllers/Data/FasilitasPaudController.php +++ b/app/Http/Controllers/Data/FasilitasPaudController.php @@ -34,10 +34,8 @@ use App\Http\Controllers\Controller; use App\Imports\ImporFasilitasPaud; use App\Models\FasilitasPAUD; - use Illuminate\Http\Request; use Illuminate\Http\Response; -use Illuminate\Validation\Rule; use Yajra\DataTables\Facades\DataTables; class FasilitasPaudController extends Controller @@ -58,7 +56,6 @@ public function getDataFasilitasPAUD() { return DataTables::of(FasilitasPAUD::with(['desa'])->get()) ->addColumn('aksi', function ($row) { - $data['edit_url'] = route('data.fasilitas-paud.edit', $row->id); $data['delete_url'] = route('data.fasilitas-paud.destroy', $row->id); return view('forms.aksi', $data); diff --git a/resources/views/data/fasilitas_paud/index.blade.php b/resources/views/data/fasilitas_paud/index.blade.php index 577c457aa..778084075 100755 --- a/resources/views/data/fasilitas_paud/index.blade.php +++ b/resources/views/data/fasilitas_paud/index.blade.php @@ -20,10 +20,6 @@
- - - - diff --git a/routes/web.php b/routes/web.php index e4fc487a3..d60b1c10d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -385,10 +385,6 @@ Route::group(['prefix' => 'fasilitas-paud', 'middleware' => ['role:super-admin|admin-pendidikan|administrator-website']], function () { Route::get('/', ['as' => 'data.fasilitas-paud.index', 'uses' => 'FasilitasPaudController@index']); Route::get('getdata', ['as' => 'data.fasilitas-paud.getdata', 'uses' => 'FasilitasPaudController@getDataFasilitasPAUD']); - Route::get('create', ['as' => 'data.fasilitas-paud.create', 'uses' => 'FasilitasPaudController@create']); - Route::post('store', ['as' => 'data.fasilitas-paud.store', 'uses' => 'FasilitasPaudController@store']); - Route::get('edit/{id}', ['as' => 'data.fasilitas-paud.edit', 'uses' => 'FasilitasPaudController@edit']); - Route::put('update/{id}', ['as' => 'data.fasilitas-paud.update', 'uses' => 'FasilitasPaudController@update']); Route::delete('destroy/{id}', ['as' => 'data.fasilitas-paud.destroy', 'uses' => 'FasilitasPaudController@destroy']); Route::get('import', ['as' => 'data.fasilitas-paud.import', 'uses' => 'FasilitasPaudController@import']); Route::post('do_import', ['as' => 'data.fasilitas-paud.do_import', 'uses' => 'FasilitasPaudController@do_import']); From 987905aef9a066d745afb771bf6c3dc57ad10768 Mon Sep 17 00:00:00 2001 From: yogiperdana Date: Thu, 7 Jul 2022 01:58:03 +0000 Subject: [PATCH 8/8] Fix styling --- routes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index ea985135a..41c9501b0 100644 --- a/routes/api.php +++ b/routes/api.php @@ -81,7 +81,7 @@ Route::group(['prefix' => 'data'], function () { Route::post('/fasilitaspaud', 'Api\FasilitasPaudController@store'); }); - + /** * Laporan Penduduk */