You are on page 1of 126

LAMPIRAN

LISTING PROGRAM
1. Pakan-ikan/.env
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:Dvxj+x0a2dz2ltTdvl08Dw90X2gwyHWRzqFQXn+lMnA=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=pakan-ikan
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
2. Pakan-ikan\app\Http\Controllers\AuthController.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Auth;

class AuthController extends Controller


{
public function log()
{
return view('fauth.login');
}
public function proseslogin(Request $request)
{

if (Auth::attempt($request->only('id','password'))) {
return redirect('/dashboard');
}
return redirect('/log');
}
public function logout()
{
Auth::logout();
return redirect ('/log');
}
}

3. Pakan-ikan\app\Http\Controllers\DashController.php
<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

class DashController extends Controller


{
public function index()
{

return view('fdash.index');
}
}
4. Pakan-ikan\app\Http\Controllers\HasilController.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;
use PDF;

use App\kolam;
use App\User;
use App\blind_feeding;

class HasilController extends Controller


{
public function hasil()
{
$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('fcum4')->get();

return view('fhasil.index',compact('kolam'));
}

public function add(Request $request)


{

$id = $request['id'];
$abw = $request['abw_hasil'];
$sr = $request['biomasa'];
blind_feeding::whereId($id)->update(['abw_hasil' => $abw, 'biomasa' => $sr, 'status'
=> 'Panen']);
$kolam = blind_feeding::find($id);

kolam::whereId($kolam->id_kolam)->update(['status'=>'Kosong']);

return response()->json([
'success' => true
]);
}

public function apihasil()


{
$id = auth()->user()->id;
$data = blind_feeding::whereId_user($id)->whereStatus('Panen')->get();

return DataTables::of($data)->addIndexColumn()->editColumn("created_at",
function ($data) {
return date("M Y", strtotime($data->created_at));
})->make(true);

public function laporan()


{
$id_user = User::all();
return view ('flaporan.laporan_t',compact('id_user'));
}

public function apilaporanall()


{

$data = blind_feeding::whereStatus('Panen')->get();
return DataTables::of($data)->addIndexColumn()->make(true);
}

public function carilaporan(Request $request)


{
$id_user = User::all();
$user_cari = $request['id_user'];
$user_aktif = User::find($user_cari);

$laporan_anggota = blind_feeding::whereStatus('Panen')-
>whereId_user($user_cari)->get();
return view('flaporan.laporan-
anggota',compact('id_user','user_aktif','laporan_anggota'));
}

public function print($id)


{
$data = blind_feeding::whereId_user($id)->whereStatus('Panen')->get();
$user_aktif = User::find($id);

$pdf = PDF::loadView('flaporan.print-laporan-anggota',
['user_aktif'=>$user_aktif,'data'=>$data])->setPaper('a4', 'landscape');
return $pdf->download('Laporan Anggota '. $id.'.pdf');
}
public function anggotalaporan()
{
$id = auth()->user()->id;
$data = blind_feeding::whereId_user($id)->whereStatus('Panen')->get();
return view('flaporan.anggota-laporan',compact('data'));
}

public function printlaporananggota()


{
$id = auth()->user()->id;
$data = blind_feeding::whereId_user($id)->whereStatus('Panen')->get();

$pdf = PDF::loadView('flaporan.printlaporan-pribadi',['data'=>$data])-
>setPaper('a4', 'landscape');
return $pdf->download('Laporan Anggota '. $id.'.pdf');
}

5. Pakan-ikan\app\Http\Controllers\KelompokController.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;

use App\datakelompok;
use App\User;

class KelompokController extends Controller


{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('fdata-kelompok.index');
}

/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$datauser = new User;
$datauser ->id = $request->id;
$datauser ->name = $request->nama;
$datauser ->role = $request->status_anggota;
$datauser ->password = bcrypt($request->password);
$datauser ->remember_token = str_random(60);
$datauser->save();

$data = [
'id' => $request['id'],
'nama' => $request['nama'],
'jk' => $request['jk'],
'telpon' => $request['telpon'],
'status_anggota' => $request['status_anggota'],
'password' => $request['password'],
];
datakelompok::create($data);

return response()->json([
'success' => true
]);
}

/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}

/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$data = datakelompok::find($id);

return $data;
}

/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$data = datakelompok::find($id);
$data ->nama = $request['nama'];
$data ->jk = $request['jk'];
$data ->telpon = $request['telpon'];
$data ->status_anggota = $request['status_anggota'];
$data->update();
return $data;
}

/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{
datakelompok::destroy($id);
User::destroy($id);

return response()->json([
'success' => true
]);
}

public function apidatakelompok()


{
$data = datakelompok::all();

return DataTables::of($data)
->addColumn('action', function($data){
return '<a onClick="editForm('.$data->id.')" class="btn btn-primary btn-sm" >
<i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>'.
'<a onClick="deleteForm('.$data->id.')" class="btn btn-danger btn-sm" >
<i class="fa fa-trash-o" aria-hidden="true">&nbsp;</i></a>';
})
->rawColumns(['action'])
->addIndexColumn()
->make(true);

public function datakelompokketua()


{
return view('fdata-kelompok.data-kelompok-ketua');
}

public function apidatakelompokketua()


{
$data = datakelompok::all();

return DataTables::of($data)
->rawColumns(['action'])
->addIndexColumn()
->make(true);
}
}

6. Pakan-ikan\app\Http\Controllers\KolamController.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;

use App\kolam;
use App\User;

class KolamController extends Controller


{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('fdata-kolam.index');
}

/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
//
}

/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function store(Request $request)
{
$data = [
'id' => $request['id_user']."00".$request['id'],
'id_user' => $request['id_user'],
'lebar' => $request['lebar'],
'volume' => $request['volume'],
];
kolam::create($data);

return response()->json([
'success' => true
]);
}

/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}

/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{

$data = kolam:: find($id);


return $data;
}

/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(Request $request, $id)
{
$data = kolam::find($id);
$data ->lebar = $request['lebar'];
$data ->volume = $request['volume'];
$data->update();
return $data;
}

/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy($id)
{

kolam::destroy($id);
return response()->json([
'success' => true
]);
}

public function apidatakolam()


{
$id = auth()->user()->id;
$data = kolam::whereId_user($id);

return DataTables::of($data)
->addColumn('action', function($data){
return '<a onClick="editForm('.$data->id.')" class="btn btn-primary btn-sm" >
<i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>'.
'<a onClick="deleteForm('.$data->id.')" class="btn btn-danger btn-sm" >
<i class="fa fa-trash-o" aria-hidden="true">&nbsp; </i></a>';
})
->rawColumns(['action'])
->addIndexColumn()
->make(true);

}
}

7. Pakan-ikan\app\Http\Controllers\PakanikanController.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;

use App\kolam;
use App\User;
use App\blind_feeding;

class PakanikanController extends Controller


