Merge branch 'nisha' into 'main'
assign bidaan belum bayar sbg tidak laku See merge request online-sistem1/lelong!159
This commit is contained in:
@@ -17,6 +17,8 @@ use App\Models\LelongBidder;
|
||||
use App\Models\LelongBid;
|
||||
use App\Models\Payment;
|
||||
use App\Models\Cawangan;
|
||||
use App\Models\TakLaku;
|
||||
use App\Models\LogUser;
|
||||
|
||||
|
||||
|
||||
@@ -211,6 +213,47 @@ class PembidaController extends Controller
|
||||
return view('pembida.senlelpembayaranbidaan',compact('lelong','arrayinfo'));
|
||||
}
|
||||
|
||||
public function senlelbelumbayarbidaan(Request $request)
|
||||
{
|
||||
$kodcaw = $request->kodcaw;
|
||||
|
||||
|
||||
$arrayinfo = [];
|
||||
|
||||
$lelong = LelongBid::join('cawangan_lelong','lelongbid.lelong_id','=','cawangan_lelong.lelong_id')
|
||||
->join('lelongbidder','lelongbid.id','=','lelongbidder.lelongbid_id')
|
||||
->join('lelong','lelong.id','=','lelongbid.lelong_id')
|
||||
->select('lelongbid.lelong_id','lelongbid.caw_id','lelongbid.kodcaw','lelongbid.t_lelong','lelong.sts_lelong','lelongbidder.status_payment')
|
||||
->distinct()
|
||||
->orderBy('lelongbid.lelong_id')
|
||||
->where('lelongbid.status_jual', 1)
|
||||
->where('lelongbidder.status_payment', NULL, 2)
|
||||
->where('lelongbidder.status_bidder', 1)
|
||||
->where('lelong.sts_lelong', 3)
|
||||
|
||||
->get()
|
||||
->toArray();
|
||||
//dd($lelong);
|
||||
|
||||
foreach($lelong as $details)
|
||||
{
|
||||
|
||||
$detailsinfo = CawanganLelong::join('cawangan','cawangan_lelong.caw_id','=','cawangan.id')
|
||||
->select('cawangan_lelong.lelong_id','cawangan_lelong.caw_id','caw_name','caw_code','cawangan_lelong.export_data_sts')
|
||||
->where('lelong_id',$details['lelong_id'])
|
||||
->distinct()
|
||||
->orderBy('lelong_id')
|
||||
->get()
|
||||
->toArray();
|
||||
// dd($detailsinfo);
|
||||
|
||||
array_push($arrayinfo,['detail'=>$details, 'detailsinfo'=>$detailsinfo]);
|
||||
}
|
||||
// dd($request->kodcaw);
|
||||
|
||||
return view('pembida.senlelbelumbayarbidaan',compact('lelong','arrayinfo'));
|
||||
}
|
||||
|
||||
public function pembayaranbidaan(Request $request)
|
||||
{
|
||||
// dd($request->all());
|
||||
@@ -292,6 +335,8 @@ class PembidaController extends Controller
|
||||
return view('pembida.pembayaranbidaan',compact('listwinner','lelong_id', 'getkodcaw', 'kodcaw'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function detailsbidaan($user_id, $kodcaw)
|
||||
{
|
||||
|
||||
@@ -342,6 +387,73 @@ class PembidaController extends Controller
|
||||
|
||||
return view('pembida.detailsbidaan', compact('infos', 'userdetail', 'kodcaw'));
|
||||
}
|
||||
|
||||
public function belumbayarbidaan($lelong_id, $kodcaw)
|
||||
{
|
||||
|
||||
//$userdetail = User::where('id', $user_id)->first();
|
||||
|
||||
$infos = LelongBid::join('lelongbidder','lelongbid.id','=','lelongbidder.lelongbid_id')
|
||||
->where('lelongbidder.status_payment', NULL, 2)
|
||||
->where('lelongbid.lelong_id', $lelong_id)
|
||||
->where('lelongbidder.kodcaw', $kodcaw)
|
||||
->where('lelongbidder.status_bidder', 1)
|
||||
->where('lelongbid.status_jual', 1)
|
||||
->select ('lelongbidder.kodcaw','lelongbid.caw_id','lelongbidder.user_id','lelongbidder.nama_bidder','lelongbidder.hargabida','lelongbid.norujukan','lelongbid.hargaasas','lelongbidder.masa_bidaan','lelongbid.t_lelong','lelongbid.id','lelongbid.fasa','lelongbid.lelong_id')
|
||||
->get();
|
||||
|
||||
|
||||
return view('pembida.detailsbidaanbelumbayar', compact('infos'));
|
||||
}
|
||||
|
||||
public function declaretidaklaku(Request $request)
|
||||
{
|
||||
|
||||
$currentdate = Carbon::now();
|
||||
$currentdate = $currentdate->toDateTimeString();
|
||||
$t_lelong = Carbon::parse($request->t_lelong);
|
||||
$data = $request->checkboxdata;
|
||||
foreach($data as $index=>$norujukan)
|
||||
{
|
||||
$user = Auth::user();
|
||||
$currentdate = Carbon::now();
|
||||
$currentdate = $currentdate->toDateTimeString();
|
||||
|
||||
//$marhun = LelongBid::where('norujukan','=',$norujukan)->first();
|
||||
$taklaku = new TakLaku;
|
||||
$taklaku->lelong_id = $request->lelong_id;
|
||||
$taklaku->caw_id = $request->caw_id;
|
||||
$taklaku->kodcaw = $request->kodcaw;
|
||||
$taklaku->norujukan = $norujukan;
|
||||
$taklaku->t_lelong = $t_lelong;
|
||||
$taklaku->status = '0';
|
||||
$taklaku->fasa = $request->fasa;
|
||||
$taklaku->save();
|
||||
|
||||
//banned pembida
|
||||
$user = User::where('id','=',$request->user_id)->first();
|
||||
// dd($user);
|
||||
$user->updated_at = $currentdate;
|
||||
$user->status = 'banned';
|
||||
$user->save();
|
||||
|
||||
//update status_jual = 0
|
||||
$bida = LelongBid::where('norujukan','=',$norujukan)->first();
|
||||
$bida->status_jual = '0';
|
||||
$bida->save();
|
||||
|
||||
//audit trail
|
||||
$loguser = new LogUser;
|
||||
$loguser->user_id = $user->id;
|
||||
$loguser->date = $currentdate;
|
||||
$loguser->username = $user->username;
|
||||
$loguser->nama_user = $user->name;
|
||||
$loguser->norujukan = $norujukan;
|
||||
$loguser->nota = ' Tak Laku Lelong';
|
||||
$loguser->save();
|
||||
}
|
||||
return redirect()->route('lelong.senarailelongtaklaku');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TakLaku extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'taklaku';
|
||||
|
||||
protected $fillable = [
|
||||
'lelong_id',
|
||||
'caw_id',
|
||||
'kodcaw',
|
||||
'norujukan',
|
||||
't_lelong',
|
||||
'status',
|
||||
'fasa'
|
||||
];
|
||||
}
|
||||
@@ -230,6 +230,9 @@
|
||||
<li class="{{ (request()->is('pembida/senlelpembayaranbidaan/*') || request()->is('pembida/senlelpembayaranbidaan') ) ? 'active' : '' }}">
|
||||
<a href="{{url('pembida/senlelpembayaranbidaan')}}">Pembayaran Bidaan</a>
|
||||
</li>
|
||||
<li class="{{ (request()->is('pembida/senlelbelumbayarbidaan/*') || request()->is('pembida/senlelbelumbayarbidaan') ) ? 'active' : '' }}">
|
||||
<a href="{{url('pembida/senlelbelumbayarbidaan')}}">Bidaan Belum Bayar</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
@@ -44,11 +44,7 @@
|
||||
<span class="m-2"> {{ $details['caw_name']}}</span><br>
|
||||
@endforeach
|
||||
</td>
|
||||
<td>@php
|
||||
$myDateTime = DateTime::createFromFormat('H:i:s', $data['laporan']['masatamat_lelong'] );
|
||||
$masa_lelong = $myDateTime->format('h:i: a');
|
||||
echo($masa_lelong);
|
||||
@endphp
|
||||
<td>{{$data['laporan']['masatamat_lelong'] }}
|
||||
</td>
|
||||
<td>{{ $data['laporan']['harga_emas_asas'] }}</td>
|
||||
<td>{{ $data['laporan']['jbg'] }}</td>
|
||||
|
||||
@@ -0,0 +1,131 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-11 mx-auto card p-4">
|
||||
|
||||
<div class="nav nav-tabs" id="nav-tab" role="tablist">
|
||||
<button type="button" class="btn btn-light" ><a href="javascript:window.history.go(-1);"><h3><i class="fas fa-arrow-alt-circle-left"></i></h3></a></button>
|
||||
</div><br>
|
||||
@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>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>{{ number_format($inf['info']['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($inf['info']['hargabida'], 2, '.', ',') }}</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>
|
||||
</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
|
||||
@@ -0,0 +1,138 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div class="row ">
|
||||
<div class="col-md-11 mx-auto card p-4">
|
||||
|
||||
<div class="nav nav-tabs" id="nav-tab" role="tablist">
|
||||
<button type="button" class="btn btn-light" ><a href="javascript:window.history.go(-1);"><h3><i class="fas fa-arrow-alt-circle-left"></i></h3></a></button>
|
||||
</div><br>
|
||||
@if ($message = Session::get('failed'))
|
||||
<div class="alert alert-danger">
|
||||
<p>{{ $message }}</p>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form id="taklaku" action="{{route('pembida.declaretidaklaku')}}" method="POST">
|
||||
@csrf
|
||||
|
||||
<div class="container">
|
||||
|
||||
</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><input type="checkbox" aria-label="Checkbox for following text input" class="check_all"></th>
|
||||
<th>Bil</th>
|
||||
<th>No Rujukan</th>
|
||||
<th>Pembida</th>
|
||||
<th>Harga Asas (RM)</th>
|
||||
<th>Harga Bida (RM)</th>
|
||||
<th>Masa Bidaan</th>
|
||||
<th>Status Bayaran</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($infos as $index=> $inf)
|
||||
<tr>
|
||||
<td><input type="checkbox" aria-label="Checkbox for following text input" name="checkboxdata[]" value="{{ $inf['norujukan'] }}"></td>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $inf['norujukan'] }}</td>
|
||||
<td>{{ $inf['nama_bidder'] }}</td>
|
||||
<td>{{ number_format($inf['hargaasas'], 2, '.', ',') }}</td>
|
||||
<td>{{ number_format($inf['hargabida'], 2, '.', ',') }}</td>
|
||||
<td>{{ $inf['masa_bidaan'] }}</td>
|
||||
@if($inf['status_payment'] == NULL)
|
||||
<td><button class="btn btn-danger btn-sm" disabled>BELUM BAYAR</button></td>
|
||||
@elseif($inf['status_payment'] == 2)
|
||||
<td><button class="btn btn-warning btn-sm" disabled>TUNGGU PENGESAHAN</button></td>
|
||||
@endif
|
||||
<input type="hidden" name="lelong_id" value="{{$inf['lelong_id']}}">
|
||||
<input type="hidden" name="t_lelong" value="{{$inf['t_lelong']}}">
|
||||
<input type="hidden" name="kodcaw" value="{{$inf['kodcaw']}}">
|
||||
<input type="hidden" name="caw_id" value="{{$inf['caw_id']}}">
|
||||
<input type="hidden" name="user_id" value="{{$inf['user_id']}}">
|
||||
<input type="hidden" name="fasa" value="{{$inf['fasa']}}">
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="modal-footer; text-center" style="margin-top:2%; margin-bottom:2%;">
|
||||
<a href="{{ route('pembida.senlelbelumbayarbidaan') }}" class="btn btn-primary" style="width:8%;">Kembali</a>
|
||||
<button type="submit" class="btn btn-success">Isytihar Tak Laku</button>
|
||||
</div>
|
||||
</form>
|
||||
</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>
|
||||
<script>
|
||||
$(".check_all").on("click", function(){
|
||||
$(".custom_name").each(function(){
|
||||
$(this).attr("checked", true);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
@@ -0,0 +1,117 @@
|
||||
@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="senarailelongonline" style="width:100%">
|
||||
<thead class="bg-primary text-white">
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>ID Lelong</th>
|
||||
<th>Tarikh Lelong</th>
|
||||
<th>Cawangan</th>
|
||||
<th>Status Lelong</th>
|
||||
<!-- <th>Status Pembayaran</th> -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($arrayinfo as $lel)
|
||||
<tr>
|
||||
<td>{{ $loop->iteration }}</td>
|
||||
<td>{{ $lel['detail']['lelong_id']}}</td>
|
||||
<td>@php
|
||||
$myDateTime = DateTime::createFromFormat('Y-m-d', $lel['detail']['t_lelong'] );
|
||||
$t_lelong = $myDateTime->format('d-m-Y');
|
||||
echo($t_lelong);
|
||||
@endphp</td>
|
||||
<td class="text-left">
|
||||
@foreach($lel['detailsinfo'] as $details)
|
||||
<a href=" {{ route('pembida.belumbayarbidaan', ['lelong_id'=>$lel['detail']['lelong_id'], 'kodcaw'=>$details['caw_code']]) }} " data-toggle="tooltip" data-placement="top" title="Butiran Bidaan"><i class="far fa-edit"></i></a>
|
||||
<span class="m-2">{{ $details['caw_name']}}
|
||||
</span><br>
|
||||
@endforeach
|
||||
</td>
|
||||
<td>
|
||||
@if($lel['detail']['sts_lelong'] == 3)
|
||||
<button class="btn btn-success btn-sm" disabled>LELONG SELESAI</button>
|
||||
@endif
|
||||
</td>
|
||||
<!-- <td>
|
||||
@if($lel['detail']['status_payment'] == NULL)
|
||||
<button class="btn btn-danger btn-sm" disabled>BELUM BAYAR</button>
|
||||
@elseif($lel['detail']['status_payment'] == 2)
|
||||
<button class="btn btn-warning btn-sm" disabled>PERLU PENGESAHAN</button>
|
||||
@endif
|
||||
</td> -->
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//Enable tooltips everywhere
|
||||
$(function () {
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
})
|
||||
var tablesenarailelongonline = $('#senarailelongonline').DataTable({
|
||||
"columnDefs": [
|
||||
{
|
||||
"targets": 0,
|
||||
"orderable": false
|
||||
},
|
||||
{
|
||||
"targets": 7,
|
||||
"orderable": false
|
||||
}
|
||||
],
|
||||
order: [[0, '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: 'Export to CSV',
|
||||
// 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
|
||||
+3
-1
@@ -246,7 +246,9 @@ Route::group(['middleware' => ['permission:pengesahanpembida'],'prefix'=>'pembid
|
||||
Route::get('/senlelpembayaranbidaan',['as'=>'pembida.senlelpembayaranbidaan','uses'=>'PembidaController@senlelpembayaranbidaan']);
|
||||
Route::get('/pembayaranbidaan',['as'=>'pembida.pembayaranbidaan','uses'=>'PembidaController@pembayaranbidaan']);
|
||||
Route::get('/detailsbidaan/{user_id}/{kodcaw}',['as'=>'pembida.detailsbidaan','uses'=>'PembidaController@detailsbidaan']);
|
||||
|
||||
Route::get('/senlelbelumbayarbidaan',['as'=>'pembida.senlelbelumbayarbidaan','uses'=>'PembidaController@senlelbelumbayarbidaan']);
|
||||
Route::get('/belumbayarbidaan/{lelong_id}/{kodcaw}',['as'=>'pembida.belumbayarbidaan','uses'=>'PembidaController@belumbayarbidaan']);
|
||||
Route::post('/declaretidaklaku',['as'=>'pembida.declaretidaklaku','uses'=>'PembidaController@declaretidaklaku']);
|
||||
});
|
||||
|
||||
Route::group(['middleware' => ['permission:pengesahan'],'prefix'=>'pengesahan'], function () {
|
||||
|
||||
Reference in New Issue
Block a user