Revision 96ab68a3
Von Jan Büren vor mehr als 8 Jahren hinzugefügt
bin/mozilla/ir.pl | ||
---|---|---|
334 | 334 |
max_dunning_level dunning_amount |
335 | 335 |
shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptogln shiptocontact shiptophone shiptofax |
336 | 336 |
shiptoemail shiptodepartment_1 shiptodepartment_2 message email subject cc bcc taxaccounts cursor_fokus |
337 |
convert_from_do_ids convert_from_oe_ids show_details gldate useasnew |
|
337 |
convert_from_do_ids convert_from_oe_ids convert_from_ap_ids show_details gldate useasnew
|
|
338 | 338 |
), @custom_hiddens, |
339 | 339 |
map { $_.'_rate', $_.'_description', $_.'_taxnumber' } split / /, $form->{taxaccounts}]; |
340 | 340 |
|
... | ... | |
626 | 626 |
$form->{paidaccounts} = 0; |
627 | 627 |
map { my $key = $_; delete $form->{$key} if grep { $key =~ /^$_/ } qw(datepaid_ gldate_ acc_trans_id_ source_ memo_ paid_ exchangerate_ AR_paid_) } keys %{ $form }; |
628 | 628 |
# set new ids for storno invoice |
629 |
delete $form->{"invoice_id_$_"} for 1 .. $form->{"rowcount"}; |
|
629 |
# set new persistent ids for storno invoice items |
|
630 |
$form->{"converted_from_invoice_id_$_"} = delete $form->{"invoice_id_$_"} for 1 .. $form->{"rowcount"}; |
|
630 | 631 |
|
631 | 632 |
# saving the history |
632 | 633 |
if(!exists $form->{addition} && $form->{id} ne "") { |
... | ... | |
637 | 638 |
} |
638 | 639 |
# /saving the history |
639 | 640 |
|
641 |
# record link invoice to storno |
|
642 |
$form->{convert_from_ap_ids} = $form->{id}; |
|
640 | 643 |
$form->{storno_id} = $form->{id}; |
641 | 644 |
$form->{storno} = 1; |
642 | 645 |
$form->{id} = ""; |
Auch abrufbar als: Unified diff
Einkaufsstornos auch verknüpfen
Analog zur Verkaufs-Ansicht auch die Einkaufsrechnungen bei
Stornos verknüpfn