{
public function blind()
{
$id = auth()->user()->id;
$kolam = kolam::whereId_user($id)->whereStatus('Kosong')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')->get();

return view('fpakan-ikan.blind-feeding',compact('kolam','berisi'));

// dd($kolam);
}

public function add(Request $request)


{
$add = [
'id_user' => $request['id_user'],
'id_kolam' => $request['no_kolam'],
'tebar_benih' => $request['tebar_benih'],
'masa_panen' => $request['masa_panen'],
'sr' => $request['sr'],
'abw' => $request['abw'],
];
blind_feeding::create($add);

$id_kolam = $request['no_kolam'];
kolam::whereId($id_kolam)->update(['status' => "Berisi"]);

return response()->json([
'success' => true
]);
}

public function cariblind(Request $request)


{
$no = $request['no_kolam'];
$data = blind_feeding::find($no);

$id = auth()->user()->id;
$kolam = kolam::whereId_user($id)->whereStatus('Kosong')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')->get();

return view('fpakan-ikan.lihat-blind-
feeding',compact('data','kolam','id_kolam','berisi'));
// dd($data);
}

public function simpanfcum(Request $request)


{
$fcum = $request['fcum30'];
$id_blind = $request['id_blind'];

blind_feeding::whereId($id_blind)->update(['fcum'=>$fcum]);

return response()->json([
'success' => true
]);

}
}

8. Pakan-ikan\app\Http\Controllers\Samplingsatu.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;

use App\kolam;
use App\User;
use App\blind_feeding;

class SamplingsatuController extends Controller


{
public function samplingsatu()
{
$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingsatu')->whereNotNull('fcum')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingsatu')->whereNotNull('fcum')->get();

return view('fsampling-satu.sampling-satu',compact('kolam','berisi'));

// dd($kolam);
}

public function add(Request $request)


{

$id = $request['id'];
$sampling = $request['samplingsatu'];
blind_feeding::whereId($id)->update(['samplingsatu' => $sampling]);

return response()->json([
'success' => true
]);
}

public function carisamplingsatu(Request $request)


{
$no = $request['no_kolam'];
$data = blind_feeding::find($no);

$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingsatu')->whereNotNull('fcum')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingsatu')->whereNotNull('fcum')->get();

return view('fsampling-satu.lihat-sampling-
satu',compact('data','kolam','id_kolam','berisi'));
// dd($data);
}

public function simpanfcum1(Request $request)


{
$fcum = $request['fcum45'];
$id_blind = $request['id_blind'];

blind_feeding::whereId($id_blind)->update(['fcum1'=>$fcum]);

return response()->json([
'success' => true
]);

9. Pakan-ikan\app\Http\Controllers\Samplingdua.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;

use App\kolam;
use App\User;
use App\blind_feeding;

class SamplingduaController extends Controller


{
public function samplingdua()
{
$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingdua')->whereNotNull('fcum1')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingdua')->whereNotNull('fcum1')->get();

return view('fsampling-dua.sampling-dua',compact('kolam','berisi'));

// dd($kolam);
}

public function add(Request $request)


{

$id = $request['id'];
$sampling = $request['samplingdua'];
blind_feeding::whereId($id)->update(['samplingdua' => $sampling]);

return response()->json([
'success' => true
]);
}

public function carisamplingdua(Request $request)


{
$no = $request['no_kolam'];
$data = blind_feeding::find($no);

$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingdua')->whereNotNull('fcum1')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingdua')->whereNotNull('fcum1')->get();

return view('fsampling-dua.lihat-sampling-
dua',compact('data','kolam','id_kolam','berisi'));
// dd($data);
}

public function simpanfcum2(Request $request)


{
$fcum = $request['fcum60'];
$id_blind = $request['id_blind'];

blind_feeding::whereId($id_blind)->update(['fcum2'=>$fcum]);

return response()->json([
'success' => true
]);

10. Pakan-ikan\app\Http\Controllers\Samplingtiga.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\kolam;
use App\User;
use App\blind_feeding;

class SamplingtigaController extends Controller


{
public function samplingtiga()
{
$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingtiga')->whereNotNull('fcum2')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingtiga')->whereNotNull('fcum2')->get();

return view('fsampling-tiga.sampling-tiga',compact('kolam','berisi'));

// dd($kolam);
}

public function add(Request $request)


{

$id = $request['id'];
$sampling = $request['samplingtiga'];
blind_feeding::whereId($id)->update(['samplingtiga' => $sampling]);

return response()->json([
'success' => true
]);
}

public function carisamplingtiga(Request $request)


{
$no = $request['no_kolam'];
$data = blind_feeding::find($no);

$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingtiga')->whereNotNull('fcum2')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingtiga')->whereNotNull('fcum2')->get();
return view('fsampling-tiga.lihat-sampling-
tiga',compact('data','kolam','id_kolam','berisi'));
// dd($data);
}

public function simpanfcum3(Request $request)


{
$fcum = $request['fcum75'];
$id_blind = $request['id_blind'];

blind_feeding::whereId($id_blind)->update(['fcum3'=>$fcum]);

return response()->json([
'success' => true
]);

11. Pakan-ikan\app\Http\Controllers\Samplingempat.php
<?php

namespace App\Http\Controllers;
use Illuminate\Http\Request;

use App\kolam;
use App\User;
use App\blind_feeding;

class SamplingempatController extends Controller


{
public function samplingempat()
{
$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingempat')->whereNotNull('fcum3')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingempat')->whereNotNull('fcum3')->get();

return view('fsampling-empat.sampling-empat',compact('kolam','berisi'));

// dd($kolam);
}

public function add(Request $request)


{

$id = $request['id'];
$sampling = $request['samplingempat'];
blind_feeding::whereId($id)->update(['samplingempat' => $sampling]);

return response()->json([
'success' => true
]);
}

public function carisamplingempat(Request $request)


{
$no = $request['no_kolam'];
$data = blind_feeding::find($no);

$id = auth()->user()->id;
$kolam = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNull('samplingempat')->whereNotNull('fcum3')->get();
$berisi = blind_feeding::whereId_user($id)->whereStatus('Berjalan')-
>whereNotNull('samplingempat')->whereNotNull('fcum3')->get();

return view('fsampling-empat.lihat-sampling-
empat',compact('data','kolam','id_kolam','berisi'));
// dd($data);
}

public function simpanfcum4(Request $request)


{
$fcum = $request['fcum90'];
$id_blind = $request['id_blind'];

blind_feeding::whereId($id_blind)->update(['fcum4'=>$fcum]);

return response()->json([
'success' => true
]);

}
}

12. Pakan-ikan\app\blind_feeding.php
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class blind_feeding extends Model


{
protected $table = "blind_feedings";
protected $fillable =
['id_user','id_kolam','tebar_benih','masa_panen','sr','abw','fcum','samplingsatu','fcum1','sa
mplingdua','fcum2','samplingtiga','fcum3','samplingempat','fcum4','status'];
protected $primaryKey = 'id';
}

13. Pakan-ikan\app\datakelompok.php
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class datakelompok extends Model


{
protected $table = "datakelompoks";
protected $fillable = ['id','nama','jk','telpon','status_anggota','password'];
protected $primaryKey = 'id';
public $incrementing = false;

14. Pakan-ikan\app\kolam.php
<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class kolam extends Model


{
protected $table = "kolams";
protected $fillable = ['id','id_user','lebar','volume','status'];
protected $primaryKey = 'id';
public $incrementing = false;
}

15. Pakan-ikan\app\user.php
<?php

namespace App;

use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable


{
use Notifiable;

/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'id','name', 'email', 'password',
];

/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
'password', 'remember_token',
];
}

16. Pakan-Ikan\resource\views\fauth\login.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<title>BLIND FEEDING | Login</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
===============================================================
================================-->
<link rel="icon" type="image/png"
href="{{asset('/login')}}/images/icons/favicon.ico"/>
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css"
href="{{asset('/login')}}/vendor/bootstrap/css/bootstrap.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css" href="{{asset('/login')}}/fonts/font-
awesome-4.7.0/css/font-awesome.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css" href="{{asset('/login')}}/fonts/Linearicons-
Free-v1.0.0/icon-font.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css"
href="{{asset('/login')}}/vendor/animate/animate.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css" href="{{asset('/login')}}/vendor/css-
hamburgers/hamburgers.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css"
href="{{asset('/login')}}/vendor/animsition/css/animsition.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css"
href="{{asset('/login')}}/vendor/select2/select2.min.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css"
href="{{asset('/login')}}/vendor/daterangepicker/daterangepicker.css">
<!--
===============================================================
================================-->
<link rel="stylesheet" type="text/css" href="{{asset('/login')}}/css/util.css">
<link rel="stylesheet" type="text/css" href="{{asset('/login')}}/css/main.css">
<!--
===============================================================
================================-->
</head>
<body>

<div class="limiter">
<div class="container-login100" style="background-image:
url('{{asset('login')}}/images/bg-01.jpg');">
<div class="wrap-login100 p-t-30 p-b-50">
<span class="login100-form-title p-b-41">
Login <br>
Manajemen Pakan ikan lele <br>
</span>
<form class="login100-form validate-form p-b-33 p-t-5"
action="proseslogin" method="POST">
{{ csrf_field() }}
<div class="wrap-input100 validate-input" data-
validate = "Masukan No Keanggotaan">
<input class="input100" type="text"
name="id" placeholder="No Keanggotaan">
<span class="focus-input100" data-
placeholder="&#xe82a;"></span>
</div>

<div class="wrap-input100 validate-input" data-


validate="Masukan Password">
<input class="input100" type="password"
name="password" placeholder="Password">
<span class="focus-input100" data-
placeholder="&#xe80f;"></span>
</div>
<div class="container-login100-form-btn m-t-32">
<button class="login100-form-btn">
Login
</button>
</div>

</form><span class="login100-form-title p-b-41">


<br><center>hubungi Admin di nomor 0822-8801-
2544</center></br></span>
</div>
</div>
</div>

<div id="dropDownSelect1"></div>

<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/vendor/jquery/jquery-3.2.1.min.js"></script>
<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/vendor/animsition/js/animsition.min.js"></script>
<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/vendor/bootstrap/js/popper.js"></script>
<script src="{{asset('/login')}}/vendor/bootstrap/js/bootstrap.min.js"></script>
<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/vendor/select2/select2.min.js"></script>
<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/vendor/daterangepicker/moment.min.js"></script>
<script
src="{{asset('/login')}}/vendor/daterangepicker/daterangepicker.js"></script>
<!--
===============================================================
================================-->
<script src="vendor/countdowntime/countdowntime.js"></script>
<!--
===============================================================
================================-->
<script src="{{asset('/login')}}/js/main.js"></script>

</body>
</html>

17. Pakan-Ikan\resource\views\fdash\index.blade.php
@extends('flayout.master')
@section('meta')

@endsection
@section('isi')
<main class="app-content">
<div class="page-error tile">
<center>
<h1> Selamat Datang <br> </h1>
<!--h2>{{auth()->user()->name}}</h2-->

</center>
<h3>
<center> Manajemen perhitungan pakan adalah sebuah perencanaan yang
terstruktur dalam menentukan <br>
jumlah kebutuhan pakan yang dirangkum dalam sebuah perhitungan yang sistematis agar
terciptanya <br>
sebuah perhitungan yang efektif dalam mengontrol kebutuhan pakan hewan yang
dipelihara atau dibudidayakan <br> <br>
sistem ini digunakan untuk mengefensiensikan peritungan pakan ikan yang lebih
sederhana, dan mudah di akses oleh pembudidaya.
Sistem informasi untuk manajemen perhitungan pakan ikan lele menggunakan metode
blind feeding
dan metode sampling. Perhitungan pakan budidaya ikan lele dilakukan selama 90 hari.
Pemeliharaan ikan pada umur 1-30 hari dilakukan dengan menggunakan perhitungan
metode blind feeding dimana
perhitungan pakan tersebut bertujuan untuk memperkirakan kebutuhan pakan oleh ikan di
masa awal pemeliharaan, dan
pemeliharaan ikan pada umur 31-90 hari dilanjutkan dengan perhitungan menggunakan
metode sampling pada hari 31-45 hari,
46-60 hari, 61- 75 hari, 76-90 hari dengan parameter yang digunakan adalah Survival
rate, Feed converation ratio,
Average body weight, Biomassa, feed day, feed comulatif dengan rasio pemberian pakan
3 kali sehari
</center>
</h3>
</div>
</main>
@stop
@section('script')

@endsection

18. Pakan-Ikan\resource\views\fdata-kelompok\data-kelompok-ketua.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-users"></i> Data Kelompok</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-7 line-head">
<h2 class="mb-3" id="buttons">Kelompok</h2>
</div>
<div class="col-lg-2 line-head">
</div>
<div class="col-lg-3 line-head">
</div>

</div>
</div>
<table id="table-kelompok" class="table table-hover">
<thead>
<tr>
<th>No</th>
<th>No Keanggotaan</th>
<th>Nama</th>
<th>Jenis Kelamin</th>
<th>No Telphone</th>
<th>Status Keanggotaan </th>
<th>Password</th>
</tr>
</thead>
<tr>

</tr>
<tbody>
</tbody>
</table>
</div>

</main>
@stop
@section('script')
<script>
$(document).ready(function() {
var table = $('#table-kelompok').dataTable({
processing: false,
serverSide: false,
scrollY : true,
scrollapse : true,
bDestroy: true,
touppercase:true,
ajax:"{{route('api.data-kelompok-ketua')}}",
columns:[
{data: 'DT_RowIndex', name : 'DT_RowIndex'},
{data: 'id', name : 'id'},
{data: 'nama', name : 'nama'},
{data: 'jk', name : 'jk'},
{data: 'telpon', name : 'telpon'},
{data: 'status_anggota', name : 'status_anggota'},
{data: 'password', name : 'password', orderable : false, searchable : false, render
: false}
]
});
});

</script>
@endsection
19. Pakan-Ikan\resource\views\fdata-kelompok\formaddedit.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal" data-toggle="validator"
enctype="multipart/form-data">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title"></h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label class="control-label">No Keanggotan</label>
<input class="form-control" type="text" name="id" id="id"
placeholder="Masukan No Keanggotan" required>
</div>
<div class="form-group">
<label class="control-label">Nama</label>
<input class="form-control" type="text" name="nama" id="nama"
placeholder="Masukan Nama Siswa" required>
</div>
<div class="form-group">
<label class="control-label">No Telphone</label>
<input class="form-control" type="number" name="telpon" id="telpon"
placeholder="Masukan No Telphone" maxlength="12" required>
</div>
<div class="form-group">
<label for="exampleSelect1">Jenis Kelamin</label>
<select class="form-control" id="jk" name="jk">
<option value="Laki-laki">Laki-laki</option>
<option value="Perempuan">Perempuan</option>
</select>
</div>
<div class="form-group">
<label for="exampleSelect1">Status Keanggotan</label>
<select class="form-control" id="status_anggota" name="status_anggota">
<option value="anggota">Anggota</option>
<option value="sekretaris">Sekretaris</option>
<option value="ketua">Ketua</option>
</select>
</div>
<div class="form-group">
<label class="control-label">Password</label>
<input class="form-control" type="password" name="password"
id="password" placeholder="Masukan Password" required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-
check-circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>
20. Pakan-Ikan\resource\views\fdata-kelompok\index.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-users"></i> Data Kelompok</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-7 line-head">
<h2 class="mb-3" id="buttons">Kelompok</h2>
</div>
<div class="col-lg-2 line-head">
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Data Kelompok</a>
</div>

</div>
</div>
<table id="table-kelompok" class="table table-hover">
<thead>
<tr>
<th>No</th>
<th>No Keanggotaan</th>
<th>Nama</th>
<th>Jenis Kelamin</th>
<th>No Telphone</th>
<th>Status Keanggotaan </th>
<th>Password</th>
<th>Action</th>
</tr>
</thead>
<tr>

</tr>
<tbody>
</tbody>
</table>
</div>
@include('fdata-kelompok.formaddedit')

</main>
@stop
@section('script')
<script>
$(document).ready(function() {
var table = $('#table-kelompok').dataTable({
processing: false,
serverSide: false,
scrollY : true,
scrollapse : true,
bDestroy: true,
touppercase:true,
ajax:"{{route('api.data-kelompok')}}",
columns:[
{data: 'DT_RowIndex', name : 'DT_RowIndex'},
{data: 'id', name : 'id'},
{data: 'nama', name : 'nama'},
{data: 'jk', name : 'jk'},
{data: 'telpon', name : 'telpon'},
{data: 'status_anggota', name : 'status_anggota'},
{data: 'password', name : 'password'},
{data: 'action', name : 'action', orderable : false, searchable : false, render :
false}
]
});
});
function addForm(){
save_method = "add";
$('input[name =_method]').val('POST');
$('#modal-form').modal('show');
$('#modal-form form')[0].reset();
document.getElementById('id').readOnly = false;
document.getElementById('password').readOnly = false;
$('.modal-title').text('Tambah Data Kelompok');
}

function editForm(id){
save_method = 'edit';
$('input[name=_method]').val('PATCH');
$('#modal-form form')[0].reset();
document.getElementById('id').readOnly = true;
document.getElementById('password').readOnly = true;
$.ajax({
url : "{{ url('data-kelompok')}}" + '/' + id + "/edit",
type : "GET",
dataType : "JSON",
success : function (data){
$('#modal-form').modal('show');
$('.modal-title').text('Edit Data Kelompok');

$('#id').val(data.id);
$('#nama').val(data.nama);
$('#jk').val(data.jk)[0].checked=true;
$('#telpon').val(data.telpon);
$('#status_anggota').val(data.status_anggota)[0].checked=true;
$('#password').val(data.password);
},
error : function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
}

function deleteForm(id){
var csrf_token = $('meta[name="csrf-token"]').attr('content');
swal({
title: 'Anda Yakin?',
text: "Anda Yakin Akan Menghapus Data?",
type: 'warning',
showCancelButton:true,
cancelButtonColor: '#d33',
confirmButtonColor: '#3085d6',
confirmButtonText: 'Ya, Hapus Data ini!'
}).then(function(){
$.ajax({
url : "{{url ('data-kelompok')}}"+'/'+id,
type : "POST",
data : {'_method':'DELETE','_token':csrf_token},
success : function(data){
$('#table-kelompok').DataTable().ajax.reload()
swal({
title: 'Berhasil!',
text: 'Data Berhasil dihapus!',
type: 'success',
timer: '1500'
})
},
error : function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
});
}

$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){
var id =$('#id').val();
if(save_method == 'add') url="{{ url('data-kelompok') }}";
else url ="{{ url('data-kelompok').'/' }}" + id;

$.ajax({
url : url,
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
$('#table-kelompok').DataTable().ajax.reload()
swal({
title: 'Berhasil!',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection
21. Pakan-Ikan\resource\views\fdata-kolam\formaddedit.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal" data-toggle="validator"
enctype="multipart/form-data">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title"></h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
<input type="hidden" name="id_user" id="id_user" value="{{auth()->user()-
>id}}" >
</div>
<div class="modal-body">
<div class="form-group">
<label class="control-label">No Kolam</label>
<input class="form-control" type="text" name="id" id="id"
placeholder="Masukan No Kolam" required>
</div>
<div class="form-group">
<label class="control-label">Lebar Kolam (M<sup>3</sup>)</label>
<input class="form-control" type="text" name="lebar" id="lebar"
placeholder="Masukan Lebar Kolam" required>
</div>
<div class="form-group">
<label class="control-label">Jumlah Tampung Kolam (bibit)</label>
<input class="form-control" type="number" name="volume" id="volume"
placeholder="Masukan Jumlah Tampung Kolam (bibit)" required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

22. Pakan-Ikan\resource\views\fdata-kolam\index.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-users"></i> Data Kolam</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-7 line-head">
<h2 class="mb-3" id="buttons">Kolam</h2>
</div>
<div class="col-lg-2 line-head">
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Data Kolam</a>
</div>
</div>
</div>
<table id="table-kolam" class="table table-hover">
<thead>
<tr>
<th>No Kolam</th>
<th>Lebar Kolam (M<sup>3</sup>)</th>
<th>Jumlah Tampung Kolam (Benih)</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fdata-kolam.formaddedit')

</main>
@stop
@section('script')
<script>
$(document).ready(function() {
var table = $('#table-kolam').dataTable({
processing: false,
serverSide: false,
scrollY : false,
scrollapse : true,
bDestroy: true,
touppercase:true,
ajax:"{{route('api.data-kolam')}}",
columns:[
{data: 'id', name : 'id'},
{data: 'lebar', name : 'lebar'},
{data: 'volume', name : 'volume'},
{data: 'status', name : 'status'},
{data: 'action', name : 'action', orderable : false, searchable : false, render :
false}
]
});
});
function addForm(){
save_method = "add";
$('input[name =_method]').val('POST');
$('#modal-form').modal('show');
$('#modal-form form')[0].reset();
document.getElementById('id').readOnly = false;
document.getElementById('password').readOnly = false;
$('.modal-title').text('Tambah Data Kolam');
}

function editForm(id){
save_method = 'edit';
$('input[name=_method]').val('PATCH');
$('#modal-form form')[0].reset();
document.getElementById('id').readOnly = true;
$.ajax({
url : "{{ url('/data-kolam')}}" + '/' + id + "/edit",
type : "GET",
dataType : "JSON",
success : function (data){
$('#modal-form').modal('show');
$('.modal-title').text('Edit Data kolam');

$('#id').val(data.id);
$('#lebar').val(data.lebar);
$('#volume').val(data.volume);
},
error : function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
}

function deleteForm(id){
var csrf_token = $('meta[name="csrf-token"]').attr('content');
swal({
title: 'Anda Yakin?',
text: "Anda Yakin Akan Menghapus Data?",
type: 'warning',
showCancelButton:true,
cancelButtonColor: '#d33',
confirmButtonColor: '#3085d6',
confirmButtonText: 'Ya, Hapus Data ini!'
}).then(function(){
$.ajax({
url : "{{url ('data-kolam')}}"+'/'+id,
type : "POST",
data : {'_method':'DELETE','_token':csrf_token},
success : function(data){
$('#table-kolam').DataTable().ajax.reload()
swal({
title: 'Berhasil!',
text: 'Data Berhasil dihapus!',
type: 'success',
timer: '1500'
})
},
error : function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
});
}

$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){
var id =$('#id').val();
var id_user = $('#id_user').val();
if(save_method == 'add') url="{{ url('data-kolam')}}";
else url ="{{ url('data-kolam').'/' }}" + id;

$.ajax({
url : url,
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
$('#table-kolam').DataTable().ajax.reload()
swal({
title: 'Berhasil!',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

23. Pakan-Ikan\resource\views\fhasil\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Hasil Panen</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select onclick="ganti()" class="form-control" id="id" name="id"
required>
@foreach ($kolam as $id_kolam)
<option value="{{$id_kolam->id}}">{{$id_kolam-
>id_kolam}}</option>
@endforeach
</select>
</div>

<div class="form-group">
<label class="control-label">Berat Lele Per Ekor (gram)</label>
<input class="form-control" type="text" min="0" max="4"
name="abw_hasil" id="abw_hasil" required>
</div>
<div class="form-group">
<label class="control-label">Berat Total Panen</label>
<input class="form-control" type="text" name="biomasa" id="biomasa"
required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

24. Pakan-Ikan\resource\views\fhasil\index.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-users"></i> Hasil Panen</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-7 line-head">
<h2 class="mb-3" id="buttons">Hasil Panen</h2>
</div>
<div class="col-lg-2 line-head">
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Hasil Panen</a>
</div>
</div>
</div>
<table id="table-hasil" class="table table-hover">
<thead>
<tr>
<th>No</th>
<th>No Kolam</th>
<th>Tebar Benin</th>
<th>Masa Panen</th>
<th>ABW Panen (gram)</th>
<th>Biomasa (gram)</th>
<th>Priode</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fhasil.add')

</main>
@stop
@section('script')
<script>
$(document).ready(function() {
var table = $('#table-hasil').dataTable({
processing: false,
serverSide: false,
scrollY : false,
scrollapse : true,
bDestroy: true,
touppercase:true,
ajax:"{{route('api.hasil')}}",
columns:[
{data: 'DT_RowIndex', name : 'DT_RowIndex'},
{data: 'tebar_benih', name : 'tebar_benih'},
{data: 'id_kolam', name : 'id_kolam'},
{data: 'masa_panen', name : 'masa_panen'},
{data: 'abw_hasil', name : 'abw_hasil'},
{data: 'biomasa', name : 'biomasa'},
{data: 'created_at', name : 'created_at', orderable : false, searchable : false,
render : false}
]
});
});
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-hasil') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
$('#table-hasil').DataTable().ajax.reload()
swal({
title: 'Berhasil!',
text : 'Data Hasil Panen Telah Di Input',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
</script>
@endsection

25. Pakan-Ikan\resource\views\flaporan\anggota-laporan.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Laporan</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-8">
<h2 class="mb-2" id="buttons">Laporan </h2>
</div>
<div class="col-lg-4">
<label>&nbsp;</label><br>
<a type="button" href="print-laporan-anggota" class="btn btn-primary btn-
sm pull-right">Print Laporan</a>
</div>
</div>
</div>

<table id="table-laporan-anggota" class="table table-striped" >


<thead border="1" >
<tr>
<br>
<th colspan="12"><center><h2>KELOMPOK USAHA BUDIDAYA
POKDAKAN BATO</h2> <br>
Jl. Wortel Mongon Sidi, Kelurahan. Bato, Kota. Pariaman </center>
<hr width="100%" color="black">
<br>
<center>Laporan Hasil Panen Budidaya Lele </center>
<br>
No Keanggotaan : {{auth()->user()->id}}
<br>
Nama &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
: {{auth()->user()->name}}
<br>
<br>
</th>
</tr>
<tr>
<th>No</th>
<th>No Keanggotaan</th>
<th>No Kolam</th>
<th>Tebar Benih</th>
<th>Sampling 1 (gram)</th>
<th>Sampling 2 (gram)</th>
<th>Sampling 3 (gram)</th>
<th>Sampling 4 (gram)</th>
<th>ABW Panen (gram)</th>
<th>Biomasa (gram)</th>
<th>F-Cum (gram)</th>
<th>FCR</th>
<th>Priode</th>

</tr>
</thead>
<tbody>
@php
$no = 1;
@endphp
@foreach ($data as $data_ok)
<tr>
<td>{{$no++}}</td>
<td>{{$data_ok->id_user}}</td>
<td>{{$data_ok->id_kolam}}</td>
<td>{{$data_ok->tebar_benih}}</td>
<td>{{$data_ok->samplingsatu}}</td>
<td>{{$data_ok->samplingdua}}</td>
<td>{{$data_ok->samplingtiga}}</td>
<td>{{$data_ok->samplingempat}}</td>
<td>{{$data_ok->abw_hasil}}</td>
<td>{{$data_ok->biomasa}}</td>
<td>{{$data_ok->fcum4}}</td>
<td>{{round($data_ok->fcum4/$data_ok->biomasa,1)}}</td>
<td>{{$data_ok->created_at->format('M y')}}</td>
</tr>
@endforeach
</tbody>
</table>
<br><br><br>
</div>
</main>
@stop

26. Pakan-Ikan\resource\views\flaporan\laporan-anggota.blde.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Laporan</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-12 line-head">
<h2 class="mb-2" id="buttons">Laporan Hasil Panen Anggota
Kelompok</h2>
</div>
</div>
<form action="/cari-laporan" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 form-group ">
<label for="exampleSelect1">Pilih Anggota</label>
<select id="" class="form-control" id="id_user" name="id_user"
required>
<option value="{{$user_aktif->id}}">{{$user_aktif-
>name}}</option>
@foreach ($id_user as $user)
<option value="{{$user->id}}">{{$user->name}}</option>
@endforeach
</select>
</div>
<div class="col-log-3 form-group" >
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
<div class="col-lg-8 form-group">
<label>&nbsp;</label><br>
<a type="button" href="print-laporan/{{$user_aktif->id}}" class="btn
btn-primary btn-sm pull-right">Print Laporan</a>
</div>
</div>
</form>
</div>

<table id="table-laporan-anggota" class="table table-striped " >


<thead border="1" >
<tr>
<br>
<th colspan="12"><center><h2>KELOMPOK USAHA BUDIDAYA
POKDAKAN BATO</h2> <br>
Jl. Wortel Mongon Sidi, Kelurahan. Bato, Kota. Pariaman </center>
<hr width="103%" color="black">
<br>
<center>Laporan Hasil Panen Budidaya Lele </center>
<br>
No Keanggotaan : {{$user_aktif->id}}
<br>
Nama &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
: {{$user_aktif->name}}
<br>
<br>
</th>
</tr>
<tr>
<th>No</th>
<th>No Kolam</th>
<th>Tebar Benih</th>
<th>Sampling 1 (gram)</th>
<th>Sampling 2 (gram)</th>
<th>Sampling 3 (gram)</th>
<th>Sampling 4 (gram)</th>
<th>ABW Panen (gram)</th>
<th>Biomasa (gram)</th>
<th>F-Cum (gram)</th>
<th>FCR</th>
<th>Priode</th>
</tr>
</thead>
<tbody>
@php
$no = 1;
@endphp
@foreach ($laporan_anggota as $data)
<tr>
<td>{{$no++}}</td>
<td>{{$data->id_kolam}}</td>
<td>{{$data->tebar_benih}}</td>
<td>{{$data->samplingsatu}}</td>
<td>{{$data->samplingdua}}</td>
<td>{{$data->samplingtiga}}</td>
<td>{{$data->samplingempat}}</td>
<td>{{$data->abw_hasil}}</td>
<td>{{$data->biomasa}}</td>
<td>{{$data->fcum4}}</td>
<td>{{round($data->fcum4/$data->biomasa,1)}}</td>
<td>{{$data->created_at->format('M y')}}</td>

</tr>
@endforeach

</tbody>
</table>
<br><br><br>
</div>
</main>
@stop

27. Pakan-Ikan\resource\views\flaporan\laporan_t.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Laporan</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-12 line-head">
<h2 class="mb-2" id="buttons">Laporan Hasil Panen Anggota
Kelompok</h2>
</div>
</div>
<form action="/cari-laporan" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 form-group ">
<label for="exampleSelect1">Pilih Anggota</label>
<select id="" class="form-control" id="id_user" name="id_user"
required>
@foreach ($id_user as $user)
<option value="{{$user->id}}">{{$user->name}}</option>
@endforeach
</select>
</div>
<div class="col-log-3 form-group" >
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
<div class="col-lg-8 form-group">

</div>
</div>
</form>
</div>

<table id="table-laporanall" class="table table-striped" >


<thead border="1" >
<tr>
<br>
<th colspan="12"><center><h2>KELOMPOK USAHA BUDIDAYA
POKDAKAN BATO</h2> <br>
Jl. Wortel Mongon Sidi, Kelurahan. Bato, Kota. Pariaman </center>
<hr width="103%" color="black">
<br>
<center>Laporan Hasil Panen Budidaya Lele</center>
<br>
</th>
</tr>
<tr>
<th>No</th>
<th>No Kolam</th>
<th>Tebar Benih</th>
<th>Sampling 1 (gram)</th>
<th>Sampling 2 (gram)</th>
<th>Sampling 3 (gram)</th>
<th>Sampling 4 (gram)</th>
<th>ABW Panen (gram)</th>
<th>Biomasa (gram)</th>
<th>F-Cum (gram)</th>
<th>FCR</th>
<th>Priode</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</main>
@stop
@section('script')

</script>
@endsection

28. Pakan-Ikan\resource\views\flaporan\print-laporan-anggota-blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<center><p style="line-height: 1em">
<b style="font-size: 18pt"> KELOMPOK USAHA BUDIDAYA POKDAKAN BATO
</b><br><br>
Jl. Wortel Mongon Sidi, Kelurahan. Bato, Kota. Pariaman</p></center>
<hr width="100%" color="black">
<br>
<center>
Laporan Hasil Panen Budidaya Lele<br><br>
</center>
<br>
No Keanggotaan &nbsp; : &nbsp; {{$user_aktif->id}}
<br>
Nama &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
: &nbsp; {{$user_aktif->name}}
<br>
<br>
<table style="border: 1px solid black;border-collapse: collapse" cellpadding="7">
<tr>
<th style="border: 1px solid black">No</th>
<th style="border: 1px solid black">No Kolam</th>
<th style="border: 1px solid black">Tebar Benih</th>
<th style="border: 1px solid black">Sampling 1 (gram)</th>
<th style="border: 1px solid black">Sampling 2 (gram)</th>
<th style="border: 1px solid black">Sampling 3 (gram)</th>
<th style="border: 1px solid black">Sampling 4 (gram)</th>
<th style="border: 1px solid black">ABW Panen (gram)</th>
<th style="border: 1px solid black">Biomasa (gram)</th>
<th style="border: 1px solid black">F-Cum (gram)</th>
<th style="border: 1px solid black">FCR</th>
<th style="border: 1px solid black">Priode</th>

@php
$no = 1;
@endphp
@foreach ($data as $data_ok )
<tr>
<td style="border: 1px solid black">{{$no++}}</td>
<td style="border: 1px solid black">{{$data_ok->id_kolam}}</td>
<td style="border: 1px solid black">{{$data_ok->tebar_benih}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingsatu}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingdua}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingtiga}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingempat}}</td>
<td style="border: 1px solid black">{{$data_ok->abw_hasil}}</td>
<td style="border: 1px solid black">{{$data_ok->biomasa}}</td>
<td style="border: 1px solid black">{{$data_ok->fcum4}}</td>
<td style="border: 1px solid black">{{round($data_ok->fcum4/$data_ok-
>biomasa,1)}}</td>
<td>{{$data_ok->created_at->format('M y')}}</td>
</tr>
@endforeach
</table>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
Pariaman,...........<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
Ketua Kelompok
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
(.........................)
</body>
</html>
29. Pakan-Ikan\resource\views\flaporan\printlaporan-pribdi.blade.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
</head>
<body>
<center><p style="line-height: 1em">
<b style="font-size: 18pt"> KELOMPOK USAHA BUDIDAYA POKDAKAN BATO
</b><br><br>
Jl. Wortel Mongon Sidi, Kelurahan. Bato, Kota. Pariaman</p></center>
<hr width="100%" color="black">
<br>
<center>
Laporan Hasil Panen Budidaya Lele<br><br>
</center>
<br>
No Keanggotaan &nbsp; : &nbsp; {{auth()->user()->id}}
<br>
Nama &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
: &nbsp; {{auth()->user()->name}}
<br>
<br>
<table style="border: 1px solid black;border-collapse: collapse" cellpadding="7">
<tr>
<th style="border: 1px solid black">No</th>
<th style="border: 1px solid black">No Kolam</th>
<th style="border: 1px solid black">Tebar Benih</th>
<th style="border: 1px solid black">Sampling 1 (gram)</th>
<th style="border: 1px solid black">Sampling 2 (gram)</th>
<th style="border: 1px solid black">Sampling 3 (gram)</th>
<th style="border: 1px solid black">Sampling 4 (gram)</th>
<th style="border: 1px solid black">ABW Panen (gram)</th>
<th style="border: 1px solid black">Biomasa (gram)</th>
<th style="border: 1px solid black">F-Cum (gram)</th>
<th style="border: 1px solid black">FCR</th>
<th style="border: 1px solid black">Priode</th>

@php
$no = 1;
@endphp
@foreach ($data as $data_ok )
<tr>
<td style="border: 1px solid black">{{$no++}}</td>
<td style="border: 1px solid black">{{$data_ok->id_kolam}}</td>
<td style="border: 1px solid black">{{$data_ok->tebar_benih}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingsatu}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingdua}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingtiga}}</td>
<td style="border: 1px solid black">{{$data_ok->samplingempat}}</td>
<td style="border: 1px solid black">{{$data_ok->abw_hasil}}</td>
<td style="border: 1px solid black">{{$data_ok->biomasa}}</td>
<td style="border: 1px solid black">{{$data_ok->fcum4}}</td>
<td style="border: 1px solid black">{{round($data_ok->fcum4/$data_ok-
>biomasa,1)}}</td>
<td>{{$data_ok->created_at->format('M y')}}</td>

</tr>
@endforeach
</table>
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
Pariaman,...........<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
Ketua Kelompok
<br>
<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
(.........................)
</body>
</html>

30. Pakan-Ikan\resource\views\flayout\master.blade.php

<html lang="en">
<head>
<meta name="description" content="Vali is a responsive and free admin theme built
with Bootstrap 4, SASS and PUG.js. It's fully customizable and modular.">
<!-- Open Graph Meta-->
<meta property="og:type" content="website">
<meta property="og:site_name" content="Vali Admin">
<meta property="og:title" content="Vali - Free Bootstrap 4 admin theme">
<meta property="og:url" content="http://pratikborsadiya.in/blog/vali-admin">
<meta property="og:image" content="http://pratikborsadiya.in/blog/vali-admin/hero-
social.png">
<meta property="og:description" content="Vali is a responsive and free admin theme
built with Bootstrap 4, SASS and PUG.js. It's fully customizable and modular.">
<title>Manajemen Pakan Ikan | Lele</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

@yield('meta')

<!-- Main CSS-->


<link rel="stylesheet" type="text/css" href="{{asset('css/main.css')}}">
<link rel="stylesheet" type="text/css"
href="{{asset('css/jquery.dataTables.min.css')}}">
{{-- Sweetalert2 --}}
<link rel="stylesheet" type="text/css"
href="{{asset('sweetalert2/sweetalert2.min.css')}}">
<!-- Font-icon css-->
<link rel="stylesheet" type="text/css" href="{{asset('/frontend')}}/css/font-
awesome.min.css">
</head>
<body class="app sidebar-mini sidenav-toggled">
<!-- Navbar-->
<header class="app-header"><a class="app-header__logo"
href="dashboard">PakLe</a>
<!-- Sidebar toggle button--><a class="app-sidebar__toggle" href="#" data-
toggle="sidebar" aria-label="Hide Sidebar"></a>
<!-- Navbar Right Menu-->
<ul class="app-nav">
<!-- User Menu-->
<li class="dropdown"><a class="app-nav__item" href="#" data-
toggle="dropdown" aria-label="Open Profile Menu"><i class="fa fa-user fa-
lg"></i></a>
<ul class="dropdown-menu settings-menu dropdown-menu-right">
<li><a class="dropdown-item" href="/logout"><i class="fa fa-sign-out fa-lg"></i>
Logout</a></li>
</ul>
</li>
</ul>
</header>
<!-- Sidebar menu-->
<div class="app-sidebar__overlay" data-toggle="sidebar"></div>
<aside class="app-sidebar">
<div class="app-sidebar__user"><img class="app-sidebar__user-avatar"
width="50" heigth="50" src="{{asset('icon-user/icon-user.jpg')}}" alt="User Image">
<div>
<p class="app-sidebar__user-name">{{auth()->user()->name}}</p>
<p class="app-sidebar__user-designation">{{auth()->user()->role}}</p>
</div>
</div>
<ul class="app-menu">
<li><a class="app-menu__item" href="/dashboard"><i class="app-menu__icon fa
fa-dashboard"></i><span class="app-menu__label">Dashboard</span></a></li>
@if (auth()->user()->role=="sekretaris")
<li><a class="app-menu__item" href="/data-kelompok"><i class="app-
menu__icon fa fa-users"></i><span class="app-menu__label">Data
Kelompok</span></a></li>
@endif
@if (auth()->user()->role=="ketua")
<li><a class="app-menu__item" href="/data-kelompok-ketua"><i class="app-
menu__icon fa fa-users"></i><span class="app-menu__label">Data
Kelompok</span></a></li>
@endif
<li><a class="app-menu__item" href="/data-kolam"><i class="app-menu__icon fa
fa-file"></i><span class="app-menu__label">Data Kolam</span></a></li>
<li class="treeview"><a class="app-menu__item" href="#" data-
toggle="treeview"><i class="app-menu__icon fa fa-th-list"></i><span class="app-
menu__label">Manajem Pakan Ikan</span><i class="treeview-indicator fa fa-angle-
right"></i></a>
<ul class="treeview-menu">
<li><a class="treeview-item" href="blind-feeding"><i class="icon fa fa-
circle"></i> Blind Feeding (90) Hari</a></li>
<li><a class="treeview-item" href="sampling-satu"><i class="icon fa fa-
circle"></i> Sampling (31-45) Hari</a></li>
<li><a class="treeview-item" href="sampling-dua"><i class="icon fa fa-
circle"></i> Sampling (46-60) Hari</a></li>
<li><a class="treeview-item" href="sampling-tiga"><i class="icon fa fa-
circle"></i> Sampling (61-75) Hari</a></li>
<li><a class="treeview-item" href="sampling-empat"><i class="icon fa fa-
circle"></i> Sampling (76-90) Hari</a></li>
</ul>
</li>
<li><a class="app-menu__item" href="hasil"><i class="app-menu__icon fa fa-
balance-scale"></i><span class="app-menu__label">Input Hasil Panen</span></a></li>
@if (auth()->user()->role !="anggota")
<li class="treeview"><a class="app-menu__item" href="#" data-
toggle="treeview"><i class="app-menu__icon fa fa-th-list"></i><span class="app-
menu__label">Laporan</span><i class="treeview-indicator fa fa-angle-right"></i></a>
<ul class="treeview-menu">
<li><a class="treeview-item" href="laporan-anggota"><i class="icon fa fa-
file"></i>Laporan Panen </a></li>
<li><a class="treeview-item" href="laporan"><i class="icon fa fa-
file"></i>Laporan Panen Semua Anggota</a></li>
</ul>
</li>
@else
<li><a class="app-menu__item" href="laporan-anggota"><i class="app-
menu__icon fa fa-file"></i><span class="app-menu__label">Laporan</span></a></li>
@endif

</ul>
</aside>
@yield('isi')

<!-- Essential javascripts for application to work-->


<script src="{{asset('js/jquery-3.3.1.js')}}"></script>
<script src="{{asset('js/jquery-3.3.1.min.js')}}"></script>
<script src="{{asset('js/popper.min.js')}}"></script>
<script src="{{asset('js/bootstrap.min.js')}}"></script>
<script src="{{asset('js/jquery.dataTables.min.js')}}"></script>
<script src="{{asset('js/main.js')}}"></script>
{{-- sweetalert2 --}}
<script src="{{asset('sweetalert2/sweetalert2.min.js')}}"></script>
<!-- The javascript plugin to display page loading on top-->
<script src="{{asset('js/plugins/pace.min.js')}}"></script>
<script src="{{asset('js/plugins/dataTables.bootstrap.min.js')}}"></script>
<!-- Page specific javascripts-->

@yield('script')

</body>
</html>

31. Pakan-Ikan\resource\views\fpakan-ikan\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal" data-toggle="validator"
enctype="multipart/form-data">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Blind Feeding</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select class="form-control" id="no_kolam" name="no_kolam" required>
@foreach ($kolam as $id_kolam)
<option >{{$id_kolam->id}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label>
<input class="form-control" type="number" name="tebar_benih"
id="tebar_benih" placeholder="Masukan Jumlah Tabur Bibit Ikan" required>
</div>
<div class="form-group">
<label class="control-label">Masa Panen</label>
<input class="form-control" type="number" name="masa_panen"
id="masa_panen" value="90" readonly required>
</div>
<div class="form-group">
<label class="control-label">Survival Rate (SR)</label>
<input class="form-control" type="number" name="sr" id="sr"
placeholder="Masukan SR (dalam % )" required>
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label>
<input class="form-control" type="number" name="abw" id="abw"
placeholder="Masukan ABW (dalam gr )" required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

32. Pakan-Ikan\resource\views\fpakan-ikan\blind-feeding.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Blind Feeding</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Blind Feeding</h2>
</div>
<div class="col-lg-6 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Blind Feeding</a>
</div>
</div>
<form action="/cari-blind-feeding" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-5 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam" required>
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
</div>
{{-- Blind Feeding 30 --}}
<table id="table-blind-feeding" class="table table-bordered" >
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day </th>
<th style="background-color: #009688">F-Cum</th>
<th style="background-color: #009688">FCR</th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fpakan-ikan.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-blind-feeding') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

33. Pakan-Ikan\resource\views\fpakan-ikan\lihat-blind-feeding.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Blind Feeding</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px; overflow-x: scroll" >
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Blind Feeding</h2>
</div>
<div class="col-lg-4 line-head">
<a href="#jadwal" type="button" class="btn btn-sm btn-primary pull-
right">Jadwal Pemberian Pakan</a>
</div>
<div class="col-lg-2 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Blind Feeding</a>
</div>
</div>
<form action="/cari-blind-feeding" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam">
<option value="{{$data->id}}">{{$data->id_kolam}}</option >
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3">
<div class="form-group">
<label class="control-label">Masa Panen</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>masa_panen}}&nbsp; Hari">
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>tebar_benih}}&nbsp; Ekor">
</div>

<div class="form-group">
<label class="control-label">Survival Rate (SR)</label><br>
<input class="form-control" type="text" readonly value="{{$data->sr}}
&nbsp; %">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>abw}}&nbsp; gr ">
</div>
</div>
<div class="col-log-3" style="padding-left: 13%" >
<br><br>
<table cellpadding ="7" class="table table-bordered">
<tr>
<th colspan="11" style="background-color:
#009688"><center>FR</center></th>
</tr>
<tr>
<th >30%-6%</th>
<td>30</td>
<td>27,3</td>
<td>24,7</td>
<td>22</td>
<td>19,3</td>
<td>16.7</td>
<td>14</td>
<td>11,3</td>
<td>8,7</td>
<td>6</td>
</tr>
<tr>
<th >5%</th>
<td colspan="11">5</td>
</tr>
<tr>
<th >4%</th>
<td colspan="11">4</td>
</tr>
<tr>
<th >3%</th>
<td colspan="11">3</td>
</tr>
<tr>
<th >3%(-30% dari Biomas)</th>
<td colspan="11">3%(-30% dari Biomas) </td>

</tr>
</table>
</div>

{{-- Blind Feeding 30 --}}


<form method="POST" class="col-lg-12" id="simpan-fcum">
{{ csrf_field() }}
<input type="hidden" value="{{$data->id}}" name="id_blind">
<table class="table table-bordered table-striped" align="center">
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day </th>
<th style="background-color: #009688">F-Cum</th>
<th style="background-color: #009688">FCR</th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>

@php
$berat_benih = round(3,2);
$berat_tetap = 3;
$adg1 = round(((4/100)*($data->abw-$berat_benih ))/9,3);
$adg2 = round(((15/100)*($data->abw-$berat_benih ))/20,3);
$adg3 = round(((22/100)*($data->abw-$berat_benih ))/15,3);
$adg4 = round(((19/100)*($data->abw-$berat_benih ))/10,3);
$adg5 = round(((40/100)*($data->abw-$berat_benih ))/35,3);

$pengurang_sr = round((((100-$data->sr)*100)/$data->masa_panen)/100,2);
$sr = round(100-$pengurang_sr,2);
$fday = round(((($data->tebar_benih*$sr)/100)*$berat_benih)*(30/100),2);
$biomas = round(((($data->tebar_benih*$sr)/100)*$berat_benih),2);
$fr = 30;

$no = 2;
@endphp
<tr style="background-color: silver">
<td>1</td>
<td>{{$berat_benih}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{round(100-$pengurang_sr,2)}}</td>
<td>{{round(((($data->tebar_benih*$sr)/100)*$berat_benih),2)}}</td>
<td>{{$fcr=round(((($data-
>tebar_benih*$sr)/100)*$berat_benih)*(30/100),2)}}</td>
<td>{{$fcum=round(((($data-
>tebar_benih*$sr)/100)*$berat_benih)*(30/100),2)}}</td>
<td>{{round($fcr/$fcum,1)}}</td>
</tr>
@for ($i = 0; $i < 9; $i++)
<tr style="background-color: silver">
<td>{{$no++}}</td>
<td>{{$berat_benihb=round($berat_benih = $berat_benih +
$adg1,3)}}</td>
<td>{{$adg1}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{$srb=round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$srb)/100)*$berat_benihb,2)}}</td>
<td>{{$fday1=round(($biomas*$fr=($fr-2.66))/100,2)}}</td>
<td>{{$fcum=round($fday=$fday+$fday1,2)}}</td>
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor
@php
@endphp
@for ($i = 0; $i < 20; $i++)
<tr style="background-color: silver">
<td>{{$nofcum=$no++}}</td>
<td>{{$berat_benihb=round($berat_benih = $berat_benih +
$adg2,3)}}</td>
<td></td>
<td>{{$adg2}}</td>
<td></td>
<td></td>
<td></td>
<td>{{$srb=round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$srb)/100)*$berat_benihb,2)}}</td>
<td>{{$fday1=round(((($data-
>tebar_benih*$srb)/100)*$berat_benihb)*(5/100),2)}}</td>
<td>{{$input_fcum=round($fcum=$fcum+$fday1,2)}}</td>
<input type="hidden" value="{{$input_fcum}}"
name="fcum{{$nofcum}}">
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 15; $i++)
<tr>
<td>{{$no++}}</td>
<td>{{$berat_benihb=round($berat_benih = $berat_benih +
$adg3,3)}}</td>
<td></td>
<td></td>
<td>{{$adg3}}</td>
<td></td>
<td></td>
<td>{{$srb=round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$srb)/100)*$berat_benihb,2)}}</td>
<td>{{$fday1=round(((($data-
>tebar_benih*$srb)/100)*$berat_benihb)*(4/100),2)}}</td>
<td>{{$fcr=round($fcum=$fcum+$fday1,2)}}</td>
<td>{{round($fcr/$biomas,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 10; $i++)
<tr>
<td>{{$no++}}</td>
<td>{{$berat_benihb=round($berat_benih = $berat_benih +
$adg4,3)}}</td>
<td></td>
<td></td>
<td></td>
<td>{{$adg4}}</td>
<td></td>
<td>{{$srb=round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$srb)/100)*$berat_benihb,2)}}</td>
<td>{{$fday1=round(((($data-
>tebar_benih*$srb)/100)*$berat_benihb)*(3/100),2)}}</td>
<td>{{$fcr=round($fcum=$fcum+$fday1,2)}}</td>
<td>{{round($fcr/$biomas,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 35; $i++)
<tr>
<td>{{$no++}}</td>
<td>{{$berat_benihb=round($berat_benih = $berat_benih +
$adg5,3)}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{$adg5}}</td>
<td>{{$srb=round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$srb)/100)*$berat_benihb,2)}}</td>
<td>{{$fday1=round((((($data-
>tebar_benih*$srb)/100)*$berat_benihb)*(70/100))*(3/100),2)}}</td>
<td>{{$fcr=round($fcum=$fcum+$fday1,2)}}</td>
<td>{{round($fcr=$fcr/$biomas,1)}}</td>
</tr>
@endfor
</tbody>
</table>
<div class="form-group pull-right" style="padding-right: 30px">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Simpan" >
</div>
</form>
</div>

