perubahan sikit
This commit is contained in:
@@ -2428,6 +2428,17 @@
|
||||
function wakilfunction(e)
|
||||
{
|
||||
let wakil = $('#wakiltxt').val();
|
||||
console.log(wakil);
|
||||
if(wakil === null || wakil === '')
|
||||
{
|
||||
Swal.fire(
|
||||
'Amaran!',
|
||||
'Sila masukkan nilai di dalam kotak wakil!',
|
||||
'error'
|
||||
)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
var patternregex = /\s+|[-,\/]/g;
|
||||
|
||||
@@ -2499,7 +2510,16 @@
|
||||
let nota = $('#notawakil').val();
|
||||
let nokp = $('#nokpwakil').val();
|
||||
|
||||
|
||||
if(nowakil === null || nowakil === '')
|
||||
{
|
||||
Swal.fire(
|
||||
'Amaran!',
|
||||
'Sila tunggu no wakil untuk proses dahulu sebelum tekan terima!',
|
||||
'error'
|
||||
)
|
||||
return false;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
method:'POST',
|
||||
url: "{{ route('wakil.create') }}",
|
||||
|
||||
Reference in New Issue
Block a user