add tooltip
This commit is contained in:
@@ -566,11 +566,8 @@ class LelongController extends Controller
|
||||
|
||||
public function senarailelongtaklaku(Request $request){
|
||||
|
||||
$user = Auth::user();
|
||||
|
||||
$senarai = CawanganLelong::join('lelong', 'cawangan_lelong.lelong_id', '=', 'lelong.id')
|
||||
->join('cawangan','cawangan_lelong.caw_id', '=', 'cawangan.id')
|
||||
->where('cawangan.caw_code', $user->kodcaw)
|
||||
->get();
|
||||
|
||||
return view('lelong.senarailelongtaklaku',compact('senarai'));
|
||||
@@ -583,6 +580,7 @@ class LelongController extends Controller
|
||||
->where('lelongbid.lelong_id', $lelong_id)
|
||||
->whereNull('t_jual')
|
||||
->select(
|
||||
'lelongbid.norujukan',
|
||||
'lelongbid.t_lelong',
|
||||
'lelongbid.kodcaw',
|
||||
'cawangan.caw_name',
|
||||
@@ -601,6 +599,7 @@ class LelongController extends Controller
|
||||
|
||||
$suratlelongtaklaku = LelongBid::join('lelong', 'lelongbid.lelong_id', '=', 'lelong.id')
|
||||
->where('lelongbid.lelong_id', $lelong_id)
|
||||
->where('status_jual', '=', 1)
|
||||
->whereNull('t_jual')
|
||||
->get();
|
||||
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
<td>{{ $bid->lelong_id}}</td>
|
||||
<td>{{ $bid->tarikh_lelong }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('jananotis.jananotis',$bid->lelong_id) }}"><i class="fas fa-download"></i></a>
|
||||
<a href="{{ route('jananotis.senarainotis',$bid->lelong_id) }}"><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('jananotis.jananotis',$bid->lelong_id) }}" data-toggle="tooltip" data-placement="top" title="Muat Turun Jana Notis" ><i class="fas fa-download"></i></a>
|
||||
<a href="{{ route('jananotis.senarainotis',$bid->lelong_id) }}" data-toggle="tooltip" data-placement="top" title="Butiran Senarai Notis" ><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -43,4 +43,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="modal-footer" style="margin-top:2%;">
|
||||
<a href="{{ route('jananotis.notislelong') }}" class="btn btn-primary">Kembali</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>Tarikh Lelong</th>
|
||||
<th>Kod Cawangan</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Nama Cawangan</th>
|
||||
<th>Bilangan</th>
|
||||
<th>Pinjaman (RM)</th>
|
||||
@@ -38,7 +38,7 @@
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $leltaklaku->t_lelong }}</td>
|
||||
<td class="text-center">{{ $leltaklaku->kodcaw }}</td>
|
||||
<td>{{ $leltaklaku->norujukan }}</td>
|
||||
<td>{{ $leltaklaku->caw_name }}</td>
|
||||
<td> {{ $leltaklaku['suratlelongtaklaku'] }} </td>
|
||||
<td>{{ $leltaklaku->pinjaman }}</td>
|
||||
@@ -64,7 +64,7 @@
|
||||
<td style = "color:red" ><b>TIDAK LAKU</b> </td>
|
||||
@endif
|
||||
<td class="text-center">
|
||||
<a href=" # " target = "blank" ><i class="fas fa-download"></i></a>
|
||||
<a href=" # " target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Laporan" ><i class="fas fa-download"></i></a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" aria-label="Checkbox for following text input" >
|
||||
@@ -76,12 +76,20 @@
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<div class="modal-footer" style="margin-top:2%;">
|
||||
<a href="{{ route('lelong.senarailelongtaklaku') }}" class="btn btn-primary">Kembali</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
|
||||
var tablelelongtaklaku = $('#lelongtaklaku').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
@endif
|
||||
<form id="exportform" action="" method="POST">
|
||||
<input type="hidden" name="type" value="User">
|
||||
<table class="table table-striped table-xl" id="lelong" style="width:100%">
|
||||
<table class="table table-striped table-xl text-center" id="lelong" style="width:100%">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th><input type="checkbox" aria-label="Checkbox for following text input" onclick="selectall(this)"></th>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<td>{{ $data->harga_emas_asas }}</td>
|
||||
<td>{{ $data->jbg }}</td>
|
||||
<td>{{ $data->cajlelong }}</td>
|
||||
<td><a href=" {{ route('lelong.lelongtaklaku', ['lelong_id'=>$data['lelong_id']]) }} "><i class="far fa-edit"></i></a></td>
|
||||
<td><a href=" {{ route('lelong.lelongtaklaku', ['lelong_id'=>$data['lelong_id']]) }} " data-toggle="tooltip" data-placement="top" title="Senarai Lelong Tak Laku" ><i class="far fa-edit"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@@ -41,6 +41,11 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
|
||||
var tablesenarailelongtaklaku = $('#ssenarailelongtaklaku').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="text-right">
|
||||
<a href="{{ route('pembayaran.SenaraiLelongBayar') }}" class="btn btn-primary" style="width:15%" >Kembali</a>
|
||||
<button type="button" class="btn btn-success" style="width:15%" id="btnterima" onclick="functerima()">Terima</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
<td>{{ $winner['totalBid']}}</td>
|
||||
<td>{{ $winner['totalPay']}}</td>
|
||||
<td>
|
||||
<a href="{{ route('serahan.penyatabayaran',['user_id'=>$winner['details']['id'],'lelong_id'=>$lelong_id]) }}" target = "blank" ><i class="fas fa-download"></i></a>
|
||||
<a href="{{ route('serahan.penyatabayaran',['user_id'=>$winner['details']['id'],'lelong_id'=>$lelong_id]) }}" target = "blank" data-toggle="tooltip" data-placement="top" title="Muat Turun Penyata Bayaran" ><i class="fas fa-download"></i></a>
|
||||
</td>
|
||||
<td>
|
||||
@if( $winner['totalPay'] < $winner['totalBid'] )
|
||||
<a href=" {{ route('pembayaran.SAGBidItem', ['user_id'=>$winner['details']['id'], 'lelong_id'=>$lelong_id]) }} "><i class="far fa-edit"></i></a>
|
||||
<a href=" {{ route('pembayaran.SAGBidItem', ['user_id'=>$winner['details']['id'], 'lelong_id'=>$lelong_id]) }} " data-toggle="tooltip" data-placement="top" title="Buat Pembayaran"><i class="far fa-edit"></i></a>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@@ -54,6 +54,10 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
var tablekaunter = $('#tablekaunter').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<td>{{$loop->iteration}}</td>
|
||||
<td>{{ $data->tarikh_lelong }}</td>
|
||||
<td>{{ $data->sts_lelong }}</td>
|
||||
<td><a href=" {{ route('pembayaran.kaunterpembayaran', ['lelong_id'=>$data['lelong_id']]) }} "><i class="far fa-edit"></i></a></td>
|
||||
<td><a href=" {{ route('pembayaran.kaunterpembayaran', ['lelong_id'=>$data['lelong_id']]) }} " data-toggle="tooltip" data-placement="top" title="Butiran Bidaan"><i class="far fa-edit"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@@ -35,6 +35,10 @@
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
var tablesenarailelongonline = $('#senarailelongonline').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
Menunggu Pengesahan Operasi
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('pembida.show',$user->id) }}"><i class="fas fa-edit"></i></a>
|
||||
<a href="{{ route('pembida.show',$user->id) }}" data-toggle="tooltip" data-placement="top" title="Sahkan Pembida"><i class="fas fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -57,6 +57,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
|
||||
$('a.confirmdel').confirm({
|
||||
title: 'Confirmation',
|
||||
content: 'Anda pasti?',
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<form id="exportform" action="{{route('pengguna.export')}}" method="POST">
|
||||
@csrf
|
||||
<input type="hidden" name="type" value="User">
|
||||
<table class="table table-striped table-xl" id="pengguna" style="width:100%">
|
||||
<table class="table table-striped table-xl text-center" id="pengguna" style="width:100%">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th><input type="checkbox" aria-label="Checkbox for following text input" onclick="selectall(this)"></th>
|
||||
@@ -45,7 +45,7 @@
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('pembida.kemaskini',$user->id) }}"><i class="fas fa-edit"></i></a>
|
||||
<a href="{{ route('pembida.kemaskini',$user->id) }}" data-toggle="tooltip" data-placement="top" title="Kemaskini Pembida"><i class="fas fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -58,6 +58,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
|
||||
$('a.confirmdel').confirm({
|
||||
title: 'Confirmation',
|
||||
content: 'Anda pasti?',
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
<td class="text-center">
|
||||
<form action="{{ route('sistem.deleteConn',$data->id) }}" method="POST" id="formdelconn-{{$data->id}}">
|
||||
@csrf
|
||||
<a href="{{ route('sistem.showConn',$data->id) }}"><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('sistem.showConn',$data->id) }}" data-toggle="tooltip" data-placement="top" title="Kemaskini" ><i class="far fa-edit"></i></a>
|
||||
{{-- <a href="{{ route('sistem.showConn',$data->id) }}"><i class="far fa-eye"></i></a> --}}
|
||||
<a onclick="confirm({{$data->id}})"><i class="far fa-trash-alt"></i></a>
|
||||
<a onclick="confirm({{$data->id}})" data-toggle="tooltip" data-placement="top" title="Padam"><i class="far fa-trash-alt"></i></a>
|
||||
</form>
|
||||
|
||||
</td>
|
||||
@@ -153,6 +153,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
function newconnection() {
|
||||
$("#formnewconnection").submit();
|
||||
}
|
||||
|
||||
@@ -99,6 +99,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
function confirm() {
|
||||
$.confirm({
|
||||
title: 'Confirmation',
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('pengguna.show',$user->id) }}" data-toggle="tooltip" data-placement="top" title="Kemaskini" ><i class="far fa-edit"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.delete',$user->id) }}"><i class="far fa-trash-alt"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.delete',$user->id) }}" data-toggle="tooltip" data-placement="top" title="Padam" ><i class="far fa-trash-alt"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
<td>{{ $role->name }}</td>
|
||||
<td>{{ $role->description }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('pengguna.showrole',$role->id) }}"><i class="far fa-edit"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.deleterole',$role->id) }}"><i class="far fa-trash-alt"></i></a>
|
||||
<a href="{{ route('pengguna.showrole',$role->id) }}" data-toggle="tooltip" data-placement="top" title="Kemaskini" ><i class="far fa-edit"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.deleterole',$role->id) }}" data-toggle="tooltip" data-placement="top" title="Padam" ><i class="far fa-trash-alt"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -74,6 +74,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
function newrole() {
|
||||
$("#formnewrole").submit();
|
||||
}
|
||||
|
||||
@@ -33,8 +33,8 @@
|
||||
@endforeach
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('pengguna.showtaraf',$role->id) }}"><i class="far fa-edit"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.deletetaraf',$role->id) }}"><i class="far fa-trash-alt"></i></a>
|
||||
<a href="{{ route('pengguna.showtaraf',$role->id) }}" data-toggle="tooltip" data-placement="top" title="Kemaskini" ><i class="far fa-edit"></i></a>
|
||||
<a class="confirmdel" href="{{ route('pengguna.deletetaraf',$role->id) }}" data-toggle="tooltip" data-placement="top" title="Padam" ><i class="far fa-trash-alt"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -47,6 +47,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
$('a.confirmdel').confirm({
|
||||
title: 'Confirmation',
|
||||
content: 'Anda pasti?',
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<td>{{ $bid->lelong_id}}</td>
|
||||
<td>{{ $bid->tarikh_lelong }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('serahan.pembayaran',$bid->lelong_id) }}"><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('serahan.pembayaran',$bid->lelong_id) }}" data-toggle="tooltip" data-placement="top" title="Butiran Pembayaran" ><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -42,4 +42,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
<td>{{ $pay['totalBid']}}</td>
|
||||
|
||||
{{-- <td> <a href="{{ route('serahan.penyatabayaran',['user_id'=>$pay['details']['id'],'lelong_id'=>$lelong_id]) }}"><i class="fas fa-download"></i></a></td> --}}
|
||||
<td> <a href="{{ route('serahan.resitpembayaran',['user_id'=>$pay['details']['id'],'lelong_id'=>$lelong_id]) }}"><i class="fas fa-download"></i></a></td>
|
||||
<td> <a href="{{ route('serahan.senaraibid',['user_id'=>$pay['details']['id'],'lelong_id'=>$lelong_id]) }}"><i class="fas fa-download"></i></a></td>
|
||||
<td> <a href="{{ route('serahan.resitpembayaran',['user_id'=>$pay['details']['id'],'lelong_id'=>$lelong_id]) }}" data-toggle="tooltip" data-placement="top" title="Muat Turun Resit"><i class="fas fa-download"></i></a></td>
|
||||
<td> <a href="{{ route('serahan.senaraibid',['user_id'=>$pay['details']['id'],'lelong_id'=>$lelong_id]) }}" data-toggle="tooltip" data-placement="top" title="Muat Turun Butiran Bidaan" ><i class="fas fa-download"></i></a></td>
|
||||
<td class="text-center">
|
||||
<a href=""><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
@@ -42,10 +42,17 @@
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="modal-footer" style="margin-top:2%;">
|
||||
<a href="{{ route('serahan.laporanserahan') }}" class="btn btn-primary">Kembali</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
$('a.confirmdel').confirm({
|
||||
title: 'Confirmation',
|
||||
content: 'Anda pasti?',
|
||||
|
||||
@@ -33,9 +33,9 @@
|
||||
<td>{{ $sim->jbg }}</td>
|
||||
<td>{{ $sim->cajlelong }}</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('analisa.show',$sim->id) }}"><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('analisa.show',$sim->id) }}" data-toggle="tooltip" data-placement="top" title="Butiran Simulasi"><i class="far fa-edit"></i></a>
|
||||
{{-- <a href="{{ route('sistem.showConn',$data->id) }}"><i class="far fa-eye"></i></a> --}}
|
||||
<a class="confirmdel" href="{{ route('analisa.delete',$sim->id) }}"><i class="far fa-trash-alt"></i></a>
|
||||
<a class="confirmdel" href="{{ route('analisa.delete',$sim->id) }}" data-toggle="tooltip" data-placement="top" title="Padam"><i class="far fa-trash-alt"></i></a>
|
||||
|
||||
|
||||
</td>
|
||||
@@ -50,6 +50,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
$('a.confirmdel').confirm({
|
||||
title: 'Confirmation',
|
||||
content: 'Anda pasti?',
|
||||
|
||||
@@ -139,6 +139,7 @@ Route::group(['middleware' => ['permission:pengesahanpembida'],'prefix'=>'pembid
|
||||
Route::get('/sahkanpembida/{id}',['as'=>'pembida.sah','uses'=>'PembidaController@sah']);
|
||||
Route::post('/reject',['as'=>'pembida.reject','uses'=>'PembidaController@reject']);
|
||||
Route::get('/kemaskini/{id}',['as'=>'pembida.kemaskini','uses'=>'PembidaController@kemaskini']);
|
||||
Route::post('/update/{id}',['as'=>'pembida.update','uses'=>'PembidaController@update']);
|
||||
});
|
||||
//Operasi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user