Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8dc4cef2

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

  • ID 8dc4cef21cbcdcd2fd3bc6539aefd6fa104bb8c5
  • Vorgänger ad033a76
  • Nachfolger e3b47235

surplus: Erfassungsdatum bei Stammdatensuche Kunden/Lieferanten ...

... im Bericht anzeigen und danach filtern.

Conflicts:

SL/CT.pm
bin/mozilla/ct.pl
templates/webpages/ct/search.html

Übernahme aus Kundenprojekt.

Unterschiede anzeigen:

bin/mozilla/ct.pl
160 160
    }
161 161
  }
162 162

  
163
  if ( $form->{insertdatefrom} or $form->{insertdateto} ) {
164
    push @options, $locale->text('Insert Date');
165
    push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{insertdatefrom}, 1) if $form->{insertdatefrom};
166
    push @options, $locale->text('Bis')  . " " . $locale->date(\%myconfig, $form->{insertdateto},   1) if $form->{insertdateto};
167
  };
168

  
163 169
  my @columns = (
164 170
    'id',        'name',    "$form->{db}number",   'contact',   'phone',    'discount',
165 171
    'fax',       'email',   'taxnumber',           'street',    'zipcode' , 'city',
166 172
    'business',  'payment', 'invnumber', 'ordnumber',           'quonumber', 'salesman',
167
    'country'
173
    'country',   'insertdate'
168 174
  );
169 175

  
170 176
  my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs };
......
194 200
    'salesman'          => { 'text' => $locale->text('Salesman'), },
195 201
    'discount'          => { 'text' => $locale->text('Discount'), },
196 202
    'payment'           => { 'text' => $locale->text('Payment Terms'), },
203
    'insertdate'        => { 'text' => $locale->text('Insert Date'), },
197 204
    %column_defs_cvars,
198 205
  );
199 206

  
......
201 208

  
202 209
  my @hidden_variables  = ( qw(
203 210
      db status obsolete name contact email cp_name addr_street addr_zipcode
204
      addr_city addr_country business_id salesman_id
211
      addr_city addr_country business_id salesman_id insertdateto insertdatefrom
205 212
    ), "$form->{db}number",
206 213
    map({ "cvar_$_->{name}" } @searchable_custom_variables),
207 214
    map({'cvar_'. $_->{name} .'_qtyop'} grep({$_->{type} eq 'number'} @searchable_custom_variables)),

Auch abrufbar als: Unified diff