<div class="row line-head col-lg-12" id="jadwal">


<div class="col-lg-2"></div>
<div class="col-lg-8" style="padding-top: 5%" style="align-content: center">
<center><h3 >JADWAL PEMBERIAN PAKAN PERHARI</h3></center>
<br>
<table class="table table-bordered table-striped" align="center" cellpadding
="20">
<thead >
<tr style="background-color: #009688">
<th>Hari</th>
<th>F/day</th>
<th colspan="3"><center>Frekuensi Pemberian Pakan
(gram)</center></th>
</tr>
<tr style="background-color: #009688">
<th></th>
<th></th>
<th>07:00 (30%)</th>
<th>13:00 (30%)</th>
<th>17:30 (40%)</th>
</tr>
</thead>
<tbody>
@php
$berat_benihj = round(3,2);
$adg1j = round(((4/100)*($data->abw-$berat_benihj ))/9,3);
$adg2j = round(((15/100)*($data->abw-$berat_benihj ))/20,3);
$adg3j = round(((22/100)*($data->abw-$berat_benihj ))/15,3);
$adg4j = round(((19/100)*($data->abw-$berat_benihj ))/10,3);
$adg5j = round(((40/100)*($data->abw-$berat_benihj ))/35,3);

$pengurang_srj = round((((100-$data->sr)*100)/$data-
>masa_panen)/100,2);
$srj = round(100-$pengurang_srj,2);
$fdayj = round(((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(30/100),2);
$frj = round(30,2);
$no = 2;
@endphp
<tr>
<td>1</td>
<td>{{round($fdayj,2)}}</td>
<td>{{round(((((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(30/100))*30)/100 ,1)}}</td>
<td>{{round(((((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(30/100))*30)/100 ,1)}}</td>
<td>{{round(((((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(30/100))*40)/100 ,1)}}</td>
</tr>
@for ($i = 0; $i < 9; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($berat_benihj = $berat_benihj +
$adg1j,2)}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<td>{{$makan1=round((((($data-
>tebar_benih*$srj)/100)*$berat_benihj)/100)*$frj=($frj-2.66),2)}}</td>
<td>{{round(($makan1*30)/100,1)}}</td>
<td>{{round(($makan1*30)/100,1)}}</td>
<td>{{round(($makan1*40)/100,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 20; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($berat_benihj = $berat_benihj +
$adg2j,2)}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<td>{{$makan2=round(((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(5/100),2)}}</td>
<td>{{round(($makan2*30)/100,1)}}</td>
<td>{{round(($makan2*30)/100,1)}}</td>
<td>{{round(($makan2*40)/100,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 15; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($berat_benihj = $berat_benihj +
$adg3j,2)}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<td>{{$makan3=round(((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(4/100),2)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*40)/100,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 10; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($berat_benihj = $berat_benihj +
$adg4j,2)}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<td>{{$makan4=round(((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(3/100),2)}}</td>
<td>{{round(($makan4*30)/100,1)}}</td>
<td>{{round(($makan4*30)/100,1)}}</td>
<td>{{round(($makan4*40)/100,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 35; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($berat_benihj = $berat_benihj +
$adg5j,2)}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<td>{{$makan4=round((((($data-
>tebar_benih*$srj)/100)*$berat_benihj)*(70/100))*(3/100),2)}}</td>
<td>{{round(($makan4*30)/100,1)}}</td>
<td>{{round(($makan4*30)/100,1)}}</td>
<td>{{round(($makan4*40)/100,1)}}</td>
</tr>
@endfor
</tbody>
</table>
</div>
<div class="col-lg-2"></div>
</div>
@include('fpakan-ikan.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-blind-feeding') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
$(function(){
$('#simpan-fcum').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('simpan-fcum') }}",
type :"POST",
data : $('#simpan-fcum').serialize(),
success : function(data){
location.reload(true);
swal({
title: 'Berhasil Menyimpan',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
</script>
@endsection

34. Pakan-Ikan\resource\views\fsampling-dua\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Sampling Kedua</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select class="form-control" id="id" name="id" required>
@foreach ($kolam as $id_kolam)
<option value="{{$id_kolam->id}}" >{{$id_kolam-
>id_kolam}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label class="control-label">ABW Sampling Kedua</label>
<input class="form-control" type="text" min="0" max="4"
name="samplingdua" id="samplingdua" required>
</div>
<div class="form-group">
<label class="control-label">Hari Ke</label>
<input class="form-control" type="text" value="46" readonly required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

35. Pakan-Ikan\resource\views\fsampling-dua\lihat-sampling-dua.plade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Kedua</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Kedua</h2>
</div>
<div class="col-lg-3 line-head">
<a href="#jadwal" type="button" class="btn btn-sm btn-primary pull-
right">Jadwal Pemberian Pakan</a>
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Kedua</a>
</div>
</div>
<form action="/cari-sampling-dua" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam">
<option style="background-color: silver" value="{{$data-
>id}}">{{$data->id_kolam}}</option >
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3">
<div class="form-group">
<label class="control-label">Masa Panen</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>masa_panen}}&nbsp; Hari">
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>tebar_benih}}&nbsp; Ekor">
</div>

<div class="form-group">
<label class="control-label">Survival Rate (SR)</label><br>
<input class="form-control" type="text" readonly value="{{$data->sr}}
&nbsp; %">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>abw}}&nbsp; gr ">
</div>
<br><br>
<div class="form-group">
<label class="control-label">Hari Ke </label><br>
<input class="form-control" type="text" readonly value="46-60 ">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW) Sampling
Kedua</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>samplingdua}}&nbsp; gr ">
</div>
</div>
<div class="col-log-3" style="padding-left: 13%" >
<br><br>
<table cellpadding ="7" class="table table-bordered">
<tr>
<th colspan="11" style="background-color:
#009688"><center>FR</center></th>
</tr>
<tr>
<th >30%-6%</th>
<td>30</td>
<td>27,3</td>
<td>24,7</td>
<td>22</td>
<td>19,3</td>
<td>16.7</td>
<td>14</td>
<td>11,3</td>
<td>8,7</td>
<td>6</td>
</tr>
<tr>
<th >5%</th>
<td colspan="11">5</td>
</tr>
<tr>
<th >4%</th>
<td colspan="11">4</td>
</tr>
<tr>
<th >3%</th>
<td colspan="11">3</td>
</tr>
<tr>
<th >3%(-30% dari Biomas)</th>
<td colspan="11">3%(-30% dari Biomas) </td>

</tr>
</table>
</div>

{{-- Sampling Kedua 30 --}}


<form method="POST" class="col-lg-12" id="simpan-fcum2">
{{ csrf_field() }}
<input type="hidden" value="{{$data->id}}" name="id_blind">
<table class="table table-bordered table-striped" align="center">
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day</th>
<th style="background-color: #009688">F-cum </th>
<th style="background-color: #009688">FCR </th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
@php
$berat_benih = round(3,2);
$abw_sampling = $data->samplingdua;
$adg4 = round(((19/100)*($data->abw-$berat_benih ))/10,3);
$adg5 = round(((40/100)*($data->abw-$berat_benih ))/35,3);

$pengurang_sr = round((((100-$data->sr)*100)/$data->masa_panen)/100,2);
$sr = round(100-($pengurang_sr*45),2);
$fcum = $data->fcum1;
$biomas = round((($data->tebar_benih*$sr)/100)*$abw_sampling,2);
$fday = round((3*$biomas)/100,2);
$fcr = round($fcum/$biomas,2);
$fr = round(30,2);
$no = 46;
@endphp

@for ($i = 0; $i < 10; $i++)


<tr>
<td>{{$no++}}</td>
<td>{{round($abw_sampling = $abw_sampling + $adg4,2)}}</td>
<td></td>
<td></td>
<td></td>
<td>{{$adg4}}</td>
<td></td>
<td>{{round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$sr)/100)*$abw_sampling,2)}}</td>
<td>{{$fday1=round((3*$biomas)/100,2)}}</td>
<td>{{$fcum=$fcum+$fday1}}</td>
<td>{{round($fcum/$biomas,1)}}</td>

</tr>
@endfor

@for ($i = 0; $i < 5; $i++)


<tr>
<td>{{$nofcum2=$no++}}</td>
<td>{{round($abw_sampling = $abw_sampling + $adg5,2)}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{$adg5}}</td>
<td>{{round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$sr)/100)*$abw_sampling,2)}}</td>
<td>{{$fday1=round(( 3*((70*$biomas)/100))/100,2)}}</td>
<td>{{$input_fcum2=$fcum=$fcum+$fday1}}</td>
<input type="hidden" value="{{$input_fcum2}}"
name="fcum{{$nofcum2}}">
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor
</tbody>
</table>
<div class="form-group pull-right" style="padding-right: 30px">
<label>&nbsp;</label><br>
<input class="btn btn-primary" type="submit" value="Simpan" >
</div>
</form>
</div>
<div class="row line-head col-lg-12" id="jadwal">
<div class="col-lg-2"></div>
<div class="col-lg-8" style="padding-top: 5%" style="align-content: center">
<center><h3 >JADWAL PEMBERIAN PAKAN PERHARI</h3></center>
<br>
<table class="table table-bordered table-striped" align="center" cellpadding
="20">
<thead >
<tr style="background-color: #009688">
<th>Hari</th>
<th>F/day</th>
<th colspan="3"><center>Frekuensi Pemberian Pakan
(gram)</center></th>
</tr>
<tr style="background-color: #009688">
<th></th>
<th></th>
<th>07:00 (30%)</th>
<th>13:00 (30%)</th>
<th>17:30 (40%)</th>
</tr>
</thead>
<tbody>
@php
$berat_benihj = round(3,2);
$abw_samplingj = $data->samplingdua;
$adg4j = round(((19/100)*($data->abw-$berat_benihj ))/10,3);
$adg5j = round(((40/100)*($data->abw-$berat_benihj ))/35,3);

$pengurang_srj = round((((100-$data->sr)*100)/$data-
>masa_panen)/100,2);
$srj = round(100-($pengurang_srj*45),2);
$fcumj = round(((($data-
>tebar_benih*99.8)/100)*$berat_benihj)*(30/100),2);
$biomasj = round((($data->tebar_benih*$srj)/100)*$abw_samplingj,2);
$fdayj = round((3*$biomasj)/100,2);
$no = 46;
@endphp

@for ($i = 0; $i < 10; $i++)


<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($abw_samplingj =
$abw_samplingj + $adg4j,2)}}">
<input type="hidden" value="{{$adg4j}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,2)}}">
<input type="hidden" value="{{$biomasj=round((($data-
>tebar_benih*$srj)/100)*$abw_samplingj,2)}}">
<td>{{$makan3=round((3*$biomasj)/100,2)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*40)/100,1)}}</td>
</tr>
@endfor
@for ($i = 0; $i < 5; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($abw_samplingj =
$abw_samplingj + $adg5j,2)}}">
<input type="hidden" value="{{$adg5j}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,1)}}">
<input type="hidden" value="{{$biomasj=round((($data-
>tebar_benih*$srj)/100)*$abw_samplingj,2)}}">
<td>{{$makan32=round(( 3*((70*$biomasj)/100))/100,2)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*40)/100,1)}}</td>
</tr>
@endfor

