perbaikan laporan
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>Laporan Penilai Jaminan</title>
|
||||
|
||||
<style>
|
||||
@@ -108,12 +108,12 @@
|
||||
|
||||
<body style="width: 80%; margin: auto">
|
||||
@php
|
||||
$data = '';
|
||||
foreach ($permohonan->debiture->documents as $dokumen) {
|
||||
$data .= $dokumen->jenisJaminan->name . ', ';
|
||||
}
|
||||
$data = rtrim($data, ', ');
|
||||
@endphp
|
||||
$data = '';
|
||||
foreach ($permohonan->debiture->documents as $dokumen) {
|
||||
$data .= $dokumen->jenisJaminan->name . ', ';
|
||||
}
|
||||
$data = rtrim($data, ', ');
|
||||
@endphp
|
||||
<header id="header">
|
||||
<table style="width: 100%; border: none;">
|
||||
<tr>
|
||||
@@ -121,8 +121,9 @@
|
||||
@include('lpj::component.logo-bag')
|
||||
</td>
|
||||
<td style="width: 80%; text-align: center; border: 1px solid black; ">
|
||||
<h3 style="width:100% padding-top: 40px; text-align: center;text-transform: uppercase;">LAPORAN PENILAIAN ATAS {{$data}}
|
||||
</h3>
|
||||
<h3 style="width:100% padding-top: 40px; text-align: center;text-transform: uppercase;">LAPORAN
|
||||
PENILAIAN ATAS {{ $data }}
|
||||
</h3>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -370,7 +371,7 @@
|
||||
|
||||
<table style="width: 100%; border: 1px solid #000; text-transform: uppercase;">
|
||||
<tr>
|
||||
<td >
|
||||
<td>
|
||||
B. ANALISA {{ $data }}
|
||||
</td>
|
||||
|
||||
@@ -613,9 +614,7 @@
|
||||
<table>
|
||||
<tr>
|
||||
@php
|
||||
$cekLuas = isset(
|
||||
$forminspeksi['luas_unit']['tidak sesuai'],
|
||||
)
|
||||
$cekLuas = isset($forminspeksi['luas_unit']['tidak sesuai'])
|
||||
? 'tidak sesuai'
|
||||
: 'sesuai';
|
||||
|
||||
@@ -1060,12 +1059,13 @@
|
||||
@forelse ($fotoTypes as $type)
|
||||
<div class="border photo-item">
|
||||
@php
|
||||
$imagePath = $forminspeksi[$type];
|
||||
|
||||
$imagePath = storage_path('app/public/' . $forminspeksi[$type]);
|
||||
@endphp
|
||||
|
||||
@if ($imagePath && file_exists(storage_path('app/public/' . $imagePath)))
|
||||
<img src="{{ storage_path('app/public/' . $imagePath) }}"
|
||||
alt="{{ $type }}" class="photo-image">
|
||||
@if ($statusLpj || file_exists(storage_path('app/public/' . $imagePath)))
|
||||
<img src="{{ $imagePath }}" alt="{{ $type }}"
|
||||
class="photo-image">
|
||||
@endif
|
||||
<p class="mt-2 text-sm">{{ Str::title(str_replace('_', ' ', $type)) }}</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user