Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 45620ee5

Von Sven Schöling vor fast 13 Jahren hinzugefügt

Lagerbestand auch für andere Daten als heute anzeigbar.

Unterschiede anzeigen:

SL/WH.pm
620 620
    push @filter_vars, '%' . $filter{ean} . '%';
621 621
  }
622 622

  
623
  if ($filter{date}) {
624
    push @filter_ary, "i.itime <= ?";
625
    push @filter_vars, $filter{date};
626
  }
627

  
623 628
  # prepare qty comparison for later filtering
624 629
  my ($f_qty_op, $f_qty, $f_qty_base_unit);
625 630

  
bin/mozilla/wh.pl
824 824
  my @columns = qw(warehousedescription bindescription partnumber partdescription chargenumber bestbefore qty stock_value);
825 825

  
826 826
  # filter stuff
827
  map { $filter{$_} = $form->{$_} if ($form->{$_}) } qw(warehouse_id bin_id partnumber description chargenumber bestbefore);
827
  map { $filter{$_} = $form->{$_} if ($form->{$_}) } qw(warehouse_id bin_id partnumber description chargenumber bestbefore date);
828 828

  
829 829
  $filter{qty_op} = WH->convert_qty_op($form->{qty_op});
830 830
  if ($filter{qty_op}) {
locale/de/all
1407 1407
  'Proforma Invoice'            => 'Proformarechnung',
1408 1408
  'Program'                     => 'Programm',
1409 1409
  'Project'                     => 'Projekt',
1410
  'Project Description'         => '',
1410
  'Project Description'         => 'Projektbeschreibung',
1411 1411
  'Project Number'              => 'Projektnummer',
1412 1412
  'Project Number missing!'     => 'Projektnummer fehlt!',
1413 1413
  'Project Numbers'             => 'Projektnummern',
......
1655 1655
  'Step 3 of 3: Default units'  => 'Schritt 3 von 3: Standardeinheiten',
1656 1656
  'Steuersatz'                  => 'Steuersatz',
1657 1657
  'Stock'                       => 'Einlagern',
1658
  'Stock Qty for Date'          => 'Lagerbestand am',
1658 1659
  'Stock value'                 => 'Bestandswert',
1659 1660
  'Stocked Qty'                 => 'Lagermenge',
1660 1661
  'Storno'                      => 'Storno',
templates/webpages/wh/report_filter.html
1 1
[%- USE T8 %]
2
[%- USE L %]
2 3
[% USE HTML %][% USE JavaScript %]<body onload="on_load();">
3 4

  
4 5
 <script type="text/javascript">
......
129 130
         </select>
130 131
        </td>
131 132
       </tr>
133
        <th align="right" nowrap>[% 'Stock Qty for Date' | $T8 %]:</th>
134
        <td>[% L.date_tag('date') %]</td>
135
       <tr>
136
       </tr>
132 137
      </table>
133 138
     </td>
134 139
    </tr>

Auch abrufbar als: Unified diff