Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 617f4c8f

Von Tamino Steinert vor 8 Monaten hinzugefügt

  • ID 617f4c8fd8280b60086609da17621c2d332cef23
  • Vorgänger 7ae1f251
  • Nachfolger 848bc1f8

S:C:ClientConfig: nutze Übersetzungen für Reklamaitonstypen aus SL::Form

Unterschiede anzeigen:

SL/Controller/ClientConfig.pm
245 245
  # normal delivery orders are not yet handeld by new controller code
246 246
  @docs = grep { $_ ne 'sales_delivery_order' && $_ ne 'purchase_delivery_order' } @docs;
247 247

  
248
  # $::form->get_formname_translation does not distinguish between sales and purchase
249
  @docs = grep { $_ ne 'sales_reclamation' && $_ ne 'purchase_reclamation' } @docs;
250

  
251 248
  my @available_docs = map { {name => $_, description => $::form->get_formname_translation($_)} } @docs;
252 249

  
253
  push @available_docs, {name => 'sales_reclamation',    description => t8('Sales Reclamation')};
254
  push @available_docs, {name => 'purchase_reclamation', description => t8('Purchase Reclamation')};
255

  
256 250
  return \@available_docs;
257 251
}
258 252

  

Auch abrufbar als: Unified diff