fix(print-out) : prbaikan tampilan memo, resume, sederhana, standard, rap
This commit is contained in:
@@ -1064,52 +1064,80 @@
|
||||
maupun extern</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<table style="width: 100%; border-collapse: collapse; text-align: center;" border="1">
|
||||
<table style="width: 100%; border-collapse: collapse; text-align: center;" >
|
||||
@php
|
||||
use Modules\Usermanagement\Models\User;
|
||||
$penilaiUser = User::where('id', $penilai->userPenilaiTeam->id)->first();
|
||||
$imagePathPenilai = storage_path('app/public/signatures/' . $penilaiUser->id . '/' . $penilaiUser->sign);
|
||||
|
||||
$soUser = User::where('id', $senior_officer->id)->first();
|
||||
$imagePathSo = storage_path('app/public/signatures/' . $soUser->id . '/' . $soUser->sign);
|
||||
|
||||
|
||||
$imagePathEO = storage_path('app/public/signatures/' . User::role('EO Appraisal')->first()->id . '/'. User::role('EO Appraisal')->first()->sign);
|
||||
|
||||
$imagePathDD = storage_path('app/public/signatures/' . User::role('DD Appraisal')->first()->id . '/'. User::role('DD Appraisal')->first()->sign);
|
||||
@endphp
|
||||
<tr>
|
||||
<td style="border: 1px solid #000; padding: 4px;height: 50px">
|
||||
|
||||
</td>
|
||||
<td style="border: 1px solid #000; padding: 4px;height: 50px"></td>
|
||||
<td style="border: 1px solid #000; padding: 4px;height: 50px"></td>
|
||||
<td style="border: 1px solid #000; padding: 4px;height: 50px">
|
||||
@php
|
||||
$imagePath = storage_path('app/public/signature/' . User::role('EO Appraisal')->first()->id . '/'. User::role('EO Appraisal')->first()->sign);
|
||||
|
||||
@endphp
|
||||
@if (file_exists($imagePath))
|
||||
<img src="{{ $imagePath }}" alt="{{ $imagePath }}" class="photo-image">
|
||||
<tr>
|
||||
<td style=" padding: 4px;height: 50px">
|
||||
@if (file_exists($imagePathPenilai))
|
||||
<img src="{{ $imagePathPenilai }}" alt="{{ $imagePathPenilai }}" width="80px">
|
||||
@endif
|
||||
</td>
|
||||
@if ($permohonan->approval_so != null)
|
||||
<td style=" padding: 4px;height: 50px">
|
||||
@if (file_exists($imagePathSo))
|
||||
<img src="{{ $imagePathSo }}" alt="{{ $imagePathSo }}" width="80px">
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
@if ($permohonan->approval_eo != null)
|
||||
<td style=" padding: 4px;height: 50px">
|
||||
@if (file_exists($imagePathEO))
|
||||
<img src="{{ $imagePathEO }}" alt="{{ $imagePathEO }}" width="80px">
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
@if ($permohonan->approval_dd != null)
|
||||
<td style=" padding: 4px;height: 50px">
|
||||
@if (file_exists($imagePathDD))
|
||||
<img src="{{ $imagePathDD }}" alt="{{ $imagePathDD }}" width="80px">
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="border: 1px solid #000; padding: 4px;">
|
||||
{{ $penilai->userPenilaiTeam->name ?? '' }}</br>
|
||||
<strong style="font-weight: bold; ">
|
||||
PENILAI
|
||||
</strong>
|
||||
<td style=" padding: 4px;">{{ $penilai->userPenilaiTeam->name ?? '' }}</br>
|
||||
<span >
|
||||
{{ ucwords(strtolower('PENILAI'))}}
|
||||
</span>
|
||||
</td>
|
||||
<td style="border: 1px solid #000; padding: 4px;"> {{ $senior_officer->name ?? '' }}</br>
|
||||
<strong style="font-weight: bold; ">
|
||||
SENIOR OFFICER
|
||||
</strong>
|
||||
|
||||
@if ($permohonan->approval_so != null)
|
||||
<td style=" padding: 4px;">
|
||||
{{ $senior_officer->name ?? '' }}</br>
|
||||
<span >
|
||||
{{ ucwords(strtolower('SENIOR OFFICER'))}}
|
||||
</span>
|
||||
|
||||
</td>
|
||||
@endif
|
||||
|
||||
<td style="border: 1px solid #000; padding: 4px;">
|
||||
@if ($permohonan->approval_eo != null)
|
||||
<td style=" padding: 4px;">
|
||||
{{ User::role('EO Appraisal')->first()->name ?? '' }}</br>
|
||||
<strong style="font-weight: bold; ">
|
||||
EXECUTIVE OFFICER
|
||||
</strong>
|
||||
<span >
|
||||
{{ ucwords(strtolower('EXECUTIVE OFFICER'))}}
|
||||
</span>
|
||||
</td>
|
||||
<td style="border: 1px solid #000; padding: 4px;">
|
||||
@endif
|
||||
@if ($permohonan->approval_dd != null)
|
||||
<td style=" padding: 4px;">
|
||||
{{ User::role('DD Appraisal')->first()->name ?? '' }}</br>
|
||||
<strong style="font-weight: bold; ">
|
||||
DEPUTY DIRECTOR
|
||||
</strong>
|
||||
<span >
|
||||
{{ ucwords(strtolower('DEPUTY DIRECTOR'))}}
|
||||
</span>
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
</table>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user