Revision 9263b0fa
Von Jan Büren vor fast 14 Jahren hinzugefügt
SL/AR.pm | ||
---|---|---|
417 | 417 |
qq| a.marge_total, a.marge_percent, | . |
418 | 418 |
qq| a.transaction_description, | . |
419 | 419 |
qq| pr.projectnumber AS globalprojectnumber, | . |
420 |
qq| c.name, c.customernumber, c.country, c.ustid, | . |
|
420 |
qq| c.name, c.customernumber, c.country, c.ustid, b.description as customertype, | .
|
|
421 | 421 |
qq| e.name AS employee, | . |
422 | 422 |
qq| e2.name AS salesman, | . |
423 | 423 |
qq| tz.description AS taxzone, | . |
... | ... | |
436 | 436 |
qq|LEFT JOIN project pr ON (a.globalproject_id = pr.id)| . |
437 | 437 |
qq|LEFT JOIN tax_zones tz ON (tz.id = c.taxzone_id)| . |
438 | 438 |
qq|LEFT JOIN payment_terms pt ON (pt.id = c.payment_id)| . |
439 |
qq|LEFT JOIN business b ON (b.id = c.business_id)| . |
|
439 | 440 |
qq|LEFT JOIN department d ON (d.id = a.department_id)|; |
440 | 441 |
|
441 | 442 |
my $where = "1 = 1"; |
bin/mozilla/ar.pl | ||
---|---|---|
1346 | 1346 |
@columns = |
1347 | 1347 |
qw(transdate id type invnumber ordnumber name netamount tax amount paid |
1348 | 1348 |
datepaid due duedate transaction_description notes salesman employee shippingpoint shipvia |
1349 |
marge_total marge_percent globalprojectnumber customernumber country ustid taxzone payment_terms charts); |
|
1349 |
marge_total marge_percent globalprojectnumber customernumber country ustid taxzone payment_terms charts customertype);
|
|
1350 | 1350 |
|
1351 | 1351 |
my @hidden_variables = map { "l_${_}" } @columns; |
1352 | 1352 |
push @hidden_variables, "l_subtotal", qw(open closed customer invnumber ordnumber transaction_description notes project_id transdatefrom transdateto); |
... | ... | |
1382 | 1382 |
'taxzone' => { 'text' => $locale->text('Steuersatz'), }, |
1383 | 1383 |
'payment_terms' => { 'text' => $locale->text('Payment Terms'), }, |
1384 | 1384 |
'charts' => { 'text' => $locale->text('Buchungskonto'), }, |
1385 |
'customertype' => { 'text' => $locale->text('Customer type'), }, |
|
1385 | 1386 |
); |
1386 | 1387 |
|
1387 | 1388 |
foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shippingpoint shipvia transaction_description)) { |
Auch abrufbar als: Unified diff
Kundentyp in Rechnungssuche auch als Wert in Rechnungsübersicht anzeigen und exportieren