From 641eb08f94be603a1e4b0214093c5019e3708087 Mon Sep 17 00:00:00 2001 From: Amir Date: Tue, 31 Jan 2023 15:15:35 +0800 Subject: [PATCH] Fix ScanSemak, where lelong_id from param --- app/Http/Controllers/MarhunController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/MarhunController.php b/app/Http/Controllers/MarhunController.php index cc1ada11..c85ca4da 100644 --- a/app/Http/Controllers/MarhunController.php +++ b/app/Http/Controllers/MarhunController.php @@ -1811,6 +1811,7 @@ class MarhunController extends Controller $checkExisting = ScanSemak::where('norujukan', '=', $request->norujukan_barcode) ->whereNull('scan_masuk') + ->where('lelong_id', $request-> lelong_id) ->get(); if ($checkExisting->isEmpty()) {