Revision 0a076aab
Von Jan Büren vor fast 6 Jahren hinzugefügt
SL/DB/MetaSetup/Customer.pm | ||
---|---|---|
23 | 23 |
creditlimit => { type => 'numeric', default => '0', precision => 15, scale => 5 }, |
24 | 24 |
currency_id => { type => 'integer', not_null => 1 }, |
25 | 25 |
customernumber => { type => 'text' }, |
26 |
contact_origin => { type => 'text' }, |
|
26 | 27 |
delivery_term_id => { type => 'integer' }, |
27 | 28 |
department_1 => { type => 'text' }, |
28 | 29 |
department_2 => { type => 'text' }, |
... | ... | |
38 | 39 |
iban => { type => 'text' }, |
39 | 40 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
40 | 41 |
itime => { type => 'timestamp', default => 'now()' }, |
42 |
invoice_mail => { type => 'text' }, |
|
41 | 43 |
language => { type => 'text' }, |
42 | 44 |
language_id => { type => 'integer' }, |
43 | 45 |
mandate_date_of_signature => { type => 'date' }, |
bin/mozilla/ct.pl | ||
---|---|---|
177 | 177 |
'id', 'name', "$form->{db}number", 'contact', 'phone', 'discount', |
178 | 178 |
'fax', 'email', 'taxnumber', 'street', 'zipcode' , 'city', |
179 | 179 |
'business', 'payment', 'invnumber', 'ordnumber', 'quonumber', 'salesman', |
180 |
'country', 'gln', 'insertdate', 'pricegroup' |
|
180 |
'country', 'gln', 'insertdate', 'pricegroup', 'contact_origin', 'invoice_mail'
|
|
181 | 181 |
); |
182 | 182 |
|
183 | 183 |
my @includeable_custom_variables = grep { $_->{includeable} } @{ $cvar_configs }; |
... | ... | |
210 | 210 |
'payment' => { 'text' => $locale->text('Payment Terms'), }, |
211 | 211 |
'insertdate' => { 'text' => $locale->text('Insert Date'), }, |
212 | 212 |
'pricegroup' => { 'text' => $locale->text('Pricegroup'), }, |
213 |
'invoice_mail' => { 'text' => $locale->text('Email of the invoice recipient'), }, |
|
214 |
'contact_origin' => { 'text' => $locale->text('Origin of personal data'), }, |
|
213 | 215 |
%column_defs_cvars, |
214 | 216 |
); |
215 | 217 |
|
locale/de/all | ||
---|---|---|
1221 | 1221 |
'Element disabled' => 'Element deaktiviert', |
1222 | 1222 |
'Email' => 'E-Mail', |
1223 | 1223 |
'Email journal' => 'E-Mail-Journal', |
1224 |
'Email of the invoice recipient' => 'E-Mail des Rechnungsempfängers', |
|
1224 | 1225 |
'Employee' => 'Bearbeiter', |
1225 | 1226 |
'Employee #1 saved!' => 'Benutzer #1 gespeichert!', |
1226 | 1227 |
'Employee (database ID)' => 'Bearbeiter (Datenbank-ID)', |
... | ... | |
2146 | 2147 |
'Orders to fetch' => 'Anzahl Bestellungen holen', |
2147 | 2148 |
'Orientation' => 'Seitenformat', |
2148 | 2149 |
'Orig. Size w/h' => 'Orig. Größe b/h', |
2150 |
'Origin of personal data' => 'Herkunft der personenbezogenen Daten', |
|
2149 | 2151 |
'Orphaned' => 'Nie benutzt', |
2150 | 2152 |
'Orphaned currencies' => 'Verwaiste Währungen', |
2151 | 2153 |
'Other Matches' => 'Andere Treffer', |
sql/Pg-upgrade2/customer_add_fields.sql | ||
---|---|---|
1 |
-- @tag: customer_add_fields |
|
2 |
-- @description: Rechnungsadresse (E-Mail-Empfänger) Herkunft der personenbezogenen Daten |
|
3 |
-- @depends: release_3_5_3 |
|
4 |
ALTER TABLE customer ADD COLUMN invoice_mail text; |
|
5 |
ALTER TABLE customer ADD COLUMN contact_origin text; |
templates/webpages/ct/search.html | ||
---|---|---|
206 | 206 |
<input name="l_pricegroup" id="l_pricegroup" type="checkbox" class="checkbox" value="Y"> |
207 | 207 |
<label for="l_pricegroup">[% 'Pricegroup' | $T8 %]</label> |
208 | 208 |
</td> |
209 |
<td> |
|
210 |
<input name="l_contact_origin" id="l_contact_origin" type="checkbox" class="checkbox" value="Y"> |
|
211 |
<label for="l_contact_origin">[% 'Origin of personal data' | $T8 %]</label> |
|
212 |
</td> |
|
213 |
<td> |
|
214 |
<input name="l_invoice_mail" id="l_invoice_mail" type="checkbox" class="checkbox" value="Y"> |
|
215 |
<label for="l_invoice_mail">[% 'Email of the invoice recipient' | $T8 %]</label> |
|
216 |
</td> |
|
209 | 217 |
</tr> |
210 | 218 |
[% END %] |
211 | 219 |
|
templates/webpages/customer_vendor/tabs/billing.html | ||
---|---|---|
169 | 169 |
[% L.input_tag('cv.bcc', SELF.cv.bcc, size = 45) %] |
170 | 170 |
</td> |
171 | 171 |
</tr> |
172 |
|
|
172 |
[% IF ( SELF.is_customer() ) %] |
|
173 |
<tr> |
|
174 |
<th align="right">[% 'Email of the invoice recipient' | $T8 %]</th> |
|
175 |
<td>[% L.input_tag('cv.invoice_mail', SELF.cv.invoice_mail, size = 45) %]</td> |
|
176 |
</tr> |
|
177 |
[% END %] |
|
173 | 178 |
<tr> |
174 | 179 |
<th align="right" nowrap> |
175 | 180 |
[% IF SELF.cv.homepage %] |
... | ... | |
364 | 369 |
<table> |
365 | 370 |
<tr> |
366 | 371 |
<th align="left" nowrap>[% 'Internal Notes' | $T8 %]</th> |
372 |
[% IF ( SELF.is_customer() ) %] |
|
373 |
<th align="left">[% 'Origin of personal data' | $T8 %]</th> |
|
374 |
[% END %] |
|
367 | 375 |
</tr> |
368 |
|
|
369 | 376 |
<tr> |
370 | 377 |
<td> |
371 | 378 |
[% L.textarea_tag('cv.notes', SELF.cv.notes, rows = 3 cols = 60 wrap = soft) %] |
372 | 379 |
</td> |
380 |
[% IF ( SELF.is_customer() ) %] |
|
381 |
<td> |
|
382 |
[% L.textarea_tag('cv.contact_origin', SELF.cv.contact_origin, rows = 3 cols = 60 wrap = soft) %] |
|
383 |
</td> |
|
384 |
[% END %] |
|
373 | 385 |
</tr> |
374 | 386 |
</table> |
375 | 387 |
</div> |
Auch abrufbar als: Unified diff
Stammdaten -> Kunden um Textfelder Rechnungsmail und Herkunft personenbezogener Daten erweitert
i)
Die Rechnungsmail ist die generische E-Mail des Kunden, welche die
Rechnung in der Regel bearbeitet (buchhaltung@, einkauf@).
ii)
Aufgrund der DSGVO ist es im Zweifel sinnvoll den Erstkontakt
des Kunden zu dokumentieren (Messe xyz, Telefon-Aktion beta, ...)
Die beiden Felder sind als Suchfeld anhakbar.