</tbody>
</table>
</div>
<div class="col-lg-2"></div>
</div>
@include('fsampling-dua.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-dua') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Kedua Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
$(function(){
$('#simpan-fcum2').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('simpan-fcum2') }}",
type :"POST",
data : $('#simpan-fcum2').serialize(),
success : function(data){
location.reload(true);
swal({
title: 'Berhasil Menyimpan',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection
36. Pakan-Ikan\resource\views\fsampling-dua\sampling-dua.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Kedua</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Kedua</h2>
</div>
<div class="col-lg-6 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Kedua</a>
</div>
</div>
<form action="/cari-sampling-dua" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-5 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam" required>
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
</div>

{{-- Blind Feeding 30 --}}


<table id="table-blind-feeding" class="table table-bordered" >
<thead border="1" >
<tr>
<th style="background-color: #009688" >Hari</th>
<th style="background-color: #009688" >ABW (gr)</th>
<th style="background-color: #009688" colspan="5" align-
text="center">ADG</th>
<th style="background-color: #009688" >SR (%)</th>
<th style="background-color: #009688" >Biomas</th>
<th style="background-color: #009688" >F/Day </th>
<th style="background-color: #009688" >F-Cum </th>
<th style="background-color: #009688" >FCR </th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fsampling-dua.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-dua') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Kedua Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

37. Pakan-Ikan\resource\views\fsampling-empat\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Sampling Keempat</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select class="form-control" id="id" name="id" required>
@foreach ($kolam as $id_kolam)
<option value="{{$id_kolam->id}}" >{{$id_kolam-
>id_kolam}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label class="control-label">ABW Sampling Keempat</label>
<input class="form-control" type="text" min="0" max="4"
name="samplingempat" id="samplingempat" required>
</div>
<div class="form-group">
<label class="control-label">Hari Ke</label>
<input class="form-control" type="text" value="76" readonly required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

38. Pakan-Ikan\resource\views\fsampling-empat\lihat-sampling-empat.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Keempat</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Keempat</h2>
</div>
<div class="col-lg-3 line-head">
<a href="#jadwal" type="button" class="btn btn-sm btn-primary pull-
right">Jadwal Pemberian Pakan</a>
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Keempat</a>
</div>
</div>
<form action="/cari-sampling-empat" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam">
<option style="background-color: silver" value="{{$data-
>id}}">{{$data->id_kolam}}</option >
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3">
<div class="form-group">
<label class="control-label">Masa Panen</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>masa_panen}}&nbsp; Hari">
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>tebar_benih}}&nbsp; Ekor">
</div>

