mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-23 19:31:13 +01:00
bugfix angebot, auftrag column Einkaufspreis, DB
This commit is contained in:
parent
6e33dd8132
commit
f1ada32742
@ -2626,6 +2626,8 @@ class YUI {
|
|||||||
$sql .= $this->FormatPreis('einkaufspreis')." as einkaufspreis,
|
$sql .= $this->FormatPreis('einkaufspreis')." as einkaufspreis,
|
||||||
CONCAT(".$this->app->erp->FormatPreis("ROUND(deckungsbeitrag*100,2)",2).",'%') AS DB,
|
CONCAT(".$this->app->erp->FormatPreis("ROUND(deckungsbeitrag*100,2)",2).",'%') AS DB,
|
||||||
";
|
";
|
||||||
|
} else {
|
||||||
|
$sql .= "'-' AS 'einkaufspreis', '-' AS 'DB',";
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql .= "b.id as id
|
$sql .= "b.id as id
|
||||||
@ -2871,7 +2873,9 @@ class YUI {
|
|||||||
$sql .= $this->FormatPreis('einkaufspreis')." as einkaufspreis,
|
$sql .= $this->FormatPreis('einkaufspreis')." as einkaufspreis,
|
||||||
CONCAT(".$this->app->erp->FormatPreis("ROUND(deckungsbeitrag*100,2)",2).",'%') AS DB,
|
CONCAT(".$this->app->erp->FormatPreis("ROUND(deckungsbeitrag*100,2)",2).",'%') AS DB,
|
||||||
";
|
";
|
||||||
}
|
} else {
|
||||||
|
$sql .= "'-' AS 'einkaufspreis', '-' AS 'DB',";
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$sql = "SELECT $sortcol, CONCAT($hersteller_ansicht if(b.beschreibung!='',
|
$sql = "SELECT $sortcol, CONCAT($hersteller_ansicht if(b.beschreibung!='',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user