Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3424bf80

Von Bernd Bleßmann vor etwa 12 Jahren hinzugefügt

  • ID 3424bf80214aede7a8318c39b754290738e4aea0
  • Vorgänger 4b31e6ba
  • Nachfolger d1d96e5d

Option für Datev-Check in Mandantenkonfiguration verschoben.

Unterschiede anzeigen:

SL/Controller/ClientConfig.pm
19 19
  $self->{payments_changeable} = SL::DB::Default->get->payments_changeable;
20 20
  $self->{show_bestbefore}     = SL::DB::Default->get->show_bestbefore;
21 21

  
22
  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);
23
  # datev check: not implemented yet:
24
  #check_on_cash_and_receipt = 0
25
  #check_on_dunning = 0
26
  #check_on_sepa_import = 0
27

  
22 28
  $self->render('client_config/form', title => $::locale->text('Client Configuration'));
23 29
}
24 30

  
......
29 35
  SL::DB::Default->get->update_attributes('payments_changeable' => $::form->{payments_changeable});
30 36
  SL::DB::Default->get->update_attributes('show_bestbefore'     => $::form->{show_bestbefore});
31 37

  
38
  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);
39

  
32 40
  flash_later('info', $::locale->text('Client Configuration saved!'));
33 41

  
34 42
  $self->redirect_to(action => 'edit');

Auch abrufbar als: Unified diff