fix skit2

This commit is contained in:
fifi97
2022-01-19 22:14:29 +08:00
parent 34992cd179
commit 143af8f33a
@@ -104,7 +104,7 @@
@endphp
<tr {{ ($searchonline) ? 'style=background-color:#81ecec;' : '' }}>
<td>
<input type="checkbox" name="chkboxsag[]" value="{{ $bt['norujukan'] }}" id="sag-{{ $loop->iteration }}" data-norujukan="{{ $bt['norujukan'] }}" {{ ($searchonline || $koskeuntungan <= 0) ? 'disabled' : '' }} />
<input type="checkbox" name="chkboxsag[]" value="{{ $bt['norujukan'] }}" id="sag-{{ $loop->iteration }}" data-norujukan="{{ $bt['norujukan'] }}" {{ ($searchonline) ? 'disabled' : '' }} />
</td>
<td scope="row">
<div class="media align-items-center">
@@ -126,7 +126,7 @@
{{ number_format($bt['telahbayar'],2) }}
</td>
<td>
{{ number_format($koskeuntungan,2) }}
{{ is_numeric($koskeuntungan) ? number_format($koskeuntungan,2) : $koskeuntungan }}
</td>
</tr>
@@ -182,7 +182,7 @@
@endphp
<tr {{ ($searchonline) ? 'style=background-color:#81ecec;' : '' }}>
<td>
<input type="checkbox" name="chkboxsag[]" value="{{ $bt['norujukan'] }}" id="sag-{{ $loop->iteration }}" data-norujukan="{{ $bt['norujukan'] }}" {{ ($searchonline || $koskeuntungan <= 0) ? 'disabled' : '' }} />
<input type="checkbox" name="chkboxsag[]" value="{{ $bt['norujukan'] }}" id="sag-{{ $loop->iteration }}" data-norujukan="{{ $bt['norujukan'] }}" {{ ($searchonline) ? 'disabled' : '' }} />
{{-- <i data-toggle="tooltip" title="Hooray!" class="fas fa-exclamation-circle ml-3 text-right" style="font-size: 20px;"></i> --}}
</td>
<th scope="row">
@@ -205,7 +205,7 @@
{{ number_format($bt['bakiupah'],2) }}
</td>
<td>
{{ number_format($koskeuntungan,2) }}
{{ is_numeric($koskeuntungan) ? number_format($koskeuntungan,2) : $koskeuntungan }}
</td>
</tr>
@endif