Revision d1d96e5d
Von Bernd Bleßmann vor etwa 12 Jahren hinzugefügt
SL/Controller/ClientConfig.pm | ||
---|---|---|
15 | 15 |
$self->{payment_options} = [ { title => $::locale->text("never"), value => 0 }, |
16 | 16 |
{ title => $::locale->text("every time"), value => 1 }, |
17 | 17 |
{ title => $::locale->text("on the same day"), value => 2 }, ]; |
18 |
$self->{accounting_options} = [ { title => $::locale->text("accrual"), value => "accrual" }, |
|
19 |
{ title => $::locale->text("cash"), value => "cash" }, ]; |
|
20 |
$self->{inventory_options} = [ { title => $::locale->text("perpetual"), value => "perpetual" }, |
|
21 |
{ title => $::locale->text("periodic"), value => "periodic" }, ]; |
|
22 |
$self->{profit_options} = [ { title => $::locale->text("balance"), value => "balance" }, |
|
23 |
{ title => $::locale->text("income"), value => "income" }, ]; |
|
18 | 24 |
|
19 | 25 |
$self->{payments_changeable} = SL::DB::Default->get->payments_changeable; |
26 |
|
|
27 |
map { $self->{$_} = SL::DB::Default->get->$_ } qw(accounting_method inventory_system profit_determination); |
|
28 |
|
|
20 | 29 |
$self->{show_bestbefore} = SL::DB::Default->get->show_bestbefore; |
21 | 30 |
|
22 | 31 |
map { $self->{$_} = SL::DB::Default->get->$_ } qw(datev_check_on_sales_invoice datev_check_on_purchase_invoice datev_check_on_ar_transaction datev_check_on_ap_transaction datev_check_on_gl_transaction); |
... | ... | |
33 | 42 |
my ($self, %params) = @_; |
34 | 43 |
|
35 | 44 |
SL::DB::Default->get->update_attributes('payments_changeable' => $::form->{payments_changeable}); |
45 |
|
|
46 |
map { SL::DB::Default->get->update_attributes($_ => $::form->{$_}); } qw(accounting_method inventory_system profit_determination); |
|
47 |
|
|
36 | 48 |
SL::DB::Default->get->update_attributes('show_bestbefore' => $::form->{show_bestbefore}); |
37 | 49 |
|
38 | 50 |
map { SL::DB::Default->get->update_attributes($_ => $::form->{$_}); } qw(datev_check_on_sales_invoice datev_check_on_purchase_invoice datev_check_on_ar_transaction datev_check_on_ap_transaction datev_check_on_gl_transaction); |
Auch abrufbar als: Unified diff
Optionen für Gewinnermittlung, Warenbuchungsmethode und Versteuerungsart in Mandantenkonfiguration verschoben.