<div class="form-group">
<label class="control-label">Survival Rate (SR)</label><br>
<input class="form-control" type="text" readonly value="{{$data->sr}}
&nbsp; %">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>abw}}&nbsp; gr ">
</div>
<br><br>
<div class="form-group">
<label class="control-label">Hari Ke </label><br>
<input class="form-control" type="text" readonly value="76-90 ">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW) Sampling
Keempat</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>samplingempat}}&nbsp; gr ">
</div>
</div>
<div class="col-log-3" style="padding-left: 13%" >
<br><br>
<table cellpadding ="7" class="table table-bordered">
<tr>
<th colspan="11" style="background-color:
#009688"><center>FR</center></th>
</tr>
<tr>
<th >30%-6%</th>
<td>30</td>
<td>27,3</td>
<td>24,7</td>
<td>22</td>
<td>19,3</td>
<td>16.7</td>
<td>14</td>
<td>11,3</td>
<td>8,7</td>
<td>6</td>
</tr>
<tr>
<th >5%</th>
<td colspan="11">5</td>
</tr>
<tr>
<th >4%</th>
<td colspan="11">4</td>
</tr>
<tr>
<th >3%</th>
<td colspan="11">3</td>
</tr>
<tr>
<th >3%(-30% dari Biomas)</th>
<td colspan="11">3%(-30% dari Biomas) </td>

