Revision 19132371
Von Bernd Bleßmann vor fast 3 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1699 | 1699 |
|
1700 | 1700 |
if ( $form->{type} eq 'sales_order' |
1701 | 1701 |
|| $form->{type} eq 'sales_quotation') { |
1702 |
$form->{title} = $locale->text('Add Sales Invoice'); |
|
1702 |
$form->{title} = ($form->{new_invoice_type} eq 'invoice_for_advance_payment') |
|
1703 |
? $locale->text('Add Invoice for Advance Payment') |
|
1704 |
: $locale->text('Add Sales Invoice'); |
|
1703 | 1705 |
$form->{script} = 'is.pl'; |
1704 | 1706 |
$script = "is"; |
1705 | 1707 |
$buysell = 'buy'; |
... | ... | |
1708 | 1710 |
# bo creates the id, reset it |
1709 | 1711 |
map { delete $form->{$_} } qw(id subject message cc bcc printed emailed queued); |
1710 | 1712 |
$form->{ $form->{vc} } =~ s/--.*//g; |
1711 |
$form->{type} = "invoice"; |
|
1713 |
$form->{type} = $form->{new_invoice_type} || "invoice";
|
|
1712 | 1714 |
|
1713 | 1715 |
# locale messages |
1714 | 1716 |
$main::locale = Locale->new("$myconfig{countrycode}", "$script"); |
Auch abrufbar als: Unified diff
Anzahlungs-Rg.: Workflow Auftrag -> Anzahlungs-Rg.