From 620266a7dd40342fb21cf99ec988cc3bfd263cc4 Mon Sep 17 00:00:00 2001 From: Hafifie PKB Date: Tue, 2 Jul 2024 09:35:21 +0800 Subject: [PATCH] penambahan emas 900 dalam dinar request daripada ezuan --- resources/views/gadaian/v2/edit.blade.php | 5 +++-- resources/views/gadaian/v2/index.blade.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/views/gadaian/v2/edit.blade.php b/resources/views/gadaian/v2/edit.blade.php index a3a9373..e1c9782 100644 --- a/resources/views/gadaian/v2/edit.blade.php +++ b/resources/views/gadaian/v2/edit.blade.php @@ -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(); diff --git a/resources/views/gadaian/v2/index.blade.php b/resources/views/gadaian/v2/index.blade.php index 9fd2af5..78cb021 100644 --- a/resources/views/gadaian/v2/index.blade.php +++ b/resources/views/gadaian/v2/index.blade.php @@ -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();