pengesahan pembida
This commit is contained in:
@@ -32,7 +32,12 @@ class PembidaController extends Controller
|
||||
public function index()
|
||||
{
|
||||
// $alluser = User::all();
|
||||
$alluser = User::doesntHave('roles')->where('user_type','=',2)->get();
|
||||
$alluser = User::doesntHave('roles')
|
||||
->where('user_type','=',2)
|
||||
->get();
|
||||
|
||||
// dd($alluser);
|
||||
|
||||
// $allroles = Role::all()->pluck('name');
|
||||
// $user = Auth::user();
|
||||
// $user->assignRole('admin');
|
||||
|
||||
@@ -35,13 +35,12 @@
|
||||
<h4 class="col-md-3">Identity Card/Passport Picture</h4>
|
||||
<div class="form-group col-md-9">
|
||||
@foreach ($files as $file)
|
||||
<div class="col-4 form-check form-check-inline">
|
||||
<div class=".col-6 .col-sm-4 form-check form-check-inline">
|
||||
<?php
|
||||
// $picic = imagecreatefromstring($file['ic64']);
|
||||
// header('Content-type: image/'.$file['file_type']);
|
||||
?>
|
||||
<img src="{{$file['ic64']}}" alt="">
|
||||
{{$file['ic64']}}
|
||||
<img src="data:image/png;base64, {{ $file['filename'] }}" alt="Image Preview" style="width:350px; height:250px"/>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user