Revision 58265754
Von Moritz Bunkus vor mehr als 15 Jahren hinzugefügt
bin/mozilla/ap.pl | ||
---|---|---|
1425 | 1425 |
$report->set_sort_indicator($form->{sort}, $form->{sortdir}); |
1426 | 1426 |
|
1427 | 1427 |
my @options; |
1428 |
if ($form->{vendor}) { |
|
1429 |
push @options, $locale->text('Vendor') . " : $form->{vendor}"; |
|
1430 |
} |
|
1431 |
if ($form->{department}) { |
|
1432 |
($department) = split /--/, $form->{department}; |
|
1433 |
push @options, $locale->text('Department') . " : $department"; |
|
1434 |
} |
|
1435 |
if ($form->{invnumber}) { |
|
1436 |
push @options, $locale->text('Invoice Number') . " : $form->{invnumber}"; |
|
1437 |
} |
|
1438 |
if ($form->{ordnumber}) { |
|
1439 |
push @options, $locale->text('Order Number') . " : $form->{ordnumber}"; |
|
1440 |
} |
|
1441 |
if ($form->{notes}) { |
|
1442 |
push @options, $locale->text('Notes') . " : $form->{notes}"; |
|
1443 |
} |
|
1444 |
if ($form->{transaction_description}) { |
|
1445 |
push @options, $locale->text('Transaction description') . " : $form->{transaction_description}"; |
|
1446 |
} |
|
1447 |
if ($form->{transdatefrom}) { |
|
1448 |
push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{transdatefrom}, 1); |
|
1449 |
} |
|
1450 |
if ($form->{transdateto}) { |
|
1451 |
push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1); |
|
1452 |
} |
|
1453 |
if ($form->{open}) { |
|
1454 |
push @options, $locale->text('Open'); |
|
1455 |
} |
|
1456 |
if ($form->{closed}) { |
|
1457 |
push @options, $locale->text('Closed'); |
|
1458 |
} |
|
1428 |
push @options, $locale->text('Vendor') . " : $form->{vendor}" if ($form->{vendor}); |
|
1429 |
push @options, $locale->text('Department') . " : " . (split /--/, $form->{department})[0] if ($form->{department}); |
|
1430 |
push @options, $locale->text('Invoice Number') . " : $form->{invnumber}" if ($form->{invnumber}); |
|
1431 |
push @options, $locale->text('Order Number') . " : $form->{ordnumber}" if ($form->{ordnumber}); |
|
1432 |
push @options, $locale->text('Notes') . " : $form->{notes}" if ($form->{notes}); |
|
1433 |
push @options, $locale->text('Transaction description') . " : $form->{transaction_description}" if ($form->{transaction_description}); |
|
1434 |
push @options, $locale->text('From') . " " . $locale->date(\%myconfig, $form->{transdatefrom}, 1) if ($form->{transdatefrom}); |
|
1435 |
push @options, $locale->text('Bis') . " " . $locale->date(\%myconfig, $form->{transdateto}, 1) if ($form->{transdateto}); |
|
1436 |
push @options, $locale->text('Open') if ($form->{open}); |
|
1437 |
push @options, $locale->text('Closed') if ($form->{closed}); |
|
1459 | 1438 |
|
1460 | 1439 |
$report->set_options('top_info_text' => join("\n", @options), |
1461 | 1440 |
'raw_bottom_info_text' => $form->parse_html_template('ap/ap_transactions_bottom'), |
Auch abrufbar als: Unified diff
Kosmetik.