Revision 6a8531b6
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
SL/IC.pm | ||
---|---|---|
|
||
# now the master trick: soldtotal.
|
||
if ($form->{l_soldtotal}) {
|
||
push @where_tokens, 'ioi.qty >= 0';
|
||
push @where_tokens, 'NOT ioi.qty = 0';
|
||
push @group_tokens, @select_tokens;
|
||
map { s/.*\sAS\s+//si } @group_tokens;
|
||
push @select_tokens, 'SUM(ioi.qty)';
|
doc/changelog | ||
---|---|---|
1044 1046 1051 1055 1057 1058 1072 1073 1077 1079 1081 1082 1095 1098
|
||
1100 1101 1108 1110 1118 1125 1127 1130 1133 1135 1136 1138 1144
|
||
1146 1147 1150 1151 1155 1164 1173 1177 1186 1188 1190 1191 1195
|
||
1197 1198 1199 1200 1201 1209 1213 1243 1248 1250 1286 1289
|
||
1197 1198 1199 1200 1201 1209 1213 1243 1248 1250 1262 1286 1289
|
||
|
||
|
||
2009-06-02 - Version 2.6.0
|
Auch abrufbar als: Unified diff
Warensuche: Verkaufte Anzahl kann auch kleiner als 0 sein, für Stornos