Merge branch 'staging' of https://dev.sismedika.online/febio/aso into staging

This commit is contained in:
2024-01-05 17:11:59 +07:00
4 changed files with 23 additions and 22 deletions

View File

@@ -64,6 +64,7 @@ class RequestLogController extends Controller
$organization_id = DB::table('organizations') $organization_id = DB::table('organizations')
->insertGetId([ ->insertGetId([
'name' => $request->name_provider, 'name' => $request->name_provider,
'code' => $request->name_provider,
'type' => 'hospital', 'type' => 'hospital',
'created_at' => now(), 'created_at' => now(),
'created_by' => auth()->user()->id 'created_by' => auth()->user()->id

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div> <div class="triangle2"></div>
<div class="triangle1"></div> <div class="triangle1"></div>
@php @php
if($logoPerusahaan->path) { if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path))); $imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">'; echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
} }
@@ -224,7 +224,7 @@
<tr> <tr>
<td>Kepada</td> <td>Kepada</td>
<td>:</td> <td>:</td>
<td>{{ $rumahSakit->nama_rumahsakit }}</td> <td>{{ !empty($rumahSakit->nama_rumahsakit) }}</td>
<td>Plan Polis</td> <td>Plan Polis</td>
<td>:</td> <td>:</td>
<td>{{ $dataMember->code_plan }}</td> <td>{{ $dataMember->code_plan }}</td>
@@ -307,7 +307,7 @@
<td></td> <td></td>
<td>Alamat Provider</td> <td>Alamat Provider</td>
<td>:</td> <td>:</td>
<td>{{ $rumahSakit->alamat_rumahsakit }}</td> <td>{{ !empty($rumahSakit->alamat_rumahsakit) }}</td>
</tr> </tr>
<tr> <tr>
<td>No. Rekam Medis</td> <td>No. Rekam Medis</td>
@@ -380,19 +380,19 @@
</table> </table>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if ($logoPerusahaan->code === 'VALEIND') { if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if($logoPerusahaan->code === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230 Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230
@php @php
@@ -400,7 +400,7 @@
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php @php

View File

@@ -266,19 +266,19 @@
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if ($logoPerusahaan->code === 'VALEIND') { if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if($logoPerusahaan->code === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230 Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230
@php @php
@@ -286,7 +286,7 @@
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php @php

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div> <div class="triangle2"></div>
<div class="triangle1"></div> <div class="triangle1"></div>
@php @php
if($logoPerusahaan->path) { if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path))); $imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">'; echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
} }
@@ -224,7 +224,7 @@
<tr> <tr>
<td>Kepada</td> <td>Kepada</td>
<td>:</td> <td>:</td>
<td>{{ $rumahSakit->nama_rumahsakit }}</td> <td>{{ !empty($rumahSakit->nama_rumahsakit) }}</td>
<td>Plan Polis</td> <td>Plan Polis</td>
<td>:</td> <td>:</td>
<td>{{ $dataMember->code_plan }}</td> <td>{{ $dataMember->code_plan }}</td>
@@ -307,7 +307,7 @@
<td></td> <td></td>
<td>Alamat Provider</td> <td>Alamat Provider</td>
<td>:</td> <td>:</td>
<td>{{ $rumahSakit->alamat_rumahsakit }}</td> <td>{{ !empty($rumahSakit->alamat_rumahsakit) }}</td>
</tr> </tr>
<tr> <tr>
<td>No. Rekam Medis</td> <td>No. Rekam Medis</td>
@@ -391,19 +391,19 @@
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>"> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php @php
if ($logoPerusahaan->code === 'VALEIND') { if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113 Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php @php
} else if($logoPerusahaan->code === 'PETROLAB') { } else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230 Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230
@php @php
@@ -411,7 +411,7 @@
@endphp @endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br> <b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br> <b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php @php