Merge branch 'nisha' into 'main'

update home blade

See merge request online-sistem1/lelong!128
This commit is contained in:
Nur Izzati Zulkifli
2022-07-25 04:47:42 +00:00
2 changed files with 18 additions and 5 deletions
+1
View File
@@ -7,6 +7,7 @@ use Spatie\Permission\Models\Role;
use Spatie\Permission\Models\Permission;
use Illuminate\Support\Facades\Auth;
use App\Models\Lelong;
use App\Models\CawanganLelong;
use App\Models\Pengesahan;
+17 -5
View File
@@ -28,7 +28,10 @@
@endhasrole
@hasrole('jurulelong')
Saya jurulelong!
<table class="table table-striped table-xl text-center" id="tablelelong" style="width:100%">
@if(count($arrayinfo)> 0)
<table class=" table table-striped table-xl text-center" id="tablelelong" style="width:100%">
<thead class="bg-primary text-white">
<tr>
<th>No</th>
@@ -45,7 +48,11 @@
</tr>
</thead>
<tbody>
@empty($arrayinfo)
<tr><td colspan = 10>Tiada maklumat</td></tr>
@endempty
@isset($arrayinfo)
@foreach ($arrayinfo as $lel)
<br><strong>LELONGAN HARI INI</strong>
<tr>
@@ -112,11 +119,13 @@
</td>
</tr>
@endforeach
@endisset
</tbody>
</table>
@endif
@endhasrole
@hasrole('operasi')
@@ -124,6 +133,8 @@
@php
@empty($arrayinfomutu)
@endphp
@if(count($arrayinfomutu)> 0)
KELULUSAN UBAH MARHUN
<table class="table table-striped table-xl text-center" id="tablelelong" style="width:100%">
<thead class="bg-primary text-white">
@@ -175,6 +186,7 @@
@endforeach
</tbody>
</table>
@endif
@php
@endphp