Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ad033a76

Von Bernd Bleßmann vor etwa 9 Jahren hinzugefügt

  • ID ad033a768bbe46566afa159008c42ff7fc6bb35a
  • Vorgänger e8966d20
  • Nachfolger 8dc4cef2

surplus: Erfassungsdatum bei Stammdatensuche Waren/Dienstleistungen/Erzeugnisse ...

... im Bericht anzeigen und danach filtern.

Conflicts:

SL/IC.pm
bin/mozilla/ic.pl
templates/webpages/ic/search.html

Übernahme aus Kundenprojekt.

Unterschiede anzeigen:

bin/mozilla/ic.pl
1023 1023
    'drawing'            => { 'text' => $locale->text('Drawing'), },
1024 1024
    'ean'                => { 'text' => $locale->text('EAN'), },
1025 1025
    'image'              => { 'text' => $locale->text('Image'), },
1026
    'insertdate'         => { 'text' => $locale->text('Insert Date'), },
1026 1027
    'invnumber'          => { 'text' => $locale->text('Invoice Number'), },
1027 1028
    'lastcost'           => { 'text' => $locale->text('Last Cost'), },
1028 1029
    'linetotallastcost'  => { 'text' => $locale->text('Extended'), },
......
1130 1131
    microfiche    => $locale->text('Microfiche')       . ": '$form->{microfiche}'",
1131 1132
    l_soldtotal   => $locale->text('Qty in Selected Records'),
1132 1133
    ean           => $locale->text('EAN')              . ": '$form->{ean}'",
1134
    insertdatefrom => $locale->text('Insert Date') . ": " . $locale->text('From')       . " " . $locale->date(\%myconfig, $form->{insertdatefrom}, 1),
1135
    insertdateto   => $locale->text('Insert Date') . ": " . $locale->text('To (time)')  . " " . $locale->date(\%myconfig, $form->{insertdateto}, 1),
1133 1136
  );
1134 1137

  
1135 1138
  my @itemstatus_keys = qw(active obsolete orphaned onhand short);
1136 1139
  my @callback_keys   = qw(onorder ordered rfq quoted bought sold partnumber partsgroup partsgroup_id serialnumber description make model
1137
                           drawing microfiche l_soldtotal l_deliverydate transdatefrom transdateto ean shop);
1140
                           drawing microfiche l_soldtotal l_deliverydate transdatefrom transdateto insertdatefrom insertdateto ean shop);
1138 1141

  
1139 1142
  # calculate dependencies
1140 1143
  for (@itemstatus_keys, @callback_keys) {
......
1220 1223
    linetotallistprice sellprice linetotalsellprice lastcost linetotallastcost
1221 1224
    priceupdate weight image drawing microfiche invnumber ordnumber quonumber
1222 1225
    transdate name serialnumber deliverydate ean projectnumber projectdescription
1223
    shop
1226
    insertdate shop
1224 1227
  );
1225 1228

  
1226 1229
  my $pricegroups = SL::DB::Manager::Pricegroup->get_all(sort => 'id');
......
1248 1251
  map { $column_defs{$_}->{align}   = 'right' } qw(onhand sellprice listprice lastcost linetotalsellprice linetotallastcost linetotallistprice rop weight soldtotal shop), @pricegroup_columns;
1249 1252

  
1250 1253
  my @hidden_variables = (
1251
    qw(l_subtotal l_linetotal searchitems itemstatus bom l_pricegroups),
1254
    qw(l_subtotal l_linetotal searchitems itemstatus bom l_pricegroups insertdatefrom insertdateto),
1252 1255
    @itemstatus_keys,
1253 1256
    @callback_keys,
1254 1257
    map({ "cvar_$_->{name}" } @searchable_custom_variables),
......
1258 1261

  
1259 1262
  my $callback         = build_std_url('action=generate_report', grep { $form->{$_} } @hidden_variables);
1260 1263

  
1261
  my @sort_full        = qw(partnumber description onhand soldtotal deliverydate shop);
1264
  my @sort_full        = qw(partnumber description onhand soldtotal deliverydate insertdate shop);
1262 1265
  my @sort_no_revers   = qw(partsgroup bin priceupdate invnumber ordnumber quonumber name image drawing serialnumber);
1263 1266

  
1264 1267
  foreach my $col (@sort_full) {

Auch abrufbar als: Unified diff