Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7aafc9d0

Von Bernd Bleßmann vor etwa 1 Jahr 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
($form->{type} eq 'purchase_quotation_intake') ? (
opthash("purchase_quotation_intake", $form->{PD}{purchase_quotation_intake}, $locale->text('Purchase Quotation Intake')),
) : undef,
($form->{type} eq 'invoice') ? (
($form->{type} eq 'invoice' && $form->{storno} && $form->{storno_id}) ? (
opthash("storno_invoice", $form->{PD}{storno_invoice}, $locale->text('Storno Invoice')),
) : undef,
($form->{type} eq 'invoice' && !($form->{storno} && $form->{storno_id})) ? (
opthash("invoice", $form->{PD}{invoice}, $locale->text('Invoice')),
opthash("proforma", $form->{PD}{proforma}, $locale->text('Proforma Invoice')),
opthash("invoice_copy", $form->{PD}{invoice_copy}, $locale->text('Invoice Copy')),
) : undef,
($form->{type} eq 'invoice' && $form->{storno}) ? (
opthash("storno_invoice", $form->{PD}{storno_invoice}, $locale->text('Storno Invoice')),
) : undef,
($form->{type} eq 'invoice_for_advance_payment') ? (
opthash("invoice_for_advance_payment", $form->{PD}{invoice_for_advance_payment}, $locale->text('Invoice for Advance Payment')),
) : undef,
bin/mozilla/io.pl
my $print_form = Form->new('');
$print_form->{printers} = SL::DB::Manager::Printer->get_all_sorted;
$print_form->{$_} = $::form->{$_} for qw(type media printer_id storno formname groupitems);
$print_form->{$_} = $::form->{$_} for qw(type media printer_id storno storno_id formname groupitems);
return SL::Helper::PrintOptions->get_print_options(
form => $print_form,

Auch abrufbar als: Unified diff