-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Haxorsprogramming
committed
Apr 4, 2022
1 parent
d24d754
commit c391a7d
Showing
8 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
|
||
use App\Models\M_Pengujian; | ||
|
||
class C_Laporan extends Controller | ||
{ | ||
public function dataLaporan() | ||
{ | ||
$dataPengujian = M_Pengujian::all(); | ||
$dr = ['dataPengujian' => $dataPengujian]; | ||
return view('main.laporan.laporanData', $dr); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="col-lg-12"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h4 class="header-title">Pengembang Aplikasi</h4> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<div class="col-lg-12"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h4 class="header-title">Laporan Analisa</h4> | ||
<div class="table-responsive"> | ||
<table class="table mb-0 table-hover" id="tblLaporan"> | ||
<thead> | ||
<tr> | ||
<th>#</th> | ||
<th>Kd Pengujian</th> | ||
<th>Nama Penguji</th> | ||
<th>Waktu Pengujian</th> | ||
<th>Support</th> | ||
<th>Confidence</th> | ||
<th>Total Pola Produk</th> | ||
<th>Aksi</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach($dataPengujian as $pengujian) | ||
<tr> | ||
<td>{{ $loop -> iteration }}</td> | ||
<td>{{ substr($pengujian -> kd_pengujian, 0, 5) }}</td> | ||
<td>{{ $pengujian -> nama_penguji }}</td> | ||
<td>{{ $pengujian -> created_at }}</td> | ||
<td>{{ $pengujian -> min_supp }}</td> | ||
<td>{{ $pengujian -> min_confidence }}</td> | ||
<td>{{ $pengujian -> totalPolaProduk($pengujian -> kd_pengujian, $pengujian -> min_confidence) }}</td> | ||
<td> | ||
<a href="javascript:void(0)" onclick="keDetail('{{ $pengujian -> kd_pengujian }}')" class="btn btn-primary btn-sm">Detail</a> | ||
<a href="{{ url('/apriori/analisa/cetak/') }}/{{ $pengujian -> kd_pengujian }}" target="new" class="btn btn-success btn-sm">Cetak</a> | ||
</td> | ||
</tr> | ||
@endforeach | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
$("#tblLaporan").dataTable(); | ||
function keDetail(kdPengujian) | ||
{ | ||
renderPage('app/apriori/analisa/hasil/'+kdPengujian, 'Hasil Analisa'); | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters