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

@@ -63,7 +63,8 @@ class RequestLogController extends Controller
// Insert data ke tabel organizations
$organization_id = DB::table('organizations')
->insertGetId([
'name' => $request->name_provider,
'name' => $request->name_provider,
'code' => $request->name_provider,
'type' => 'hospital',
'created_at' => now(),
'created_by' => auth()->user()->id

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div>
<div class="triangle1"></div>
@php
if($logoPerusahaan->path) {
if(!empty($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 . '">';
}
@@ -224,7 +224,7 @@
<tr>
<td>Kepada</td>
<td>:</td>
<td>{{ $rumahSakit->nama_rumahsakit }}</td>
<td>{{ !empty($rumahSakit->nama_rumahsakit) }}</td>
<td>Plan Polis</td>
<td>:</td>
<td>{{ $dataMember->code_plan }}</td>
@@ -307,7 +307,7 @@
<td></td>
<td>Alamat Provider</td>
<td>:</td>
<td>{{ $rumahSakit->alamat_rumahsakit }}</td>
<td>{{ !empty($rumahSakit->alamat_rumahsakit) }}</td>
</tr>
<tr>
<td>No. Rekam Medis</td>
@@ -380,19 +380,19 @@
</table>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php
if ($logoPerusahaan->code === 'VALEIND') {
if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp
<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
@php
} else if($logoPerusahaan->code === 'PETROLAB') {
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp
<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
@php
@@ -400,7 +400,7 @@
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br>
<b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php

View File

@@ -266,19 +266,19 @@
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php
if ($logoPerusahaan->code === 'VALEIND') {
if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp
<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
@php
} else if($logoPerusahaan->code === 'PETROLAB') {
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp
<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
@php
@@ -286,7 +286,7 @@
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br>
<b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php

View File

@@ -193,7 +193,7 @@
<div class="triangle2"></div>
<div class="triangle1"></div>
@php
if($logoPerusahaan->path) {
if(!empty($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 . '">';
}
@@ -224,7 +224,7 @@
<tr>
<td>Kepada</td>
<td>:</td>
<td>{{ $rumahSakit->nama_rumahsakit }}</td>
<td>{{ !empty($rumahSakit->nama_rumahsakit) }}</td>
<td>Plan Polis</td>
<td>:</td>
<td>{{ $dataMember->code_plan }}</td>
@@ -307,7 +307,7 @@
<td></td>
<td>Alamat Provider</td>
<td>:</td>
<td>{{ $rumahSakit->alamat_rumahsakit }}</td>
<td>{{ !empty($rumahSakit->alamat_rumahsakit) }}</td>
</tr>
<tr>
<td>No. Rekam Medis</td>
@@ -391,19 +391,19 @@
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php
if ($logoPerusahaan->code === 'VALEIND') {
if (!empty($logoPerusahaan->code) === 'VALEIND') {
@endphp
<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
@php
} else if($logoPerusahaan->code === 'PETROLAB') {
} else if(!empty($logoPerusahaan->code) === 'PETROLAB') {
@endphp
<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
@php
@@ -411,7 +411,7 @@
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ $logoPerusahaan->name }}</b><br>
<b>{{ !empty($logoPerusahaan->name) }}</b><br>
@php