Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 001155e4

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

  • ID 001155e424a519b543499cdb1f1841f48cfae352
  • Vorgänger 09d79795
  • Nachfolger b8c19cc7

RecordLinks: credit_notes verlinken, und Typ von Rechnungen anzeigen

Unterschiede anzeigen:

SL/DB/Invoice.pm
318 318
  return $self->closed ? $::locale->text('closed') : $::locale->text('open');
319 319
}
320 320

  
321
sub displayable_type {
322
  my ($self) = @_;
323

  
324
  return t8('AR Transaction')                         if $self->invoice_type eq 'ar_transaction';
325
  return t8('Credit Note')                            if $self->invoice_type eq 'credit_note';
326
  return t8('Invoice') . "(" . t8('Storno') . ")"     if $self->invoice_type eq 'invoice_storno';
327
  return t8('Credit Note') . "(" . t8('Storno') . ")" if $self->invoice_type eq 'credit_note_storno';
328
  return t8('Invoice');
329
}
330

  
321 331
sub abbreviation {
322 332
  my $self = shift;
323 333

  

Auch abrufbar als: Unified diff