komuditi
This commit is contained in:
@@ -778,8 +778,7 @@ let teller = "{{ Auth::user()->name }}";
|
||||
function bayaransemua()
|
||||
{
|
||||
|
||||
if($('#sltjenistebus').find(":selected").val() == 'T')
|
||||
{
|
||||
if($('#sltjenistebus').find(":selected").val() == 'T'){
|
||||
let jenisbayarantebus = '';
|
||||
if(tarikhgadai < tarikhtawarruq)
|
||||
{
|
||||
@@ -849,9 +848,7 @@ function bayaransemua()
|
||||
//End File//
|
||||
///////////
|
||||
|
||||
}
|
||||
else if($('#sltjenistebus').find(":selected").val() == 'A')
|
||||
{
|
||||
}else if($('#sltjenistebus').find(":selected").val() == 'A'){
|
||||
let jenisbayarantebus = '';
|
||||
let hadbayaransuran = (parseFloat("{{ $gadai['nilaimarhun']}}") * 0.1);
|
||||
|
||||
@@ -1013,9 +1010,7 @@ function bayaransemua()
|
||||
//End File//
|
||||
////////////
|
||||
|
||||
}
|
||||
else if($('#sltjenistebus').find(":selected").val() == 'S')
|
||||
{
|
||||
}else if($('#sltjenistebus').find(":selected").val() == 'S'){
|
||||
let jenisbayarantebus = '';
|
||||
if(tarikhgadai < tarikhtawarruq)
|
||||
{
|
||||
@@ -1030,11 +1025,7 @@ function bayaransemua()
|
||||
|
||||
if($('#perludibayar').val() < (parseFloat($('#bayaran').val()) + parseFloat($('#jumlahupah').val())))
|
||||
{
|
||||
Swal.fire(
|
||||
'Amaran!',
|
||||
'Jumlah bayaran kurang daripada jumlah yang perlu dibayar!',
|
||||
'error'
|
||||
)
|
||||
Swal.fire('Amaran!','Jumlah bayaran kurang daripada jumlah yang perlu dibayar!','error');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user