Revision bead93d9
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
116 | 116 |
qq| o.transaction_description, | . |
117 | 117 |
qq| o.marge_total, o.marge_percent, | . |
118 | 118 |
qq| o.itime::DATE AS insertdate, | . |
119 |
qq| department.description as department, | . |
|
119 | 120 |
qq| ex.$rate AS exchangerate, | . |
120 | 121 |
qq| pt.description AS payment_terms, | . |
121 | 122 |
qq| pr.projectnumber AS globalprojectnumber, | . |
... | ... | |
134 | 135 |
qq|LEFT JOIN project pr ON (o.globalproject_id = pr.id) | . |
135 | 136 |
qq|LEFT JOIN payment_terms pt ON (pt.id = o.payment_id)| . |
136 | 137 |
qq|LEFT JOIN tax_zones tz ON (o.taxzone_id = tz.id) | . |
138 |
qq|LEFT JOIN department ON (o.department_id = department.id) | . |
|
137 | 139 |
qq|$periodic_invoices_joins | . |
138 | 140 |
qq|WHERE (o.quotation = ?) |; |
139 | 141 |
push(@values, $quotation); |
... | ... | |
353 | 355 |
"insertdate" => "o.itime", |
354 | 356 |
"taxzone" => "tz.description", |
355 | 357 |
"payment_terms" => "pt.description", |
358 |
"department" => "department.description", |
|
356 | 359 |
); |
357 | 360 |
if ($form->{sort} && grep($form->{sort}, keys(%allowed_sort_columns))) { |
358 | 361 |
$sortorder = $allowed_sort_columns{$form->{sort}} . " ${sortdir}" . ", o.itime ${sortdir}"; |
Auch abrufbar als: Unified diff
Bericht Angebote/Aufträge: Abteilungen anzeigen können