@flowselections/scan-module 1.0.51 → 1.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,10 +46,10 @@ export function voortgangTekst(v) {
|
|
|
46
46
|
}
|
|
47
47
|
function herhaaldTekst(v) {
|
|
48
48
|
if (v?.gescandTijd && v.gescandDoor)
|
|
49
|
-
return `
|
|
49
|
+
return `Deze kar is al gecontroleerd · om ${v.gescandTijd} door ${v.gescandDoor}`;
|
|
50
50
|
if (v?.gescandTijd)
|
|
51
|
-
return `
|
|
52
|
-
return "
|
|
51
|
+
return `Deze kar is al gecontroleerd · om ${v.gescandTijd}`;
|
|
52
|
+
return "Deze kar is al gecontroleerd";
|
|
53
53
|
}
|
|
54
54
|
export function EindcontroleScanner({ naam, scannerId, beginOpenstaand, }) {
|
|
55
55
|
const [bezig, setBezig] = useState(false);
|
|
@@ -20,7 +20,7 @@ function createSupabaseAdminClient() {
|
|
|
20
20
|
let _supabaseAdmin;
|
|
21
21
|
// Server-side Supabase client with service role - bypasses RLS
|
|
22
22
|
// SECURITY: Only use this for trusted server-side operations, never expose to client code
|
|
23
|
-
// Import like: import { supabaseAdmin } from "
|
|
23
|
+
// Import like: import { supabaseAdmin } from "../../integrations/supabase/client.server.js";
|
|
24
24
|
export const supabaseAdmin = new Proxy({}, {
|
|
25
25
|
get(_, prop, receiver) {
|
|
26
26
|
if (!_supabaseAdmin)
|