Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7aafc9d0

Von Bernd Bleßmann vor 8 Monaten hinzugefügt

  • ID 7aafc9d07175016bc636f7dc887f3616a17baa4d
  • Vorgänger 2bd4441c
  • Nachfolger 2209853f

Stornorechnungen: Druckvarianten …

- bei Stornorechnung nur Stornorechnung anbieten
- bei stornierter Rechnung kein Storno anbieten

Unterschiede anzeigen:

SL/Helper/PrintOptions.pm
70 70
    ($form->{type} eq 'purchase_quotation_intake') ? (
71 71
      opthash("purchase_quotation_intake", $form->{PD}{purchase_quotation_intake},  $locale->text('Purchase Quotation Intake')),
72 72
    ) : undef,
73
    ($form->{type} eq 'invoice') ? (
73
    ($form->{type} eq 'invoice' && $form->{storno} && $form->{storno_id}) ? (
74
      opthash("storno_invoice",      $form->{PD}{storno_invoice},      $locale->text('Storno Invoice')),
75
    ) : undef,
76
    ($form->{type} eq 'invoice' && !($form->{storno} && $form->{storno_id})) ? (
74 77
      opthash("invoice",             $form->{PD}{invoice},             $locale->text('Invoice')),
75 78
      opthash("proforma",            $form->{PD}{proforma},            $locale->text('Proforma Invoice')),
76 79
      opthash("invoice_copy",        $form->{PD}{invoice_copy},        $locale->text('Invoice Copy')),
77 80
    ) : undef,
78
    ($form->{type} eq 'invoice' && $form->{storno}) ? (
79
      opthash("storno_invoice",      $form->{PD}{storno_invoice},      $locale->text('Storno Invoice')),
80
    ) : undef,
81 81
    ($form->{type} eq 'invoice_for_advance_payment') ? (
82 82
      opthash("invoice_for_advance_payment", $form->{PD}{invoice_for_advance_payment},      $locale->text('Invoice for Advance Payment')),
83 83
    ) : undef,

Auch abrufbar als: Unified diff