From c42ec52c218c7f6d6986be64e09d87a94b679408 Mon Sep 17 00:00:00 2001 From: "afiq.hamzah" Date: Sun, 11 Dec 2022 15:22:06 +0800 Subject: [PATCH] Fix photo validation not working when sah marhun --- resources/views/marhun/marhun.blade.php | 38 +++++++++++++------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/resources/views/marhun/marhun.blade.php b/resources/views/marhun/marhun.blade.php index fe1311d7..a04e5276 100644 --- a/resources/views/marhun/marhun.blade.php +++ b/resources/views/marhun/marhun.blade.php @@ -64,19 +64,21 @@
Keseluruhan Marhun
-
+
@if ($lelongbid['filemarhun_filename'] != null) @else

Tiada Data

- - +
+ + +
@endif
@@ -235,9 +237,9 @@ @else + @endif {{-- --}} @elseif($lelongbid->status_semak == 1) @@ -245,13 +247,13 @@ @endif
- - - - - - + + + + + + @@ -573,7 +575,7 @@ modalOverallPhoto.querySelectorAll('button.action-invalid-after-semak') .forEach(button => button.style.display = 'none'); } - + prepareModalUpdateCaptureEachMarhun(modalTitle, marhunId, fileId); prepareModalUpdateUploadEachMarhun(modalTitle, marhunId, fileId, fileName); prepareModalViewPhotoEachMarhun(fileName); @@ -705,11 +707,11 @@ } }, } - }); + }); } function confirm() { - + const is_pass_validation = validateOverallMarhunPhotoTook(); if (! is_pass_validation) {