</tr>
</table>
</div>
{{-- Sampling Keempat 30 --}}
<form method="POST" class="col-lg-12" id="simpan-fcum4">
{{ csrf_field() }}
<input type="hidden" value="{{$data->id}}" name="id_blind">
<table class="table table-bordered table-striped" align="center">
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day</th>
<th style="background-color: #009688">F-Cum</th>
<th style="background-color: #009688">FCR</th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>

@php
$berat_benih = round(3,2);
$abw_sampling = $data->samplingempat;
$adg4 = round(((19/100)*($data->abw-$berat_benih ))/10,3);
$adg5 = round(((40/100)*($data->abw-$berat_benih ))/35,3);

$pengurang_sr = round((((100-$data->sr)*100)/$data->masa_panen)/100,2);
$sr = round(100-($pengurang_sr*75),2);
$fcum = $data->fcum3;
$biomas = round((($data->tebar_benih*$sr)/100)*$abw_sampling,2);
$fday = round((3*$biomas)/100,2);
$fcr = round($fcum/$biomas,2);
$fr = round(30,2);
$no = 76;
@endphp

@for ($i = 0; $i < 15; $i++)


<tr>
<td>{{$nofcum4=$no++}}</td>
<td>{{round($abw_sampling = $abw_sampling + $adg5,2)}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{$adg5}}</td>
<td>{{round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$sr)/100)*$abw_sampling,2)}}</td>
<td>{{$fday1=round(( 3*((70*$biomas)/100))/100,2)}}</td>
<td>{{$input_fcum4=$fcum=$fcum+$fday1}}</td>
<input type="hidden" value="{{$input_fcum4}}"
name="fcum{{$nofcum4}}">
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor
</tbody>
</table>
<div class="form-group pull-right" style="padding-right: 30px">
<label>&nbsp;</label><br>
<input class="btn btn-primary" type="submit" value="Simpan" >
</div>
</form>
</div>
<div class="row line-head col-lg-12" id="jadwal">
<div class="col-lg-2"></div>
<div class="col-lg-8" style="padding-top: 5%" style="align-content: center">
<center><h3 >JADWAL PEMBERIAN PAKAN PERHARI</h3></center>
<br>
<table class="table table-bordered table-striped" align="center" cellpadding
="20">
<thead >
<tr style="background-color: #009688">
<th>Hari</th>
<th>F/day</th>
<th colspan="3"><center>Frekuensi Pemberian Pakan
(gram)</center></th>
</tr>
<tr style="background-color: #009688">
<th></th>
<th></th>
<th>07:00 (30%)</th>
<th>13:00 (30%)</th>
<th>17:30 (40%)</th>
</tr>
</thead>
<tbody>
@php
$berat_benihj = round(3,2);
$abw_samplingj = $data->samplingempat;
$adg4j = round(((19/100)*($data->abw-$berat_benihj ))/10,3);
$adg5j = round(((40/100)*($data->abw-$berat_benihj ))/35,3);

