push @filter_vars, '%' . $filter{ean} . '%';
}
+ if ($filter{date}) {
+ push @filter_ary, "i.itime <= ?";
+ push @filter_vars, $filter{date};
+ }
+
# prepare qty comparison for later filtering
my ($f_qty_op, $f_qty, $f_qty_base_unit);
my @columns = qw(warehousedescription bindescription partnumber partdescription chargenumber bestbefore qty stock_value);
# filter stuff
- map { $filter{$_} = $form->{$_} if ($form->{$_}) } qw(warehouse_id bin_id partnumber description chargenumber bestbefore);
+ map { $filter{$_} = $form->{$_} if ($form->{$_}) } qw(warehouse_id bin_id partnumber description chargenumber bestbefore date);
$filter{qty_op} = WH->convert_qty_op($form->{qty_op});
if ($filter{qty_op}) {
'Proforma Invoice' => 'Proformarechnung',
'Program' => 'Programm',
'Project' => 'Projekt',
- 'Project Description' => '',
+ 'Project Description' => 'Projektbeschreibung',
'Project Number' => 'Projektnummer',
'Project Number missing!' => 'Projektnummer fehlt!',
'Project Numbers' => 'Projektnummern',
'Step 3 of 3: Default units' => 'Schritt 3 von 3: Standardeinheiten',
'Steuersatz' => 'Steuersatz',
'Stock' => 'Einlagern',
+ 'Stock Qty for Date' => 'Lagerbestand am',
'Stock value' => 'Bestandswert',
'Stocked Qty' => 'Lagermenge',
'Storno' => 'Storno',
[%- USE T8 %]
+[%- USE L %]
[% USE HTML %][% USE JavaScript %]<body onload="on_load();">
<script type="text/javascript">
</select>
</td>
</tr>
+ <th align="right" nowrap>[% 'Stock Qty for Date' | $T8 %]:</th>
+ <td>[% L.date_tag('date') %]</td>
+ <tr>
+ </tr>
</table>
</td>
</tr>