fix(print-out): perbaikkan print out foto dan print out resume
This commit is contained in:
@@ -31,7 +31,8 @@
|
|||||||
/* Image Styling */
|
/* Image Styling */
|
||||||
.photo-item img {
|
.photo-item img {
|
||||||
width: auto;
|
width: auto;
|
||||||
height: 400px;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
@@ -59,7 +60,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.photo-image {
|
.photo-image {
|
||||||
width: 100;
|
|
||||||
height: 400px;
|
height: 400px;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,36 @@
|
|||||||
@include('lpj::penilai.components.header')
|
@include('lpj::penilai.components.header')
|
||||||
|
|
||||||
|
@php
|
||||||
|
$data = '';
|
||||||
|
foreach ($permohonan->documents as $dokumen) {
|
||||||
|
$data .= $dokumen->jenisJaminan->name . ', ';
|
||||||
|
|
||||||
|
$penilai = $permohonan->penilaian->userPenilai->where('role', 'penilai')->first();
|
||||||
|
$surveyor = $permohonan->penilaian->userPenilai->where('role', 'surveyor')->first();
|
||||||
|
$teams = $permohonan->region->teams;
|
||||||
|
|
||||||
|
if ($teams) {
|
||||||
|
foreach ($teams as $team) {
|
||||||
|
$team_users = $team->teamsUsers;
|
||||||
|
// print_r($team_users);
|
||||||
|
if ($team_users) {
|
||||||
|
foreach ($team_users as $team_user) {
|
||||||
|
$user = $team_user->user;
|
||||||
|
|
||||||
|
if ($user && $user->hasRole('senior-officer')) {
|
||||||
|
$senior_officer = $user;
|
||||||
|
break 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
use Modules\Usermanagement\Models\User;
|
||||||
|
$penilaiUser = User::where('id', $penilai->userPenilaiTeam->id)->first();
|
||||||
|
|
||||||
|
$data = rtrim($data, ', ');
|
||||||
|
@endphp
|
||||||
|
|
||||||
<main class="content">
|
<main class="content">
|
||||||
<table style="width: 100%">
|
<table style="width: 100%">
|
||||||
|
|||||||
Reference in New Issue
Block a user