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

This commit is contained in:
2024-01-17 13:02:10 +07:00
3 changed files with 20 additions and 8 deletions

View File

@@ -34,6 +34,6 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<script type="module" src="/src/index.tsx?version=1"></script>
</body>
</html>

View File

@@ -309,7 +309,8 @@ export default function TableListFinalLog() {
: Object.fromEntries([...searchParams.entries(), ['order', order], ['orderBy', orderBy]]);
const response = await axios.get(`/get-final-log`, {
params: { ...parameters, type: 'final-log' },
params: { ...parameters, order: order,
orderBy: orderBy, type: 'final-log' },
});
setData(
response.data.data.map((obj: any) => ({

View File

@@ -98,6 +98,17 @@
line-height: 1; /* Atur nilai line-height menjadi 1 atau 100% */
}
.claim-info-benefit-<?php echo now()->timestamp; ?> {
font-size: {{ $$dynamicVariableName }}px;
/* color: #008C8C; */
text-align: justify;
margin: 0;
padding: 0;
text-align: right;
margin-top: 10px;
line-height: 1; /* Atur nilai line-height menjadi 1 atau 100% */
}
table {
width: 100%;
@@ -395,9 +406,9 @@
<tr>
<td>{{ $No++ }}</td>
<td>{{ $claimLog->code . '-' . $claimLog->benfit }}</td>
<td>{{ number_format($claimLog->amount_incurred, 2, ',', '.') }}</td>
<td>{{ number_format($claimLog->amount_approved, 2, ',', '.') }}</td>
<td>{{ number_format($claimLog->excess_paid, 2, ',', '.') }}</td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>">{{ number_format($claimLog->amount_incurred, 2, ',', '.') }}</td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>">{{ number_format($claimLog->amount_approved, 2, ',', '.') }}</td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>">{{ number_format($claimLog->excess_paid, 2, ',', '.') }}</td>
<td>{{ $claimLog->keterangan}}</td>
</tr>
@endforeach
@@ -405,9 +416,9 @@
<tfoot>
<tr>
<td colspan="2"><b>Total</b></td>
<td><b>{{ number_format($total_claim, 2, ',', '.') }}</b></td>
<td><b>{{ number_format($total_disetujui, 2, ',', '.') }}</b></td>
<td><b>{{ number_format($total_selisih, 2, ',', '.') }}</b></td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>"><b>{{ number_format($total_claim, 2, ',', '.') }}</b></td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>"><b>{{ number_format($total_disetujui, 2, ',', '.') }}</b></td>
<td class="claim-info-benefit-<?php echo now()->timestamp; ?>"><b>{{ number_format($total_selisih, 2, ',', '.') }}</b></td>
<td></td>
</tr>
</tfoot>