Merge branch 'production' of bitbucket.org:arrahn-pkb/kaunter into hotfix/tunai-add-timestamp
This commit is contained in:
@@ -812,20 +812,39 @@
|
||||
var nokp = $('#noic').val();
|
||||
if(id_type=='nokp'){
|
||||
if($.isNumeric(nokp) == false){
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: 'Sila Masukkan Nombor Sahaja Pada No KP Pelanggan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
// Swal.fire({
|
||||
// icon: 'error',
|
||||
// title: 'Amaran!',
|
||||
// text: 'Sila Masukkan Nombor Sahaja Pada No KP Pelanggan'
|
||||
// });
|
||||
// event.preventDefault();
|
||||
// return false;
|
||||
if(nokp.substr(-1) != '*'){
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: 'Sila Masukkan Nombor Sahaja Pada No KP Pelanggan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if(nokp.length != 12){
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: 'Sila Periksa No KP Pelanggan'
|
||||
});
|
||||
// Swal.fire({
|
||||
// icon: 'error',
|
||||
// title: 'Amaran!',
|
||||
// text: 'Sila Periksa No KP Pelanggan'
|
||||
// });
|
||||
if(nokp.substr(-1) != '*')
|
||||
{
|
||||
Swal.fire({
|
||||
icon: 'error',
|
||||
title: 'Amaran!',
|
||||
text: 'Sila Periksa No KP Pelanggan'
|
||||
});
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
<style>
|
||||
#daftar_gadai{
|
||||
color:#fff !important;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@section('content')
|
||||
@include('modal.historytebus')
|
||||
@@ -10,7 +16,7 @@
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-12 col-lg-12">
|
||||
|
||||
<div class="card">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb pb-3">
|
||||
<li class="breadcrumb-item"><a href="{{ route('home') }}">Home</a></li>
|
||||
@@ -85,7 +91,7 @@
|
||||
|
||||
<div class="col-md-6">
|
||||
|
||||
<div class="form-group row">
|
||||
<div class="form-group row">
|
||||
<div class="col-md-4">
|
||||
<b>No Telefon</b>
|
||||
</div>
|
||||
@@ -112,27 +118,37 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 mt-md-3 justify-content-between form-group row">
|
||||
<div class="btn-group btn-group-toggle col-md-6" data-toggle="buttons">
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Pembiayaan Belum Selesai
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Pembiayaan Sudah Selesai
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
<input type="radio" name="options" id="option3" value="lelong" autocomplete="off">Lelong
|
||||
</label>
|
||||
</div>
|
||||
<div class='col-md-3 text-right'>
|
||||
</div>
|
||||
<div class="col-md-3 text-right">
|
||||
<button class='btn btn-primary' data-toggle="modal" style="margin-right:-50px" data-target="#customer_detail">Maklumat Pelanggan</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- footer card -->
|
||||
<div class="mr-4 form-group d-flex justify-content-end">
|
||||
<button class="btn btn-primary button-spacing" data-toggle="modal" data-target="#customer_detail">Maklumat Pelanggan</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- button -->
|
||||
|
||||
<div class="col-md-10 mt-md-2 justify-content-between form-group row">
|
||||
|
||||
<div class="btn-group btn-group-toggle d-flex flex-fill" data-toggle="buttons">
|
||||
<label class="btn btn-secondary flex-fill">
|
||||
<input type="radio" name="options" id="option1" value="belum_tebus" autocomplete="off" checked>Pembiayaan Belum Selesai
|
||||
</label>
|
||||
<label class="btn btn-secondary flex-fill">
|
||||
<input type="radio" name="options" id="option2" value="sudah_tebus" autocomplete="off">Pembiayaan Sudah Selesai
|
||||
</label>
|
||||
<label class="btn btn-secondary flex-fill">
|
||||
<input type="radio" name="options" id="option3" value="lelong" autocomplete="off">Lelong
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<nav class="mb-3">
|
||||
|
||||
Reference in New Issue
Block a user