Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Linksehat Staging Server
2024-01-08 11:06:06 +07:00
3 changed files with 7 additions and 3 deletions

View File

@@ -546,12 +546,16 @@ class RequestLogController extends Controller
$data['request_logs'] = $dataRequestLog; $data['request_logs'] = $dataRequestLog;
$dataClaimLog = DB::table('request_log_benefits') $dataClaimLog = DB::table('request_log_benefits')
->where('request_log_benefits.request_log_id', '=', 2) ->where('request_log_benefits.request_log_id', '=', $request_log_id)
->select( ->select(
'*', '*',
DB::raw(' DB::raw('
(Select benefits.description FROM benefits (Select benefits.description FROM benefits
WHERE benefits.id = request_log_benefits.benefit_id LIMIT 1) AS benfit WHERE benefits.id = request_log_benefits.benefit_id LIMIT 1) AS benfit
'),
DB::raw('
(Select benefits.code FROM benefits
WHERE benefits.id = request_log_benefits.benefit_id LIMIT 1) AS code
') ')
) )
->get(); ->get();

View File

@@ -352,7 +352,7 @@
@endphp @endphp
<tr> <tr>
<td>{{ $No++ }}</td> <td>{{ $No++ }}</td>
<td>{{ $claimLog->benfit}}</td> <td>{{ $claimLog->code . '-' . $claimLog->benfit }}</td>
<td>{{ number_format($claimLog->amount_incurred, 2, ',', '.') }}</td> <td>{{ number_format($claimLog->amount_incurred, 2, ',', '.') }}</td>
<td>{{ number_format($claimLog->amount_approved, 2, ',', '.') }}</td> <td>{{ number_format($claimLog->amount_approved, 2, ',', '.') }}</td>
<td>{{ number_format($claimLog->excess_paid, 2, ',', '.') }}</td> <td>{{ number_format($claimLog->excess_paid, 2, ',', '.') }}</td>

View File

@@ -259,7 +259,7 @@
Customer Service Team Customer Service Team
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> ">
(Nama Petugas) (.......................................)
</div> </div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> "> <div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> ">
{{ $dataMember->name }} {{ $dataMember->name }}