Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 66397dc3

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

  • ID 66397dc3af1ba0bfa4806ab4b5c1f1bb4df9b95c
  • Vorgänger 6d270ae6
  • Nachfolger cf8f39f5

Anzahlungs-Rg.: eigener Typ for Schlussrechnung (final_invoice (F))

Unterschiede anzeigen:

SL/DB/Invoice.pm
541 541
  return 'ar_transaction'     if !$self->invoice;
542 542
  return 'invoice_for_advance_payment_storno' if $self->type eq 'invoice_for_advance_payment' && $self->amount < 0 &&  $self->storno;
543 543
  return 'invoice_for_advance_payment'        if $self->type eq 'invoice_for_advance_payment';
544
  return 'final_invoice'                      if $self->type eq 'final_invoice';
544 545
  return 'credit_note'        if $self->type eq 'credit_note' && $self->amount < 0 && !$self->storno;
545 546
  return 'invoice_storno'     if $self->type ne 'credit_note' && $self->amount < 0 &&  $self->storno;
546 547
  return 'credit_note_storno' if $self->type eq 'credit_note' && $self->amount > 0 &&  $self->storno;
......
562 563
  return t8('Credit Note') . "(" . t8('Storno') . ")" if $self->invoice_type eq 'credit_note_storno';
563 564
  return t8('Invoice for Advance Payment')            if $self->invoice_type eq 'invoice_for_advance_payment';
564 565
  return t8('Invoice for Advance Payment') . "(" . t8('Storno') . ")" if $self->invoice_type eq 'invoice_for_advance_payment_storno';
566
  return t8('Final Invoice')                          if $self->invoice_type eq 'final_invoice';
565 567
  return t8('Invoice');
566 568
}
567 569

  
......
578 580
  return t8('Credit note (one letter abbreviation)') . "(" . t8('Storno (one letter abbreviation)') . ")"  if $self->invoice_type eq 'credit_note_storno';
579 581
  return t8('Invoice for Advance Payment (one letter abbreviation)')  if $self->invoice_type eq 'invoice_for_advance_payment';
580 582
  return t8('Invoice for Advance Payment with Storno (abbreviation)') if $self->invoice_type eq 'invoice_for_advance_payment_storno';
583
  return t8('Final Invoice (one letter abbreviation)')                if $self->invoice_type eq 'final_invoice';
581 584
  return t8('Invoice (one letter abbreviation)');
582 585
}
583 586

  

Auch abrufbar als: Unified diff