semak sah marhun khazanah
This commit is contained in:
@@ -131,7 +131,6 @@ class MarhunController extends Controller
|
||||
$lelkarat = LelKarat::where('lelong_id','=',$lelongbid->lelong_id)->get();
|
||||
$karatall = JenisKarat::all();
|
||||
$emasall = JenisEmas::all();
|
||||
// dd($lelkarat);
|
||||
return view('marhun.marhun',compact('marhun','lelongbid','karatall','emasall','lelkarat', 'lelong_id'));
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,11 @@
|
||||
</form>
|
||||
<div class="modal-footer" style="margin-top:2%;">
|
||||
<a href="{{ route('marhun.senaraimarhun', $lelong_id) }}" style="width:7%;" class="btn btn-primary">Kembali</a>
|
||||
<a href="{{ route('marhun.semak', [ $lelongbid, $lelong_id ]) }}" style="width:7%;" class="btn btn-success">Semak</a>
|
||||
@if($lelongbid->status_semak == 0)
|
||||
<a href="{{ route('marhun.semak', [ $lelongbid, $lelong_id ]) }}" style="width:7%;" class="btn btn-success">Semak</a>
|
||||
@elseif($lelongbid->status_semak == 1)
|
||||
<button class="btn btn-success btn-sm hovernone-success" disabled>SUDAH DISEMAK</button>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -12,12 +12,13 @@
|
||||
@endif
|
||||
<form id="exportform" action="" method="POST">
|
||||
<input type="hidden" name="type" value="User">
|
||||
<table class="table table-striped table-xl" id="senaraimarhun" style="width:100%">
|
||||
<table class="table table-striped table-xl text-center" id="senaraimarhun" 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>
|
||||
<th>Nombor Rujukan</th>
|
||||
<th>Tarikh Lelong</th>
|
||||
<th>Status Semak</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -28,13 +29,19 @@
|
||||
<td><input type="checkbox" aria-label="Checkbox for following text input" name="checkboxdata[]" value="{{ $bid->id }}"></td>
|
||||
<td>{{ $bid->norujukan }}</td>
|
||||
<td>{{ $bid->t_lelong }}</td>
|
||||
<td>
|
||||
@if($bid->status_semak == 0)
|
||||
<button class="btn btn-secondary btn-sm hovernone-secondary" disabled>BELUM DISEMAK</button>
|
||||
@elseif($bid->status_semak == 1)
|
||||
<button class="btn btn-success btn-sm hovernone-success" disabled>SUDAH DISEMAK</button>
|
||||
@endif
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<a href="{{ route('marhun.show', [$bid->id, $lelong_id]) }}" data-toggle="tooltip" data-placement="top" title="Senarai Marhun" ><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('marhun.show', [$bid->id, $lelong_id]) }}" data-toggle="tooltip" data-placement="top" title="Senarai Marhun" ><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<div class="modal-footer" style="margin-top:2%;">
|
||||
@@ -76,7 +83,7 @@
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 3,
|
||||
"targets": 4,
|
||||
"orderable": false
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user