67 lines
2.1 KiB
PHP
67 lines
2.1 KiB
PHP
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport"
|
||
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||
|
<title>Laporan Project</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<style>
|
||
|
table {
|
||
|
border-collapse: collapse;
|
||
|
width: 100%;
|
||
|
}
|
||
|
</style>
|
||
|
<table>
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th colspan="9" style="text-align:center">
|
||
|
<strong>Laporan Project {{$path}}</strong>
|
||
|
</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th colspan="9"></th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th width="40px">NO</th>
|
||
|
<th width="120px">PROJECT NAME</th>
|
||
|
<th width="120px">NO TICKET</th>
|
||
|
<th width="120px">TASK NAME</th>
|
||
|
<th width="80px">STATUS</th>
|
||
|
<th width="120px">LEVEL URGENT</th>
|
||
|
<th width="100px">CREATED AT</th>
|
||
|
<th width="120px">IMPLEMENTOR</th>
|
||
|
<th width="120px">DATE DEADLINE</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
@foreach($data as $key => $val)
|
||
|
<tr>
|
||
|
<td>{{$key+1}}</td>
|
||
|
<td>{{$val->project_name}}</td>
|
||
|
<td>`{{$val->task_code}}</td>
|
||
|
<td>{{$val->task_name}}</td>
|
||
|
<td>{{$val->status}}</td>
|
||
|
<td>{{$val->lvlurgent}}</td>
|
||
|
<td>{{date('d-m-Y', strtotime($val->created_at))}}</td>
|
||
|
|
||
|
@if($val->implementor == null)
|
||
|
<td>-</td>
|
||
|
@else
|
||
|
<td>{{$val->implementor}}</td>
|
||
|
@endif
|
||
|
|
||
|
@if($val->date_deadline == null)
|
||
|
<td>-</td>
|
||
|
@else
|
||
|
<td>{{$val->date_deadline}}</td>
|
||
|
@endif
|
||
|
</tr>
|
||
|
@endforeach
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|