Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 9c5f94c0

Von Moritz Bunkus vor mehr als 8 Jahren hinzugefügt

  • ID 9c5f94c0359a8f2c0dba93b5e9bdef99f332fcc8
  • Vorgänger 8192e023
  • Nachfolger 02b714e7

Wiederkerende Rechnungen: Konfiguration für automatischen Versand via E-Mail

Unterschiede anzeigen:

SL/DB/MetaSetup/PeriodicInvoicesConfig.pm
9 9
__PACKAGE__->meta->table('periodic_invoices_configs');
10 10

  
11 11
__PACKAGE__->meta->columns(
12
  active                  => { type => 'boolean', default => 'true' },
13
  ar_chart_id             => { type => 'integer', not_null => 1 },
14
  copies                  => { type => 'integer' },
15
  direct_debit            => { type => 'boolean', default => 'false', not_null => 1 },
16
  end_date                => { type => 'date' },
17
  extend_automatically_by => { type => 'integer' },
18
  first_billing_date      => { type => 'date' },
19
  id                      => { type => 'integer', not_null => 1, sequence => 'id' },
20
  oe_id                   => { type => 'integer', not_null => 1 },
21
  order_value_periodicity => { type => 'varchar', length => 1, not_null => 1 },
22
  periodicity             => { type => 'varchar', length => 1, not_null => 1 },
23
  print                   => { type => 'boolean', default => 'false' },
24
  printer_id              => { type => 'integer' },
25
  start_date              => { type => 'date' },
26
  terminated              => { type => 'boolean', default => 'false' },
12
  active                     => { type => 'boolean', default => 'true' },
13
  ar_chart_id                => { type => 'integer', not_null => 1 },
14
  copies                     => { type => 'integer' },
15
  direct_debit               => { type => 'boolean', default => 'false', not_null => 1 },
16
  email_body                 => { type => 'text' },
17
  email_recipient_address    => { type => 'text' },
18
  email_recipient_contact_id => { type => 'integer' },
19
  email_sender               => { type => 'text' },
20
  email_subject              => { type => 'text' },
21
  end_date                   => { type => 'date' },
22
  extend_automatically_by    => { type => 'integer' },
23
  first_billing_date         => { type => 'date' },
24
  id                         => { type => 'integer', not_null => 1, sequence => 'id' },
25
  oe_id                      => { type => 'integer', not_null => 1 },
26
  order_value_periodicity    => { type => 'varchar', length => 1, not_null => 1 },
27
  periodicity                => { type => 'varchar', length => 1, not_null => 1 },
28
  print                      => { type => 'boolean', default => 'false' },
29
  printer_id                 => { type => 'integer' },
30
  send_email                 => { type => 'boolean', default => 'false', not_null => 1 },
31
  start_date                 => { type => 'date' },
32
  terminated                 => { type => 'boolean', default => 'false' },
27 33
);
28 34

  
29 35
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
......
34 40
    key_columns => { ar_chart_id => 'id' },
35 41
  },
36 42

  
43
  email_recipient_contact => {
44
    class       => 'SL::DB::Contact',
45
    key_columns => { email_recipient_contact_id => 'cp_id' },
46
  },
47

  
37 48
  order => {
38 49
    class       => 'SL::DB::Order',
39 50
    key_columns => { oe_id => 'id' },

Auch abrufbar als: Unified diff