senarai payment by operasi
This commit is contained in:
@@ -0,0 +1,135 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-12 mx-auto card">
|
||||
<h3 class="pt-3" style="margin-left:1%;">Butiran Bidaan Pembida Yang Menang</h3>
|
||||
|
||||
@if ($message = Session::get('failed'))
|
||||
<div class="alert alert-danger">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="container">
|
||||
<div class="row mb-2">
|
||||
<div class="col-md-12 mx-auto card p-4" style="margin-top:2%; margin-bottom:2%;">
|
||||
<p> <b>Tarikh Lelong : </b> {{ $infos[0]['t_lelong'] }}</p>
|
||||
<p> <b>Cawangan : </b>{{ $infos[0]['caw_name'] }}</p>
|
||||
<p> <b>Nama Pembida : </b>{{ $userdetail['name'] }}</p>
|
||||
<p> <b>No Kad Pengenalan : </b>{{ $userdetail['nokp'] }}</p>
|
||||
<p> <b>No Tel Bimbit : </b>{{ $infos[0]['notelbimbit'] }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-striped table-xl text-center" id="butirangadai" style="width:100%; margin-top:1%;">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Marhun</th>
|
||||
<th>Harga Asas (RM)</th>
|
||||
<th>Harga Bida (RM)</th>
|
||||
<th>Nilai Marhun (RM)</th>
|
||||
<th>Berat (gm)</th>
|
||||
<th>Masa Bidaan</th>
|
||||
<th>Kaedah Pembayaran</th>
|
||||
<th>No Resit</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($infos as $inf)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $inf['info']['norujukan'] }}</td>
|
||||
<td>{{ $inf['info']['marhun'] }}</td>
|
||||
<td>{{ $inf['info']['hargaasas'] }}</td>
|
||||
<td>{{ $inf['info']['hargabida'] }}</td>
|
||||
<td>{{ $inf['info']['nilaimarhun'] }}</td>
|
||||
<td>{{ $inf['info']['berat'] }}</td>
|
||||
<td>{{ $inf['info']['masa_bidaan'] }}</td>
|
||||
<td>
|
||||
@foreach($inf['butiran_bidaan'] as $butiran_bidaan)
|
||||
{{ $butiran_bidaan['remark'] }}
|
||||
@endforeach
|
||||
</td>
|
||||
<td>
|
||||
@foreach($inf['butiran_bidaan'] as $butiran_bidaan)
|
||||
{{ $butiran_bidaan['reference_no'] }}
|
||||
@endforeach
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="modal-footer">
|
||||
<a href="{{ route('pembida.senlelpembayaranbidaan') }}" class="btn btn-primary" style="width:8%;">Kembali</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
var tablebutirangadai = $('#butirangadai').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
"targets": 0,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 8,
|
||||
"orderable": true
|
||||
}
|
||||
],
|
||||
order: [[1, 'asc']],
|
||||
"info": false,
|
||||
"lengthChange": false,
|
||||
"pageLength": 15,
|
||||
dom: 'Bfrtip',
|
||||
// buttons: [
|
||||
// {
|
||||
// className: 'btn btn-outline-success pl-4 pr-4 btn-sm addcaw',
|
||||
// text: '<i class="fas fa-plus" id="test"></i>',
|
||||
// titleAttr: 'Tambah Cawangan',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// // alert( 'Button activated' );
|
||||
// // console.log('hye');
|
||||
|
||||
// $('#myModal').modal("show");
|
||||
// $('#myModal').on('shown.bs.modal', function () {
|
||||
// $('#rolename').trigger('focus')
|
||||
// })
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
// titleAttr: 'Senarai Gadaian Excel',
|
||||
// text: '<i class="fas fa-download"></i>',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// $("#exportform").submit();
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
// className: 'btn btn-outline-secondary pl-4 pr-4 btn-sm export',
|
||||
// titleAttr: 'Senarai Gadaian PDF',
|
||||
// text: '<i class="fas fa-download"></i>',
|
||||
// action: function ( e, dt, node, config ) {
|
||||
// $("#exportform").submit();
|
||||
// }
|
||||
// }
|
||||
// ]
|
||||
});
|
||||
|
||||
$('.addcaw').tooltip();
|
||||
$('.export').tooltip();
|
||||
// $( '.dt-buttons').addClass('btn-group');
|
||||
$( '.addcaw').removeClass('dt-button');
|
||||
$( '.export').removeClass('dt-button');
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
|
||||
@@ -50,8 +50,8 @@
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{ dd($winner['paymentid']) }}
|
||||
<a href="{{ route('pembida.detailsbidaan', [ 'userid'=>$winner['details']['id'], 'paymentid'=>$winner['paymentid'] ]) }}" data-toggle="tooltip" data-placement="top" title="Butiran Bidaan"><i class="far fa-list-alt"></i></a>
|
||||
{{-- {{ dd($winner) }} --}}
|
||||
<a href="{{ route('pembida.detailsbidaan', [ 'user_id'=>$winner['details']['id'], 'payment_id'=>$winner['payment_id'][0]['payment_id'], $kodcaw ]) }}" data-toggle="tooltip" data-placement="top" title="Butiran Bidaan"><i class="far fa-list-alt"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@@ -77,11 +77,23 @@
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 6,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 7,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 8,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 9,
|
||||
"orderable": false
|
||||
}
|
||||
],
|
||||
order: [[1, 'asc']],
|
||||
order: [[0, 'asc']],
|
||||
"info": false,
|
||||
"lengthChange": false,
|
||||
"pageLength": 15,
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<td>{{$lel['detail']['jbg']}}</td>
|
||||
<td>{{$lel['detail']['cajlelong']}}</td>
|
||||
<td>
|
||||
<a href="{{ route('pengesahan.senaraitangguhlelong', [$lel['detail']['id'], 'caw_name'=>$details['caw_name']]) }}" data-toggle="tooltip" data-placement="top" title="Butiran" class="text-center" ><i class="far fa-edit"></i></a>
|
||||
<a href="{{ route('pengesahan.senaraitangguhlelong', [ $lel['detail']['id'], 'caw_name'=>$details['caw_name'] ]) }}" data-toggle="tooltip" data-placement="top" title="Butiran" class="text-center" ><i class="far fa-edit"></i></a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
Reference in New Issue
Block a user