tambah function export data lelong selepas payment pembida

This commit is contained in:
Nur Izzati Zulkifli
2022-07-12 18:08:27 +08:00
parent c125a9eb6b
commit 4a36cf4bf5
7 changed files with 201 additions and 16 deletions
@@ -15,7 +15,14 @@
@endif
<h4> Senarai Pembayaran Bidaan </h4>
<p><i class="fas fa-caret-right"></i> {{ $getkodcaw['caw_name'] }}</p>
<table class="table table-striped table-xl text-center" id="sahsagonline" style="width:100%">
<div class="row">
<div class="text-center">
@if($listwinner != NULL)
<a class="btn btn-success" href="{{ route('importdata.exportdatacawangan',[$kodcaw,$lelong_id]) }}">Export Data Lelong</a>
@endif
</div>
</div>
<table class="table table-striped table-xl text-center" id="sahsagonline" style="width:100%">
<thead class="bg-primary text-white">
<tr>
<th>Bil</th>
@@ -49,7 +56,7 @@
</td>
<td>
@if($winner['jenisbayaran']['status_payment'] == 1)
<button class="btn btn-success btn-sm" disabled>BERJAYA</button>
<button class="btn btn-success btn-sm" disabled>BERJAYA SELESAI</button>
@else
<button class="btn btn-secondary btn-sm" disabled>BELUM SELESAI</button>
@endif
@@ -19,7 +19,8 @@
<table class="table table-striped table-xl text-center" id="pengguna" style="width:100%">
<thead class="bg-primary text-white">
<tr>
<th><input type="checkbox" aria-label="Checkbox for following text input" onclick="selectall(this)"></th>
<!-- <th><input type="checkbox" aria-label="Checkbox for following text input" onclick="selectall(this)"></th> -->
<th>Bil</th>
<th>Nama</th>
<th>No Telefon</th>
<th>Emel</th>
@@ -31,8 +32,9 @@
@foreach ($alluser as $user)
<tr>
<td><input type="checkbox" aria-label="Checkbox for following text input" name="checkboxdata[]" value="{{ $user->id }}"></td>
<td>{{ $user->name }}</td>
<!-- <td><input type="checkbox" aria-label="Checkbox for following text input" name="checkboxdata[]" value="{{ $user->id }}"></td> -->
<td>{{ $loop->iteration }}</td>
<td align = 'left'>{{ $user->name }}</td>
<td>{{ $user->notelbimbit }}</td>
<td>{{ $user->email }}</td>
<td>
@@ -96,7 +98,7 @@
"orderable": false
}
],
order: [[1, 'asc']],
order: [[0, 'asc']],
// "ordering": false,
"info": false,
"lengthChange": false,
@@ -17,6 +17,7 @@
<th>ID Lelong</th>
<th>Tarikh Lelong</th>
<th>Cawangan</th>
<th>Status Export</th>
<th>Harga Emas Semasa</th>
<th>Tempoh</th>
<th>Caj Lelong</th>
@@ -40,6 +41,16 @@
</span><br>
@endforeach
</td>
<td class="text-left">
@foreach($lel['detailsinfo'] as $details)
<span class="m-2"> @if($details['export_data_sts'] == '1')
<i class="far fa-flag"></i> Selesai Export
@endif
</span><br>
@endforeach
</td>
<td>{{ $lel['detail']['harga_emas_asas'] }}</td>
<td>{{ $lel['detail']['jbg'] }}</td>
<td>{{ $lel['detail']['cajlelong'] }}</td>