$pengurang_srj = round((((100-$data->sr)*100)/$data-
>masa_panen)/100,2);
$srj = round(100-($pengurang_srj*75),2);
$fcumj = round(((($data-
>tebar_benih*99.8)/100)*$berat_benihj)*(30/100),2);
$biomasj = round((($data->tebar_benih*$srj)/100)*$abw_samplingj,2);
$fdayj = round((3*$biomasj)/100,2);
$no = 76;
@endphp
@for ($i = 0; $i < 15; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($abw_samplingj =
$abw_samplingj + $adg5j,2)}}">
<input type="hidden" value="{{$adg5j}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,2)}}">
<input type="hidden" value="{{$biomasj=round((($data-
>tebar_benih*$srj)/100)*$abw_samplingj,2)}}">
<td>{{$makan32=round(( 3*((70*$biomasj)/100))/100,2)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*40)/100,1)}}</td>
</tr>
@endfor

</tbody>
</table>
</div>
<div class="col-lg-2"></div>
</div>
@include('fsampling-empat.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-empat') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Keempat Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
$(function(){
$('#simpan-fcum4').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('simpan-fcum4') }}",
type :"POST",
data : $('#simpan-fcum4').serialize(),
success : function(data){
location.reload(true);
swal({
title: 'Berhasil Menyimpan',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

39. Pakan-Ikan\resource\views\fsampling-empat\sampling-empat.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Keempat</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Keempat</h2>
</div>
<div class="col-lg-6 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Keempat</a>
</div>
</div>
<form action="/cari-sampling-empat" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-5 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam" required>
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
</div>
{{-- Blind Feeding 30 --}}
<table id="table-blind-feeding" class="table table-bordered" >
<thead border="1" >
<tr>
<th style="background-color: #009688" >Hari</th>
<th style="background-color: #009688" >ABW (gr)</th>
<th style="background-color: #009688" colspan="5" align-
text="center">ADG</th>
<th style="background-color: #009688" >SR (%)</th>
<th style="background-color: #009688" >Biomas</th>
<th style="background-color: #009688" >F/Day </th>
<th style="background-color: #009688" >F-Cum </th>
<th style="background-color: #009688" >FCR</th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fsampling-empat.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-empat') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Keempat Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

40. Pakan-Ikan\resource\views\fsampling-satu\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Sampling Pertama</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select class="form-control" id="id" name="id" required>
@foreach ($kolam as $id_kolam)
<option value="{{$id_kolam->id}}" >{{$id_kolam-
>id_kolam}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label class="control-label">ABW Sampling Pertama</label>
<input class="form-control" type="text" min="0" max="4"
name="samplingsatu" id="samplingsatu" required>
</div>
<div class="form-group">
<label class="control-label">Hari Ke</label>
<input class="form-control" type="text" value="31" readonly required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>
41. Pakan-Ikan\resource\views\fsampling-satu\lihat-sampling-satu.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Pertama</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Pertama</h2>
</div>
<div class="col-lg-3 line-head">
<a href="#jadwal" type="button" class="btn btn-sm btn-primary pull-
right">Jadwal Pemberian Pakan</a>
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Pertama</a>
</div>
</div>
<form action="/cari-sampling-satu" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam">
<option style="background-color: silver" value="{{$data-
>id}}">{{$data->id_kolam}}</option >
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3">
<div class="form-group">
<label class="control-label">Masa Panen</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>masa_panen}}&nbsp; Hari">
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>tebar_benih}}&nbsp; Ekor">
</div>

<div class="form-group">
<label class="control-label">Survival Rate (SR)</label><br>
<input class="form-control" type="text" readonly value="{{$data->sr}}
&nbsp; %">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>abw}}&nbsp; gr ">
</div>
<br><br>
<div class="form-group">
<label class="control-label">Hari Ke </label><br>
<input class="form-control" type="text" readonly value="31-45 ">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW) Sampling
Pertama</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>samplingsatu}}&nbsp; gr ">
</div>
</div>
<div class="col-log-3" style="padding-left: 13%" >
<br><br>
<table cellpadding ="7" class="table table-bordered">
<tr>
<th colspan="11" style="background-color:
#009688"><center>FR</center></th>
</tr>
<tr>
<th >30%-6%</th>
<td>30</td>
<td>27,3</td>
<td>24,7</td>
<td>22</td>
<td>19,3</td>
<td>16.7</td>
<td>14</td>
<td>11,3</td>
<td>8,7</td>
<td>6</td>
</tr>
<tr>
<th >5%</th>
<td colspan="11">5</td>
</tr>
<tr>
<th >4%</th>
<td colspan="11">4</td>
</tr>
<tr>
<th >3%</th>
<td colspan="11">3</td>
</tr>
<tr>
<th >3%(-30% dari Biomas)</th>
<td colspan="11">3%(-30% dari Biomas) </td>

</tr>
</table>
</div>

{{-- Sampling Pertama 30 --}}


<form method="POST" class="col-lg-12" id="simpan-fcum1">
{{ csrf_field() }}
<input type="hidden" value="{{$data->id}}" name="id_blind">
<table class="table table-bordered table-striped" align="center">
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day </th>
<th style="background-color: #009688">F-cum </th>
<th style="background-color: #009688">FCR </th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>

@php
$berat_benih = round(3,2);
$abw_sampling = $data->samplingsatu;
$adg3 = round(((22/100)*($data->abw-3 ))/15,3);

$pengurang_sr = round((((100-$data->sr)*100)/$data->masa_panen)/100,2);
$sr = round(100-($pengurang_sr*30),2);
$fcum = $data->fcum;
$biomas = round((($data->tebar_benih*$sr)/100)*$abw_sampling,2);
$fday = round((4*$biomas)/100,2);
$fcr = round($fcum/$biomas,2);
$fr = round(30,2);
$no = 31;
@endphp

@for ($i = 0; $i < 15; $i++)


<tr>
<td>{{$nofcum1=$no++}}</td>
<td>{{round($abw_sampling = $abw_sampling + $adg3,2)}}</td>
<td></td>
<td></td>
<td>{{$adg3}}</td>
<td></td>
<td></td>
<td>{{round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$sr)/100)*$abw_sampling,2)}}</td>
<td>{{$fday1=round((4*$biomas)/100,2)}}</td>
<td>{{$input_fcum1=$fcum=$fcum+$fday1}}</td>
<input type="hidden" value="{{$input_fcum1}}"
name="fcum{{$nofcum1}}">
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor

</taody>
</table>
<div class="form-group pull-right" style="padding-right: 30px">
<label>&nbsp;</label><br>
<input class="btn btn-primary" type="submit" value="Simpan" >
</div>
</form>
</div>

{{-- jadwal --}}


<div class="row line-head col-lg-12" id="jadwal">
<div class="col-lg-2"></div>
<div class="col-lg-8" style="padding-top: 5%" style="align-content: center">
<center><h3 >JADWAL PEMBERIAN PAKAN PERHARI</h3></center>
<br>
<table class="table table-bordered table-striped" align="center" cellpadding
="20">
<thead >
<tr style="background-color: #009688">
<th>Hari</th>
<th>F/day</th>
<th colspan="3"><center>Frekuensi Pemberian Pakan
(gram)</center></th>
</tr>
<tr style="background-color: #009688">
<th></th>
<th></th>
<th>07:00 (30%)</th>
<th>13:00 (30%)</th>
<th>17:30 (40%)</th>
</tr>
</thead>
<tbody>
@php
$berat_benihj = round(3,2);
$abw_samplingj = $data->samplingsatu;
$adg3j = round(((22/100)*($data->abw-3 ))/15,3);

$pengurang_srj = round((((100-$data->sr)*100)/$data-
>masa_panen)/100,2);
$srj = round(100-($pengurang_srj*30),2);
$biomasj = round((($data->tebar_benih*$srj)/100)*$abw_samplingj,2);
$fdayj = round((4*$biomasj)/100,2);
$no = 31;
@endphp
@for ($i = 0; $i < 15; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($abw_samplingj =
$abw_samplingj + $adg3j,2)}}">
<input type="hidden" value="{{$adg3j}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,2)}}">
<input type="hidden" value="{{$biomasj=round((($data-
>tebar_benih*$srj)/100)*$abw_samplingj,2)}}">
<td>{{$makan3=round((4*$biomasj)/100,2)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*30)/100,1)}}</td>
<td>{{round(($makan3*40)/100,1)}}</td>
</tr>
@endfor
</tbody>
</table>
</div>
<div class="col-lg-2"></div>
</div>
@include('fsampling-satu.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-satu') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Pertama Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
$(function(){
$('#simpan-fcum1').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('simpan-fcum1') }}",
type :"POST",
data : $('#simpan-fcum1').serialize(),
success : function(data){
location.reload(true);
swal({
title: 'Berhasil Menyimpan',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

42. Pakan-Ikan\resource\views\fsampling-satu\sampling-satu.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Pertama</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Pertama</h2>
</div>
<div class="col-lg-6 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Pertama</a>
</div>
</div>
<form action="/cari-sampling-satu" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-5 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam" required>
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
</div>

{{-- Blind Feeding 30 --}}


<table id="table-blind-feeding" class="table table-bordered" >
<thead border="1" >
<tr>
<th style="background-color: #009688" >Hari</th>
<th style="background-color: #009688" >ABW (gr)</th>
<th style="background-color: #009688" colspan="5" align-
text="center">ADG</th>
<th style="background-color: #009688" >SR (%)</th>
<th style="background-color: #009688" >Biomas</th>
<th style="background-color: #009688" >F/Day </th>
<th style="background-color: #009688" >F-Cum </th>
<th style="background-color: #009688" >FCR </th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fsampling-satu.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-satu') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Pertama Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

43. Pakan-Ikan\resource\views\fsampling-tiga\add.blade.php
<div id="modal-form" class="modal fade" role="dialog" tabindex="1" aria-
hidden="true" data-backdrop="static">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<form method="POST" class="form-horizontal">
{{csrf_field()}} {{method_field('POST')}}
<div class="modal-headher">
<div class="modal-header">
<h5 class="modal-title">Tambah Sampling Ketiga</h5>
<button class="close" type="button" data-dismiss="modal" aria-
label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<input type="hidden" name="id_user" value="{{auth()->user()->id}}">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select class="form-control" id="id" name="id" required>
@foreach ($kolam as $id_kolam)
<option value="{{$id_kolam->id}}" >{{$id_kolam-
>id_kolam}}</option>
@endforeach
</select>
</div>
<div class="form-group">
<label class="control-label">ABW Sampling Ketiga</label>
<input class="form-control" type="text" min="0" max="4"
name="samplingtiga" id="samplingtiga" required>
</div>
<div class="form-group">
<label class="control-label">Hari Ke</label>
<input class="form-control" type="text" value="61" readonly required>
</div>
</div>
</div>
<div class="tile-footer" style="padding-left: 20px; padding-bottom: 10px " >
<button class="btn btn-primary" type="submit"><i class="fa fa-fw fa-lg fa-check-
circle"></i>Simpan</button>&nbsp;&nbsp;&nbsp;
<button class="btn btn-secondary"type="button" data-dismiss="modal" aria-
label="Close"><i class="fa fa-fw fa-lg fa-times-circle"></i><span aria-
hidden="true">Cencel</span></button>
</div>
</form>
</div>
</div>
</div>

44. Pakan-Ikan\resource\views\fsampling-tiga\lihat-sampling-tiga.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">

<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Ketiga</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Ketiga</h2>
</div>
<div class="col-lg-3 line-head">
<a href="#jadwal" type="button" class="btn btn-sm btn-primary pull-
right">Jadwal Pemberian Pakan</a>
</div>
<div class="col-lg-3 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Ketiga</a>
</div>
</div>
<form action="/cari-sampling-tiga" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam">
<option style="background-color: silver" value="{{$data-
>id}}">{{$data->id_kolam}}</option >
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-3">
<div class="form-group">
<label class="control-label">Masa Panen</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>masa_panen}}&nbsp; Hari">
</div>
<div class="form-group">
<label class="control-label">Jumlah Tebar Benih</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>tebar_benih}}&nbsp; Ekor">
</div>

