From eff711a5394e1d1b858328e9e7503dcf237470cf Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Tue, 12 Jul 2022 17:23:02 +0200 Subject: [PATCH] Minidetail versandzentrum added --- www/pages/auftrag.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/www/pages/auftrag.php b/www/pages/auftrag.php index a92de50f..1e570e1e 100644 --- a/www/pages/auftrag.php +++ b/www/pages/auftrag.php @@ -583,8 +583,8 @@ class Auftrag extends GenAuftrag $allowed['auftraegeoffeneauto'] = array('list'); - $heading = array('','', 'Auftrag', 'Vom', 'Kd-Nr.', 'Kunde', 'Land', 'Zahlung', 'Betrag (brutto)','Monitor',''); - $width = array('1%','1%', '10%', '10%', '10%', '31%', '5%', '1%', '1%', '1%', '1%', '1%'); + $heading = array('','', 'Auftrag', 'Vom', 'Kd-Nr.', 'Kunde', 'Land', 'Zahlung', 'Betrag (brutto)','Monitor','Menü'); + $width = array('1%','1%', '10%', '10%', '10%', '31%', '5%', '1%', '1%', '1%', '1%', '1%','0%','0%'); $findcols = array('open','a.belegnr', 'a.belegnr', 'a.datum', 'a.lieferantkdrnummer', 'a.name', 'a.land', 'a.zahlungsweise', 'a.gesamtsumme'); @@ -599,21 +599,27 @@ class Auftrag extends GenAuftrag 'app->Conf->WFconf['defaulttheme']}/images/details_open.png class=details>' AS `open`, CONCAT('') AS `auswahl`, belegnr, - datum, + DATE_FORMAT(a.datum,'%d.%m.%Y') AS `datum`, lieferantkdrnummer, name, land, zahlungsweise, gesamtsumme, (" . $this->app->YUI->IconsSQL() . ") AS icons, - id + a.id FROM auftrag a"; - $where = "1"; - $count = "SELECT count(DISTINCT id) FROM auftrag WHERE $where"; + $where = "a.status = 'freigegeben'"; + $count = "SELECT count(DISTINCT id) FROM auftrag a WHERE $where"; // $groupby = ""; + $moreinfo = true; // Allow drop down details + + $menu .= ""; + $menu .= "app->Conf->WFconf['defaulttheme']}/images/edit.svg\" border=\"0\">"; + $menu .= ""; + $menucol = 8; // For moredata break;