Files
lelong/resources/views/pembayaran/pengesahanPembayaran.blade.php
T
AmalinTamizi 1eba9769dd update title
2022-07-04 09:12:00 +08:00

50 lines
2.1 KiB
PHP

@extends('layouts.app')
@section('content')
<div class="container-fluid">
<div class="row ">
<div class="col-md-11 mx-auto card p-4">
<table class="table table-striped table-xl text-center" style="width:100%">
<thead class="bg-primary text-white">
<tr>
<th>No</th>
<th>Nama</th>
<th>No Kad Pengenalan</th>
<th>No Telefon</th>
<th>Bilangan Surat</th>
<th>Jumlah Bayaran(RM)</th>
<th>Nota</th>
<th>Status Bayaran</th>
<th>Tindakan</th>
</tr>
</thead>
<tbody>
@foreach($pengesahanPembayaran as $sahbayar)
<tr>
<td> {{ $loop->iteration }} </td>
<td><a href=" # " target="blank" style="color:#3490dc">{{ $sahbayar->nama_bidder}}</a></td>
<td>{{ $sahbayar->nokp}}</td>
<td>{{ $sahbayar->notelbimbit}}</td>
<td></td>
<td>{{ $sahbayar->hargabida}}</td>
<td></td>
<td>
@if ($sahbayar->status_payment == 0)
<button class="btn btn-danger btn-sm" disabled>BELUM DIBAYAR</button>
@elseif ($sahbayar->status_payment == 1)
<button class="btn btn-success btn-sm" disabled>TELAH DIBAYAR</button>
@endif
</td>
<td>
<button class="btn btn-info btn-sm">SAHKAN</button>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
@endsection