fix skit2
This commit is contained in:
@@ -1,48 +1,64 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
@include('modal.permohonanwang')
|
||||
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb pb-3">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
|
||||
<li class="breadcrumb-item" aria-current="page">Khazanah</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Permohonan Wang</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Permohonan</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<div class="card-body mx-auto">
|
||||
<div class="card-body mx-auto col-12">
|
||||
|
||||
@if(session()->has('message'))
|
||||
<div class="alert alert-success">
|
||||
{{ session()->get('message') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="container">
|
||||
<div class="col-12">
|
||||
<label class="col-6">Jumlah Permohonan (RM)</label>
|
||||
<input type="text" class="col-6 form-control" placeholder="Masukkan Jumlah Permohonan (RM)"/>
|
||||
@if(session()->has('error'))
|
||||
<div class="alert alert-danger">
|
||||
{{ session()->get('error') }}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="mx-auto d-flex justify-content-center col-12">
|
||||
<div class="col-4">
|
||||
<div class="small-box bg-warning text-center"><div class="inner"><b>Peti Besi: <span>RM {{ number_format($getVault,2) }}</span></b></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<label class="col-6">Tarikh Mohon</label>
|
||||
<input type="text" class="col-6 form-control"/>
|
||||
<div class="d-flex justify-content-between mb-2">
|
||||
<h5 class="mt-2">Senarai Permohonan Masih Aktif</h5>
|
||||
<div>
|
||||
<button class="btn btn-info" data-toggle="modal" data-target="#PermohonanWang">Mohon</button>
|
||||
<button class="btn btn-info">Rekod Permohonan</button>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<label class="col-6">Baki Peti Besi (RM)</label>
|
||||
<input type="text" class="col-6 form-control"/>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<table class="table table-striped table-hover" id="permohonantable">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th>Bil</th>
|
||||
<th>No Permohonan</th>
|
||||
<th>Tarikh Mohon</th>
|
||||
<th>Jumlah Mohon (RM)</th>
|
||||
<th>Bayaran Balik (RM)</th>
|
||||
<th>Status</th>
|
||||
<th>Jenis Permohonan</th>
|
||||
<th>Act</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<label class="col-6">Pembiayaan Terkumpul (RM)</label>
|
||||
<input type="text" class="col-6 form-control"/>
|
||||
</div>
|
||||
|
||||
<div class="col-12">
|
||||
<label class="col-6">Outstanding (RM)</label>
|
||||
<input type="text" class="col-6 form-control"/>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-info">Daftar Permohonan</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -50,4 +66,25 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var tablemohon = $('#permohonantable').DataTable({
|
||||
"ordering": false
|
||||
});
|
||||
|
||||
$('#PermohonanWang').on('hidden.bs.modal', function (e) {
|
||||
$(this)
|
||||
.find("input[name='jumlahmohon']")
|
||||
.val('')
|
||||
.end()
|
||||
.find("input[type=checkbox], input[type=radio]")
|
||||
.prop("checked", "")
|
||||
.end();
|
||||
})
|
||||
|
||||
function funcpermohonan(){
|
||||
$('#permohonanform').submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user