<div class="form-group">
<label class="control-label">Survival Rate (SR)</label><br>
<input class="form-control" type="text" readonly value="{{$data->sr}}
&nbsp; %">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW)</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>abw}}&nbsp; gr ">
</div>
<br><br>
<div class="form-group">
<label class="control-label">Hari Ke </label><br>
<input class="form-control" type="text" readonly value="61-75 ">
</div>
<div class="form-group">
<label class="control-label">Average Body Weight (ABW) Sampling
Ketiga</label><br>
<input class="form-control" type="text" readonly value="{{$data-
>samplingtiga}}&nbsp; gr ">
</div>
</div>
<div class="col-log-3" style="padding-left: 13%" >
<br><br>
<table cellpadding ="7" class="table table-bordered">
<tr>
<th colspan="11" style="background-color:
#009688"><center>FR</center></th>
</tr>
<tr>
<th >30%-6%</th>
<td>30</td>
<td>27,3</td>
<td>24,7</td>
<td>22</td>
<td>19,3</td>
<td>16.7</td>
<td>14</td>
<td>11,3</td>
<td>8,7</td>
<td>6</td>
</tr>
<tr>
<th >5%</th>
<td colspan="11">5</td>
</tr>
<tr>
<th >4%</th>
<td colspan="11">4</td>
</tr>
<tr>
<th >3%</th>
<td colspan="11">3</td>
</tr>
<tr>
<th >3%(-30% dari Biomas)</th>
<td colspan="11">3%(-30% dari Biomas) </td>

</tr>
</table>
</div>

{{-- Sampling Ketiga 30 --}}


<form method="POST" class="col-lg-12" id="simpan-fcum3">
{{ csrf_field() }}
<input type="hidden" value="{{$data->id}}" name="id_blind">
<table class="table table-bordered table-striped" align="center">
<thead border = "1 ">
<tr>
<th style="background-color: #009688"><center>Hari</center></th>
<th style="background-color: #009688">ABW <br> (gr)</th>
<th style="background-color: #009688"
colspan="5"><center>ADG</center></th>
<th style="background-color: #009688">SR (%)</th>
<th style="background-color: #009688">Biomas</th>
<th style="background-color: #009688">F/Day</th>
<th style="background-color: #009688">F-Cum</th>
<th style="background-color: #009688">FCR</th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>

@php
$berat_benih = round(3,2);
$abw_sampling = $data->samplingtiga;
$adg4 = round(((19/100)*($data->abw-$berat_benih ))/10,3);
$adg5 = round(((40/100)*($data->abw-$berat_benih ))/35,3);

$pengurang_sr = round((((100-$data->sr)*100)/$data->masa_panen)/100,2);
$sr = round(100-($pengurang_sr*60),2);
$fcum = $data->fcum2;
$biomas = round((($data->tebar_benih*$sr)/100)*$abw_sampling,2);
$fday = round((3*$biomas)/100,2);
$fcr = round($fcum/$biomas,2);
$fr = round(30,2);
$no = 61;
@endphp

@for ($i = 0; $i < 15; $i++)


<tr>
<td>{{$nofcum3=$no++}}</td>
<td>{{round($abw_sampling = $abw_sampling + $adg5,2)}}</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>{{$adg5}}</td>
<td>{{round($sr=$sr-$pengurang_sr,2)}}</td>
<td>{{$biomas=round((($data-
>tebar_benih*$sr)/100)*$abw_sampling,2)}}</td>
<td>{{$fday1=round(( 3*((70*$biomas)/100))/100,2)}}</td>
<td>{{$input_fcum3=$fcum=$fcum+$fday1}}</td>
<input type="hidden" value="{{$input_fcum3}}"
name="fcum{{$nofcum3}}">
<td>{{round($fcum/$biomas,1)}}</td>
</tr>
@endfor

</tbody>
</table>
<div class="form-group pull-right" style="padding-right: 30px">
<label>&nbsp;</label><br>
<input class="btn btn-primary" type="submit" value="Simpan" >
</div>
</form>
</div>
<div class="row line-head col-lg-12" id="jadwal">
<div class="col-lg-2"></div>
<div class="col-lg-8" style="padding-top: 5%" style="align-content: center">
<center><h3 >JADWAL PEMBERIAN PAKAN PERHARI</h3></center>
<br>
<table class="table table-bordered table-striped" align="center" cellpadding
="20">
<thead >
<tr style="background-color: #009688">
<th>Hari</th>
<th>F/day</th>
<th colspan="3"><center>Frekuensi Pemberian Pakan
(gram)</center></th>
</tr>
<tr style="background-color: #009688">
<th></th>
<th></th>
<th>07:00 (30%)</th>
<th>13:00 (30%)</th>
<th>17:30 (40%)</th>
</tr>
</thead>
<tbody>
@php
$berat_benihj = round(3,2);
$abw_samplingj = $data->samplingtiga;
$adg4j = round(((19/100)*($data->abw-$berat_benihj ))/10,3);
$adg5j = round(((40/100)*($data->abw-$berat_benihj ))/35,3);

$pengurang_srj = round((((100-$data->sr)*100)/$data-
>masa_panen)/100,2);
$srj = round(100-($pengurang_srj*60),2);
$fcumj = round(((($data-
>tebar_benih*99.8)/100)*$berat_benihj)*(30/100),2);
$biomasj = round((($data->tebar_benih*$srj)/100)*$abw_samplingj,2);
$fdayj = round((3*$biomasj)/100,2);
$no = 61;
@endphp
@for ($i = 0; $i < 15; $i++)
<tr>
<td>{{$no++}}</td>
<input type="hidden" value="{{round($abw_samplingj =
$abw_samplingj + $adg5j,2)}}">
<input type="hidden" value="{{$adg5j}}">
<input type="hidden" value="{{round($srj=$srj-$pengurang_srj,2)}}">
<input type="hidden" value="{{$biomasj=round((($data-
>tebar_benih*$srj)/100)*$abw_samplingj,2)}}">
<td>{{$makan32=round(( 3*((70*$biomasj)/100))/100,2)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*30)/100,1)}}</td>
<td>{{round(($makan32*40)/100,1)}}</td>
</tr>
@endfor

</tbody>
</table>
</div>
<div class="col-lg-2"></div>
</div>
@include('fsampling-tiga.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('add-sampling-tiga') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Ketiga Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});
$(function(){
$('#simpan-fcum3').on('submit', function(e){
if(!e.isDefaultPrevented()){

$.ajax({
url : "{{ url('simpan-fcum3') }}",
type :"POST",
data : $('#simpan-fcum3').serialize(),
success : function(data){
location.reload(true);
swal({
title: 'Berhasil Menyimpan',
text : ':)',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

45. Pakan-Ikan\resource\views\fsampling-tiga\sampling-tiga.blade.php
@extends('flayout.master')
@section('meta')
<meta name="csrf-token" content="{{csrf_token()}}">
@endsection
@section('isi')
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="app-menu__icon fa fa-th-list"></i> Sampling Ketiga</h1>
</div>
</div>
<div class="tile mb-4">
<div class="page-header">
<div class="row" style="padding-bottom: 20px">
<div class="col-lg-6 line-head">
<h2 class="mb-2" id="buttons">Sampling Ketiga</h2>
</div>
<div class="col-lg-6 line-head" style="padding-right: 30px">
<a onClick="addForm()" type="button" class="btn btn-primary btn-sm pull-
right">Tambah Sampling Ketiga</a>
</div>
</div>
<form action="/cari-sampling-tiga" method="POST">
{{csrf_field()}}
<div class="row line-head" style="padding-bottom: 20px">
<div class="col-lg-5 ">
<div class="form-group">
<label for="exampleSelect1">No Kolam</label>
<select id="no_kolam" class="form-control" id="no_kolam"
name="no_kolam" required>
@foreach ($berisi as $isi)
<option value="{{$isi->id}}">{{$isi->id_kolam}}</option>
@endforeach
</select>
</div>
</div>
<div class="col-log-5" >
<div class="form-group">
<label>&nbsp;</label><br>
<input class="btn btn-primary " type="submit" value="Lihat">
</div>
</div>
</div>
</form>
</div>

{{-- Blind Feeding 30 --}}


<table id="table-blind-feeding" class="table table-bordered" >
<thead border="1" >
<tr>
<th style="background-color: #009688" >Hari</th>
<th style="background-color: #009688" >ABW (gr)</th>
<th style="background-color: #009688" colspan="5" align-
text="center">ADG</th>
<th style="background-color: #009688" >SR (%)</th>
<th style="background-color: #009688" >Biomas</th>
<th style="background-color: #009688" >F/Day </th>
<th style="background-color: #009688" >F-Cum </th>
<th style="background-color: #009688" >FCR </th>
</tr>
<tr>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688">1-10 <br> (4%)</th>
<th style="background-color: #009688">11-30 <br> (15%)</th>
<th style="background-color: #009688">31-45 <br> (22%)</th>
<th style="background-color: #009688">46-55 <br> (15%)</th>
<th style="background-color: #009688">56-90 <br> (40%)</th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
<th style="background-color: #009688"></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
@include('fsampling-tiga.add')
</main>
@stop
@section('script')
<script type="text/javascript">
function addForm(){
$('#modal-form').modal('show');
$('input[name =_method]').val('POST');
$('#modal-form form')[0].reset();
}
$(function(){
$('#modal-form form').on('submit', function(e){
if(!e.isDefaultPrevented()){
$.ajax({
url : "{{ url('add-sampling-tiga') }}",
type :"POST",
data : $('#modal-form form').serialize(),
success : function(data){
$('#modal-form').modal('hide');
location.reload(true);
swal({
title: 'Berhasil!',
text : 'ABW Sampling Ketiga Berhasil Ditambah',
type: 'success',
timer: '1500'
})
},
error :function (){
swal({
title : 'Oopss',
text : 'Ada Yang salah !',
type : 'error',
timer : '1500'
})
}
});
return false;
}
});
});

</script>
@endsection

46. Pakan-Ikan\resource\views\fsampling-tiga\welcome.blade.php
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Laravel</title>

<!-- Fonts -->


<link href="https://fonts.googleapis.com/css?family=Nunito:200,600"
rel="stylesheet" type="text/css">

<!-- Styles -->


<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Nunito', sans-serif;
font-weight: 200;
height: 100vh;
margin: 0;
}

.full-height {
height: 100vh;
}

.flex-center {
align-items: center;
display: flex;
justify-content: center;
}

.position-ref {
position: relative;
}

.top-right {
position: absolute;
right: 10px;
top: 18px;
}

.content {
text-align: center;
}

.title {
font-size: 84px;
}

.links > a {
color: #636b6f;
padding: 0 25px;
font-size: 12px;
font-weight: 600;
letter-spacing: .1rem;
text-decoration: none;
text-transform: uppercase;
}

.m-b-md {
margin-bottom: 30px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
@if (Route::has('login'))
<div class="top-right links">
@auth
<a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ route('login') }}">Login</a>
<a href="{{ route('register') }}">Register</a>
@endauth
</div>
@endif

<div class="content">
<div class="title m-b-md">
Laravel
</div>

<div class="links">
<a href="https://laravel.com/docs">Documentation</a>
<a href="https://laracasts.com">Laracasts</a>
<a href="https://laravel-news.com">News</a>
<a href="https://nova.laravel.com">Nova</a>
<a href="https://forge.laravel.com">Forge</a>
<a href="https://github.com/laravel/laravel">GitHub</a>
</div>
</div>
</div>
</body>
</html>

You might also like