add senarai pemenang
This commit is contained in:
@@ -19,28 +19,20 @@
|
||||
<th>No Telefon</th>
|
||||
<th>Bilangan Surat</th>
|
||||
<th>Jumlah Bidaan(RM)</th>
|
||||
<th>Jumlah Pembayaran(RM)</th>
|
||||
<th>Penyata Bayaran</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($senaraiwinner as $winner)
|
||||
@foreach($listwinner as $winner)
|
||||
<tr>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
<td>{{ $winner['name']}}</td>
|
||||
<td>{{ $winner['nokp']}}</td>
|
||||
<td>{{ $winner['notelbimbit']}}</td>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
<td>{{ $winner['details']['name']}}</td>
|
||||
<td>{{ $winner['details']['nokp']}}</td>
|
||||
<td>{{ $winner['details']['notelbimbit']}}</td>
|
||||
<td>{{ $winner['total_surat']}}</td>
|
||||
<td>{{ $winner['totalBid']}}</td>
|
||||
<td>{{ $winner['totalPay']}}</td>
|
||||
<td>
|
||||
<a href="{{ route('serahan.penyatabayaran',['user_id'=>$winner['id'],'lelong_id'=>$lelong_id]) }}" target = "blank" ><i class="fas fa-download"></i></a>
|
||||
</td>
|
||||
<td>
|
||||
@if( $winner['totalPay'] < $winner['totalBid'] )
|
||||
<a href=" {{ route('pembayaran.SAGBidItem', ['user_id'=>$winner['id'], 'lelong_id'=>$lelong_id]) }} "><i class="far fa-edit"></i></a>
|
||||
@endif
|
||||
<a href=" {{ route('lelong.senaraisagpemenang', ['lelong_id'=>$lelong_id, 'user_id'=>$winner['user_id']]) }} "><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -58,10 +50,6 @@
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 7,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 6,
|
||||
"orderable": false
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-11 mx-auto card p-4">
|
||||
@if ($message = Session::get('success'))
|
||||
<div class="alert alert-success">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
<table class="table table-striped table-xl text-center" id="tablekaunter" style="width:100%">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Tarikh Lelong</th>
|
||||
<th>Harga Asas (RM)</th>
|
||||
<th>Harga Bida (RM)</th>
|
||||
<th>Masa Bidaan</th>
|
||||
<th class="text-center">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($senaraisag as $senaraisag)
|
||||
<tr>
|
||||
<td> {{ $loop->iteration }} </td>
|
||||
<td>{{ $senaraisag['norujukan']}}</td>
|
||||
<td>{{ $senaraisag['t_lelong']}}</td>
|
||||
<td>{{ $senaraisag['hargaasas']}}</td>
|
||||
<td>{{ $senaraisag['hargabida']}}</td>
|
||||
<td>{{ $senaraisag['masa_bidaan']}}</td>
|
||||
<td>
|
||||
<input type="checkbox" aria-label="Checkbox for following text input" >
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user