Revision ba8e82fe
Von Bernd Bleßmann vor mehr als 9 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
111 | 111 |
qq| o.marge_total, o.marge_percent, | . |
112 | 112 |
qq| o.itime::DATE AS insertdate, | . |
113 | 113 |
qq| ex.$rate AS exchangerate, | . |
114 |
qq| pt.description AS payment_terms, | . |
|
114 | 115 |
qq| pr.projectnumber AS globalprojectnumber, | . |
115 | 116 |
qq| e.name AS employee, s.name AS salesman, | . |
116 | 117 |
qq| ct.${vc}number AS vcnumber, ct.country, ct.ustid, ct.business_id, | . |
... | ... | |
125 | 126 |
qq|LEFT JOIN exchangerate ex ON (ex.currency_id = o.currency_id | . |
126 | 127 |
qq| AND ex.transdate = o.transdate) | . |
127 | 128 |
qq|LEFT JOIN project pr ON (o.globalproject_id = pr.id) | . |
129 |
qq|LEFT JOIN payment_terms pt ON (pt.id = o.payment_id)| . |
|
128 | 130 |
qq|LEFT JOIN tax_zones tz ON (o.taxzone_id = tz.id) | . |
129 | 131 |
qq|$periodic_invoices_joins | . |
130 | 132 |
qq|WHERE (o.quotation = ?) |; |
... | ... | |
307 | 309 |
"shippingpoint" => "o.shippingpoint", |
308 | 310 |
"insertdate" => "o.itime", |
309 | 311 |
"taxzone" => "tz.description", |
312 |
"payment_terms" => "pt.description", |
|
310 | 313 |
); |
311 | 314 |
if ($form->{sort} && grep($form->{sort}, keys(%allowed_sort_columns))) { |
312 | 315 |
$sortorder = $allowed_sort_columns{$form->{sort}} . " ${sortdir}" . ", o.itime ${sortdir}"; |
Auch abrufbar als: Unified diff
Berichte->Aufträge/Lieferantenaufträge: Zahlungsbedingungen anzeigen