Revision 43f9b1c5
Von G. Richardson vor mehr als 13 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
1528 | 1528 |
|
1529 | 1529 |
$auth->assert('part_service_assembly_edit'); |
1530 | 1530 |
|
1531 |
$form->{eur} = $::lx_office_conf{system}->{eur}; # config dumps into namespace - yuck |
|
1531 |
# what does eur set here? why is it in namespace? |
|
1532 |
# call of get_accounting_method preserves format of $form->{eur}, which expects 1 or 0 |
|
1533 |
$form->{eur} = $::instance_conf->get_accounting_method eq 'cash' ? 1 : 0; # config dumps into namespace - yuck |
|
1532 | 1534 |
$form->{pg_keys} = sub { "$_[0]->{partsgroup}--$_[0]->{id}" }; |
1533 | 1535 |
$form->{description_area} = ($form->{rows} = $form->numtextrows($form->{description}, 40)) > 1; |
1534 | 1536 |
$form->{notes_rows} = max 4, $form->numtextrows($form->{notes}, 40), $form->numtextrows($form->{formel}, 40); |
Auch abrufbar als: Unified diff
Umstellung von eur zu 3 Variablen in defaults
accounting_method inventory_system profit_determination
Details siehe doc/umstellung_eur.txt