<?php
namespace App\Http\Controllers;
use App\Models\Instansi;
use App\Models\Master_input;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class MasterInputController extends Controller
{
public function index()
{
$data['title'] = "Master Input";
$data['instansi'] = Instansi::Where('user_id', Auth::user()->id)->first();
$data["masters"] = Master_input::orderBy('uraian')->where('instansi_id', $data['instansi']->id)->paginate(10);
return view('input_data.master.index', $data);
}
/**
* Show the form for creating a new resource.
*/
public function create()
{
//
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*/
public function show(Master_input $master_input)
{
//
}
/**
* Show the form for editing the specified resource.
*/
public function edit(Master_input $master_input)
{
//
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, Master_input $master_input)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Master_input $master_input)
{
//
}
}
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]