update jumpah keseluruhan senaraipemenangbycaw
This commit is contained in:
@@ -44,6 +44,10 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@php $totalsurat = 0;
|
||||
$totalbid = 0;
|
||||
$totalpay = 0;
|
||||
@endphp
|
||||
@forelse($listwinner as $winner)
|
||||
<tr>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
@@ -75,10 +79,23 @@
|
||||
<a class="btn m-1 btn-info" href=" {{ route('pembida.SAGBidItembycaw', ['user_id'=>$winner['details']['id'], 'lelong_id'=>$lelong_id, 'kodcaw'=>$caw_code]) }} " data-toggle="tooltip" data-placement="top" title="Buat Pembayaran"><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@php
|
||||
$totalsurat += $winner['total_surat'];
|
||||
$totalbid += $winner['totalBid'];
|
||||
$totalpay += $winner['totalPay'];
|
||||
@endphp
|
||||
@empty
|
||||
<td colspan="9"> No Data </td>
|
||||
@endforelse
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="4"><b>JUMLAH KESELURUHAN</b></td>
|
||||
<td align='center'><b><b>{{$totalsurat}}</b></td>
|
||||
<td align='center'><b>{{ number_format($totalbid, 2, '.', ',') }}</b></td>
|
||||
<td colspan="6"></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
{{-- <div class="modal-footer" style="margin-top:2%;">
|
||||
<a href="{{ route('pembida.kebenaranbayarantunai') }}" class="btn btn-primary">Kembali</a>
|
||||
|
||||
Reference in New Issue
Block a user