From 6e5e63adc557177d5dea9b6b3331f855a69ef52d Mon Sep 17 00:00:00 2001 From: Leopold Strobl Date: Tue, 28 Oct 2025 12:02:16 +0100 Subject: [PATCH] =?UTF-8?q?Configbeschreibung=20angepasst.=20Imagecheck=20?= =?UTF-8?q?hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 4 +- dist/imagecheck.php | 128 +++++++++++++++++++++++++++++++++++ example.config.php | 6 +- sources/getCheckInCards.php | 1 + sources/getCheckOutTable.php | 2 + sources/getSidenav.php | 6 +- 6 files changed, 143 insertions(+), 4 deletions(-) create mode 100644 dist/imagecheck.php diff --git a/README.MD b/README.MD index 177650f..34865b7 100644 --- a/README.MD +++ b/README.MD @@ -36,7 +36,9 @@ Die Anwendung ist speziell für den Einsatz in Lagerprozessen entwickelt. 1. Repository klonen oder Dateien ins Webverzeichnis kopieren: ```bash git clone http://srvgitea01.vtm.zone:3000/epi/EpiWebview -2. Dashboard Aufrufen und auf die Config-Seite wechseln, notwendige Einstellungen vornehmen. +2. Config-Seite unter /dist/editconfig.php aufrufen, notwendige Einstellungen vornehmen -> Speichern. Wichtig! Verzeichnis muss für Webserver beschreibbar sein! +3. Alternativ: example.config.php nach config.php kopieren! (example.config.php darf nicht gelöscht werden!) + ## Changelog Verschoben in Releases (Git) --- \ No newline at end of file diff --git a/dist/imagecheck.php b/dist/imagecheck.php new file mode 100644 index 0000000..1710089 --- /dev/null +++ b/dist/imagecheck.php @@ -0,0 +1,128 @@ +requestEpiApi('/v1/product/all?ia=false&ir=true&cl=' . Epirent_Mandant))->payload; + +?> + + + + + + + + Imagecheck - EpiWebview + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

Imagecheck

+ + +
+
+
Zeigt welche Artikel keine Bilder haben
+ +
+
+
+ + + + + + + + + + + requestEpiApi('/v1/product/image/'.$product->primary_key.'?cl=' . Epirent_Mandant))->payload_length); + if( $hasImages == 0 || $hasImages ==null){ + + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + } + + + } + ?> + +
#PNName
" . htmlspecialchars($product->primary_key) . "" . htmlspecialchars($product->product_no) . "" . htmlspecialchars($product->name) . "
+
+ +
+
+
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/example.config.php b/example.config.php index dd49a0c..6c44696 100644 --- a/example.config.php +++ b/example.config.php @@ -26,17 +26,19 @@ define('EnableScrollingCheckOut', true); //Aktiviert das automatische Scrollen d define('EnableScrollingCheckIn', true); //Aktiviert das automatische Scrollen der CheckIn Liste define('EnableScrollingAufgaben', true); //Aktiviert das automatische Scrollen der Aufgabenliste // @note: -------------------- CheckOutRowMarkSource: Konfig Zusände -------------------- -// @note: 1 = $packingjob->date_start (Dispo Start) +// @note: 1 = $packingjob->date_start (Packjob Start) // @note: 2 = $VorbereitungsTimeDetail->date_start (Vorbereitung Start) // @note: 3 = $PackingNoteDetail->date_packing (Packen Zeit) // @note: 4 = $PackingNoteDetail->date_delivery (Delivery Zeit) +// @note: 5 = $order->date_start (Dispo Start Zeit) define('CheckOutRowMarkSource', 4); // @note: -------------------- CheckInRowMarkSource: Konfig Zusände -------------------- -// @note: 1 = $packingjob->date_end (Dispo Ende) +// @note: 1 = $packingjob->date_end (Packjob Ende) // @note: 2 = $NachbereitungssTimeDetail->date_start (Nachbereitung Start) // @note: 3 = $RePackagingTimeDetail->date_start (Rückpacken Zeit AUS AUFTRAG) // @note: 4 = $PackingNoteDetail->date_redelivery (ReDelivery Zeit) +// @note: 5 = $order->date_end (Dispo End Zeit) define('CheckInRowMarkSource', 4); define('CheckIn_UseDispoEndForRowMarking', false); //else: Use Same Variable as "Rueckpacken Zeitvariable" | Konfiguration, welche Zeit für die Zeilenmarkierung beim Check In Verwendet werden soll diff --git a/sources/getCheckInCards.php b/sources/getCheckInCards.php index d666805..804c85c 100644 --- a/sources/getCheckInCards.php +++ b/sources/getCheckInCards.php @@ -48,6 +48,7 @@ function resolveRowMarkDateCheckIn( case 2: $candidate = dt($NachbereitungsTimeDetail->date_start ?? null); break; case 3: $candidate = dt($RePackagingTimeDetail->date_start ?? null); break; case 4: $candidate = dt($PackingNoteDetail->date_redelivery ?? null); break; + case 5: $candidate = dt($DispoTimeDetail->date_end ?? null); break; default: $candidate = null; break; } if (!$candidate) { diff --git a/sources/getCheckOutTable.php b/sources/getCheckOutTable.php index 08165ff..66aad41 100644 --- a/sources/getCheckOutTable.php +++ b/sources/getCheckOutTable.php @@ -50,6 +50,8 @@ function resolveRowMarkDate($packingjob, $VorbereitungsTimeDetail, $PackingNoteD break; case 4: $candidate = dt($PackingNoteDetail->date_delivery ?? null); break; + case 5: $candidate = dt($DispoTimeDetail->date_start ?? null); + break; default: $candidate = null; break; } diff --git a/sources/getSidenav.php b/sources/getSidenav.php index ed13174..56e8d0e 100644 --- a/sources/getSidenav.php +++ b/sources/getSidenav.php @@ -19,7 +19,11 @@ Labelprint - + + + Imagecheck + +
Addons