Revision bdb874a3
Von Jan Büren vor mehr als 1 Jahr hinzugefügt
SL/AM.pm | ||
---|---|---|
90 | 90 |
my $chart_obj = SL::DB::Manager::Chart->find_by(id => $form->{id}) || die "Can't open chart"; |
91 | 91 |
|
92 | 92 |
my @chart_fields = qw(accno description charttype category link pos_bilanz |
93 |
pos_eur pos_er new_chart_id valid_from pos_bwa datevautomatik); |
|
93 |
pos_eur pos_er new_chart_id valid_from pos_bwa datevautomatik |
|
94 |
invalid); |
|
94 | 95 |
foreach my $cf ( @chart_fields ) { |
95 | 96 |
$form->{"$cf"} = $chart_obj->$cf; |
96 | 97 |
} |
... | ... | |
232 | 233 |
pos_er = ?, |
233 | 234 |
new_chart_id = ?, |
234 | 235 |
valid_from = ?, |
235 |
datevautomatik = ? |
|
236 |
datevautomatik = ?, |
|
237 |
invalid = ? |
|
236 | 238 |
WHERE id = ?|; |
237 | 239 |
|
238 | 240 |
@values = ( |
... | ... | |
248 | 250 |
conv_i($form->{new_chart_id}), |
249 | 251 |
conv_date($form->{valid_from}), |
250 | 252 |
($form->{datevautomatik} eq 'T') ? 'true':'false', |
253 |
$form->{invalid} ? 'true' : 'false', |
|
251 | 254 |
$form->{id}, |
252 | 255 |
); |
253 | 256 |
|
Auch abrufbar als: Unified diff
Chart neues Feld ungültig