Revision 844a541e
Von Moritz Bunkus vor etwa 3 Jahren hinzugefügt
SL/Common.pm | ||
---|---|---|
342 | 342 |
$query = qq|SELECT * FROM shipto WHERE (trans_id = ?)|; |
343 | 343 |
$form->{SHIPTO} = selectall_hashref_query($form, $dbh, $query, $vc_id); |
344 | 344 |
|
345 |
if ($vc eq 'customer') { |
|
346 |
$query = qq|SELECT * FROM additional_billing_addresses WHERE (customer_id = ?)|; |
|
347 |
$form->{ADDITIONAL_BILLING_ADDRESSES} = selectall_hashref_query($form, $dbh, $query, $vc_id); |
|
348 |
} |
|
349 |
|
|
345 | 350 |
$query = qq|SELECT * FROM contacts WHERE (cp_cv_id = ?)|; |
346 | 351 |
$form->{CONTACTS} = selectall_hashref_query($form, $dbh, $query, $vc_id); |
347 | 352 |
|
Auch abrufbar als: Unified diff
Zusätzliche Rechnungsadressen: in Verkaufsbelegmasken auswählbar