Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aa574b2a

Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt

  • ID aa574b2a7ef9c1707daffb06847cacec78e4128f
  • Vorgänger d88bc8a1
  • Nachfolger e400ffb9

Anzahlungs-Rg.: Typ in Bericht anzeigen

Unterschiede anzeigen:

SL/DB/Invoice.pm
539 539
  my ($self) = @_;
540 540

  
541 541
  return 'ar_transaction'     if !$self->invoice;
542
  return 'invoice_for_advance_payment_storno' if $self->type eq 'invoice_for_advance_payment' && $self->amount < 0 &&  $self->storno;
543
  return 'invoice_for_advance_payment'        if $self->type eq 'invoice_for_advance_payment';
542 544
  return 'credit_note'        if $self->type eq 'credit_note' && $self->amount < 0 && !$self->storno;
543 545
  return 'invoice_storno'     if $self->type ne 'credit_note' && $self->amount < 0 &&  $self->storno;
544 546
  return 'credit_note_storno' if $self->type eq 'credit_note' && $self->amount > 0 &&  $self->storno;
......
558 560
  return t8('Credit Note')                            if $self->invoice_type eq 'credit_note';
559 561
  return t8('Invoice') . "(" . t8('Storno') . ")"     if $self->invoice_type eq 'invoice_storno';
560 562
  return t8('Credit Note') . "(" . t8('Storno') . ")" if $self->invoice_type eq 'credit_note_storno';
563
  return t8('Invoice for Advance Payment')            if $self->invoice_type eq 'invoice_for_advance_payment';
564
  return t8('Invoice for Advance Payment') . "(" . t8('Storno') . ")" if $self->invoice_type eq 'invoice_for_advance_payment_storno';
561 565
  return t8('Invoice');
562 566
}
563 567

  
......
572 576
  return t8('Credit note (one letter abbreviation)') if $self->invoice_type eq 'credit_note';
573 577
  return t8('Invoice (one letter abbreviation)') . "(" . t8('Storno (one letter abbreviation)') . ")" if $self->invoice_type eq 'invoice_storno';
574 578
  return t8('Credit note (one letter abbreviation)') . "(" . t8('Storno (one letter abbreviation)') . ")"  if $self->invoice_type eq 'credit_note_storno';
579
  return t8('Invoice for Advance Payment (one letter abbreviation)')  if $self->invoice_type eq 'invoice_for_advance_payment';
580
  return t8('Invoice for Advance Payment with Storno (abbreviation)') if $self->invoice_type eq 'invoice_for_advance_payment_storno';
575 581
  return t8('Invoice (one letter abbreviation)');
576 582
}
577 583

  

Auch abrufbar als: Unified diff