Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0a5c2a2f

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 0a5c2a2f7c26a3d62d613d9f69e58a45f44b9045
  • Vorgänger e38f0b87
  • Nachfolger fcaf2e8c

Artikelbericht: Preisfaktor anzeigen können

Unterschiede anzeigen:

SL/IC.pm
186 186
  my @like_filters         = (@simple_filters, @invoice_oi_filters);
187 187
  my @all_columns          = (@simple_filters, @makemodel_filters, @apoe_filters, @project_filters, qw(serialnumber));
188 188
  my @simple_l_switches    = (@all_columns, qw(notes listprice sellprice lastcost priceupdate weight unit rop image shop insertdate));
189
  my %no_simple_l_switches = (warehouse => 'wh.description as warehouse', bin => 'bin.description as bin');
189
  my %no_simple_l_switches = (warehouse => 'wh.description as warehouse', bin => 'bin.description as bin',  price_factor_description => 'pfac.description as price_factor_description');
190 190
  my @oe_flags             = qw(bought sold onorder ordered rfq quoted);
191 191
  my @qsooqr_flags         = qw(invnumber ordnumber quonumber trans_id name module qty);
192 192
  my @deliverydate_flags   = qw(deliverydate);
bin/mozilla/ic.pl
207 207
    'bin'                => { 'text' => $locale->text('Default Bin'), },
208 208
    'make'               => { 'text' => $locale->text('Make'), },
209 209
    'model'              => { 'text' => $locale->text('Model'), },
210
    'price_factor_description' => { 'text' => $locale->text('Price Factor'), },
210 211
  );
211 212

  
212 213
  $revers     = $form->{revers};
......
391 392

  
392 393
  my @columns = qw(
393 394
    partnumber type_and_classific description notes partsgroup warehouse bin
394
    make model assembly_qty onhand rop soldtotal unit listprice
395
    make model assembly_qty onhand rop soldtotal unit price_factor_description listprice
395 396
    linetotallistprice sellprice linetotalsellprice lastcost assembly_lastcost linetotallastcost
396 397
    priceupdate weight image drawing microfiche invnumber ordnumber quonumber
397 398
    transdate name serialnumber deliverydate ean projectnumber projectdescription
......
420 421

  
421 422
  %column_defs = (%column_defs, %column_defs_cvars, %column_defs_pricegroups);
422 423
  map { $column_defs{$_}->{visible} ||= $form->{"l_$_"} ? 1 : 0 } @columns;
423
  map { $column_defs{$_}->{align}   = 'right' } qw(assembly_qty onhand sellprice listprice lastcost assembly_lastcost linetotalsellprice linetotallastcost linetotallistprice rop weight soldtotal shop), @pricegroup_columns;
424
  map { $column_defs{$_}->{align}   = 'right' } qw(assembly_qty onhand sellprice listprice lastcost assembly_lastcost linetotalsellprice linetotallastcost linetotallistprice rop weight soldtotal shop price_factor_description), @pricegroup_columns;
424 425

  
425 426
  my @hidden_variables = (
426 427
    qw(l_subtotal l_linetotal searchitems itemstatus bom l_pricegroups insertdatefrom insertdateto),
......
436 437

  
437 438
  my $callback         = build_std_url('action=generate_report', grep { $form->{$_} } @hidden_variables);
438 439

  
439
  my @sort_full        = qw(partnumber description onhand soldtotal deliverydate insertdate shop);
440
  my @sort_full        = qw(partnumber description onhand soldtotal deliverydate insertdate shop price_factor_description);
440 441
  my @sort_no_revers   = qw(partsgroup invnumber ordnumber quonumber name image drawing serialnumber);
441 442

  
442 443
  foreach my $col (@sort_full) {
templates/design40_webpages/ic/search.html
185 185
    <p>[% L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</p>
186 186
    <p>[% L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</p>
187 187
    <p>[% L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</p>
188
    <p>[% L.checkbox_tag('l_price_factor_description', label=LxERP.t8('Price Factor'), value='Y') %]</p>
188 189
  </div>
189 190

  
190 191
  <div class="col list">
templates/webpages/ic/search.html
191 191
          <td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td>
192 192
         </tr>
193 193

  
194
         <tr>
195
          <td>[%- L.checkbox_tag('l_price_factor_description', label=LxERP.t8('Price Factor'), value='Y') %]</td>
196
         </tr>
197

  
194 198
         <tr>
195 199
          <td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Price updated'), value='Y') %]</td>
196 200
          <td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td>

Auch abrufbar als: Unified diff