mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
bugfix lieferantengutschrift menge max
This commit is contained in:
parent
324c7dbf17
commit
c6ee9c0faf
@ -301,12 +301,6 @@ class lieferantengutschrift {
|
|||||||
$defaultorder = 1;
|
$defaultorder = 1;
|
||||||
$defaultorderdesc = 0;
|
$defaultorderdesc = 0;
|
||||||
|
|
||||||
$offen_menge = "TRIM(IF(
|
|
||||||
pd.menge > COALESCE(vp.menge,0),
|
|
||||||
pd.menge - COALESCE(vp.menge,0),
|
|
||||||
0
|
|
||||||
))+0";
|
|
||||||
|
|
||||||
$auswahl = array (
|
$auswahl = array (
|
||||||
'<input type=\"checkbox\" name=\"ids[]\" value=\"',
|
'<input type=\"checkbox\" name=\"ids[]\" value=\"',
|
||||||
['sql' => 'pd.id'],
|
['sql' => 'pd.id'],
|
||||||
@ -314,12 +308,14 @@ class lieferantengutschrift {
|
|||||||
);
|
);
|
||||||
|
|
||||||
$werte = array (
|
$werte = array (
|
||||||
'<input type="number" name="werte[]" value="',
|
'<input type="number" name="werte[]" min="0"',
|
||||||
['sql' => $offen_menge],
|
'max = "',
|
||||||
'" min="0"',
|
['sql' => 'vp.menge'],
|
||||||
' max="',
|
'" ',
|
||||||
['sql' => $offen_menge],
|
'value = "',
|
||||||
'"/>'
|
['sql' => 'vp.menge'],
|
||||||
|
'" ',
|
||||||
|
'/>'
|
||||||
);
|
);
|
||||||
|
|
||||||
$preise = array (
|
$preise = array (
|
||||||
|
Loading…
Reference in New Issue
Block a user