Revision 468e86a6
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
SL/AM.pm | ||
---|---|---|
next READTAXKEYS;
|
||
}
|
||
|
||
# check if there is at least one relation to pos_ustva or tax_id
|
||
if ( $form->{"taxkey_pos_ustva_$tk_count"} eq '' && $form->{"taxkey_tax_$tk_count"} == 0 ) {
|
||
$tk_count++;
|
||
next READTAXKEYS;
|
||
}
|
||
|
||
# Add valid taxkeys into the array
|
||
push @taxkeys ,
|
||
{
|
||
... | ... | |
tax_id => conv_i($form->{"taxkey_tax_$tk_count"}),
|
||
startdate => conv_date($form->{"taxkey_startdate_$tk_count"}),
|
||
chart_id => conv_i($form->{"id"}),
|
||
pos_ustva => $form->{"taxkey_pos_ustva_$tk_count"},
|
||
pos_ustva => conv_i($form->{"taxkey_pos_ustva_$tk_count"}),
|
||
delete => ( $form->{"taxkey_del_$tk_count"} eq 'delete' ) ? '1' : '',
|
||
};
|
||
|
Auch abrufbar als: Unified diff
Es muss beim Bearbeiten von Konten möglich sein, einen Steuerschlüssel auf "0" anzulegen, weil das intern überall gemacht wird, wo keine Steuerautomatik vorhanden ist.