81 lines
2.8 KiB
PHP
81 lines
2.8 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="container-fluid">
|
|
<div class="row ">
|
|
<div class="col-md-11 mx-auto card p-4">
|
|
@foreach($cawname as $cawname)
|
|
<h4 class="pt-3" style="margin-left:1%;">JADUAL N: {{$cawname['caw_name']}} </h4>
|
|
@endforeach
|
|
@if ($message = Session::get('success'))
|
|
<div class="alert alert-success">
|
|
<p>{{ $message }}</p>
|
|
</div>
|
|
@endif
|
|
<form id="exportform" action="" method="POST">
|
|
|
|
<input type="hidden" name="type" value="User">
|
|
<table class="table table-striped table-xl" id="tablenotislelong" style="width:100%">
|
|
<thead class="bg-primary text-white">
|
|
<tr>
|
|
<th>Bil</th>
|
|
<th>Batch Lelong</th>
|
|
<th>Tarikh Lelong</th>
|
|
<th>Fasa</th>
|
|
<th class="text-center">Muat Turun</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@foreach ($lelongid as $bid)
|
|
<tr>
|
|
<td>{{$loop->iteration}}
|
|
<td>{{ $bid->lelong_id}}</td>
|
|
<td>@php
|
|
$myDateTime = DateTime::createFromFormat('Y-m-d', $bid->tarikh_lelong );
|
|
$t_lelong = $myDateTime->format('d-m-Y');
|
|
echo($t_lelong);
|
|
@endphp</td>
|
|
<td>{{ $bid->fasa }}</td>
|
|
<td class="text-center">
|
|
<a href="{{ route('reportcawkhas.cetakjadualN',$bid->lelong_id) }}" data-toggle="tooltip" data-placement="top" title="Senarai Sandaran KPKT" ><i class="fas fa-download"></i></a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
|
|
</table>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
//Enable tooltips everywhere
|
|
$(function () {
|
|
$('[data-toggle="tooltip"]').tooltip()
|
|
})
|
|
var tablenotislelong = $('#tablenotislelong').DataTable({
|
|
"columnDefs": [
|
|
{
|
|
"targets": 0,
|
|
"orderable": false
|
|
},
|
|
{
|
|
"targets": 3,
|
|
"orderable": false
|
|
}
|
|
],
|
|
order: [[1, 'asc']],
|
|
"info": false,
|
|
"lengthChange": false,
|
|
"pageLength": 99999,
|
|
dom: 'Bfrtip',
|
|
|
|
});
|
|
|
|
|
|
</script>
|
|
@endsection
|