Add status tunggu pengesahan payment at PC side
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
$totalpay = 0;
|
||||
@endphp
|
||||
@foreach($listwinner as $winner)
|
||||
<tr>
|
||||
<tr>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
<td style='white-space:nowrap;' align = 'left'>{{ $winner['details']['name']}}</td>
|
||||
<td>{{ $winner['details']['nokp']}}</td>
|
||||
@@ -58,10 +58,12 @@
|
||||
<td>{{ number_format($winner['totalBid'], 2, '.', ',')}}</td>
|
||||
<td>{{ number_format($winner['totalPay'], 2, '.', ',')}}</td>
|
||||
<td>
|
||||
@if($winner['totalPay'] < $winner['totalBid'])
|
||||
<button class="btn btn-danger btn-sm" disabled>BELUM SELESAI</button>
|
||||
@elseif($winner['totalPay'] == $winner['totalBid'])
|
||||
@if($winner['sts_payment'] == 2)
|
||||
<button class="btn btn-warning btn-sm" disabled>TUNGGU PENGESAHAN</button>
|
||||
@elseif($winner['sts_payment'] == 1)
|
||||
<button class="btn btn-success btn-sm" disabled>SELESAI</button>
|
||||
@else
|
||||
<button class="btn btn-danger btn-sm" disabled>BELUM BAYAR</button>
|
||||
@endif
|
||||
</td>
|
||||
<td align="center">
|
||||
|
||||
Reference in New Issue
Block a user