Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 254bf1ff

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

  • ID 254bf1ffce20af018f500b81c37b6172f60beccb
  • Vorgänger 5dd469a5
  • Nachfolger 140dec80

Title erst nach create_invoice setzen, dadrin wird der typ sanitized.

Unterschiede anzeigen:

bin/mozilla/is.pl
$form->{javascript} = qq|<script type="text/javascript" src="js/show_history.js"></script>|;
#/show hhistory button
if ($form->{type} eq "credit_note") {
$form->{title} = $locale->text('Edit Credit Note');
$form->{title} = $locale->text('Edit Storno Credit Note') if $form->{storno};
} else {
$form->{title} = $locale->text('Edit Sales Invoice');
$form->{title} = $locale->text('Edit Storno Invoice') if $form->{storno};
}
my ($language_id, $printer_id);
if ($form->{print_and_post}) {
$form->{action} = "print";
......
$language_id = $form->{language_id};
$printer_id = $form->{printer_id};
}
&invoice_links;
if ($form->{type} eq "credit_note") {
$form->{title} = $locale->text('Edit Credit Note');
$form->{title} = $locale->text('Edit Storno Credit Note') if $form->{storno};
} else {
$form->{title} = $locale->text('Edit Sales Invoice');
$form->{title} = $locale->text('Edit Storno Invoice') if $form->{storno};
}
&prepare_invoice;
if ($form->{print_and_post}) {
$form->{language_id} = $language_id;

Auch abrufbar als: Unified diff