penambahan emas 900 dalam dinar request daripada ezuan

This commit is contained in:
Hafifie PKB
2024-07-02 09:35:21 +08:00
parent cd63a20ccc
commit 620266a7dd
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -385,7 +385,7 @@
if(marhun == 'G/B' || marhun == 'WFR' || marhun == 'SYE' || marhun == 'DNR'){
if(marhun == 'DNR' || marhun == 'SYE'){
$('#karat option').show();
$('#karat option').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
$('#karat option').not('[value="21.0K"]').not('[value="22.0K"]').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
}else{
$('#karat option').show();
$('#karat option').not('[value="24.0Kgb"]').not(':first').hide();
@@ -750,7 +750,8 @@
if(marh == 'G/B' || marh == 'WFR' || marh == 'SYE' || marh == 'DNR'){
if(marh == 'DNR' || marh == 'SYE'){
$('#sltkarat option').show();
$('#sltkarat option').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
console.log('test');
$('#sltkarat option').not('[value="21.0K"]').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
}else{
$('#sltkarat option').show();
$('#sltkarat option').not('[value="24.0Kgb"]').not(':first').hide();
+1 -1
View File
@@ -366,7 +366,7 @@
if(marh == 'G/B' || marh == 'WFR' || marh == 'SYE' || marh == 'DNR'){
if(marh == 'DNR' || marh == 'SYE'){
$('#karat option').show();
$('#karat option').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
$('#karat option').not('[value="21.0K"]').not('[value="22.0K"]').not('[value="24.0Kgb"]').not(':first').hide();
}else{
$('#karat option').show();
$('#karat option').not('[value="24.0Kgb"]').not(':first').hide();