Revision b23ee626
Von Bernd Bleßmann vor fast 4 Jahren hinzugefügt
SL/Presenter/Dunning.pm | ||
---|---|---|
my $text = escape($dunning->dunning_config->dunning_description);
|
||
|
||
if (! delete $params{no_link}) {
|
||
my $href = 'dn.pl?action=show_dunning&showold=1&dunning_id=' . $dunning->dunning_id;
|
||
$text = link_tag($href, $text, %params);
|
||
my @flags;
|
||
push @flags, 'showold=1';
|
||
push @flags, 'l_mails=1' if $::instance_conf->get_email_journal;
|
||
push @flags, 'l_webdav=1' if $::instance_conf->get_webdav;
|
||
push @flags, 'l_documents=1' if $::instance_conf->get_doc_storage;
|
||
|
||
my $href = 'dn.pl?action=show_dunning&dunning_id=' . $dunning->dunning_id;
|
||
$href .= '&' . join '&', @flags if @flags;
|
||
$text = link_tag($href, $text, %params);
|
||
}
|
||
|
||
is_escaped($text);
|
bin/mozilla/dn.pl | ||
---|---|---|
$main::auth->assert('dunning_edit');
|
||
|
||
my @filter_field_list = qw(customer_id customer dunning_id dunning_level department_id invnumber ordnumber
|
||
transdatefrom transdateto dunningfrom dunningto notes showold l_salesman salesman_id);
|
||
transdatefrom transdateto dunningfrom dunningto notes showold l_salesman salesman_id
|
||
l_mails l_webdav l_documents);
|
||
|
||
report_generator_set_default_sort('customername', 1);
|
||
|
||
... | ... | |
'fee' => { 'text' => $locale->text('Total Fees') },
|
||
'interest' => { 'text' => $locale->text('Interest') },
|
||
'salesman' => { 'text' => $locale->text('Salesperson'), 'visible' => $form->{l_salesman} ? 1 : 0 },
|
||
'documents' => { 'text' => $locale->text('Documents'), 'visible' => $::instance_conf->get_doc_storage ? 1 : 0 },
|
||
'webdav' => { 'text' => $locale->text('WebDAV'), 'visible' => $::instance_conf->get_webdav ? 1 : 0 },
|
||
'mails' => { 'text' => $locale->text('Mails'), 'visible' => $::instance_conf->get_email_journal ? 1 : 0 },
|
||
'documents' => { 'text' => $locale->text('Documents'), 'visible' => $form->{l_documents}? 1 : 0 },
|
||
'webdav' => { 'text' => $locale->text('WebDAV'), 'visible' => $form->{l_webdav} ? 1 : 0 },
|
||
'mails' => { 'text' => $locale->text('Mails'), 'visible' => $form->{l_mails} ? 1 : 0 },
|
||
);
|
||
|
||
$report->set_columns(%column_defs);
|
||
... | ... | |
$row->{language} = { };
|
||
}
|
||
|
||
if ($::instance_conf->get_doc_storage && $first_row_for_dunning) {
|
||
if ($form->{l_documents} && $first_row_for_dunning) {
|
||
my @files = SL::File->get_all_versions(object_id => $ref->{dunning_id},
|
||
object_type => 'dunning',
|
||
file_type => 'document',);
|
||
... | ... | |
$row->{documents} = { };
|
||
}
|
||
}
|
||
if ($::instance_conf->get_webdav && $first_row_for_dunning) {
|
||
if ($form->{l_webdav} && $first_row_for_dunning) {
|
||
my $webdav = SL::Webdav->new(
|
||
type => 'dunning',
|
||
number => $ref->{dunning_id},
|
||
... | ... | |
}
|
||
}
|
||
|
||
if ($::instance_conf->get_email_journal) {
|
||
if ($form->{l_mails}) {
|
||
my @mail_links = RecordLinks->get_links(from_table => 'dunning', to_table => 'email_journal', from_id => $ref->{dunning_table_id});
|
||
if (scalar @mail_links) {
|
||
my $email_journals = SL::DB::Manager::EmailJournal->get_all(where => [id => [ map { $_->{to_id} } @mail_links ]]);
|
locale/de/all | ||
---|---|---|
'Show AP transactions as part of AP invoice report' => 'Kreditorenbuchungen zusammen mit Verkaufsrechnungen anzeigen',
|
||
'Show AR transactions as part of AR invoice report' => 'Debitorenbuchungen zusammen mit Verkaufsrechnungen anzeigen',
|
||
'Show Bestbefore' => 'Mindesthaltbarkeit anzeigen',
|
||
'Show E-Mails' => 'E-Mails anzeigen',
|
||
'Show Filter' => 'Filter zeigen',
|
||
'Show Salesman' => 'Verkäufer anzeigen',
|
||
'Show Stornos' => 'Stornos anzeigen',
|
||
... | ... | |
'Show delivery value report' => 'Lieferwertbericht anzeigen',
|
||
'Show details' => 'Details anzeigen',
|
||
'Show details and reports of parts, services, assemblies' => 'Details und Berichte von Waren, Dienstleistungen und Erzeugnissen anzeigen',
|
||
'Show documents in WebDAV' => 'Dokumente im WebDAV anzeigen',
|
||
'Show documents in file storage' => 'Dokumente im Dateimanagement anzeigen',
|
||
'Show fields used for the best before date?' => 'Felder zur Eingabe des Mindesthaltbarkeitsdatums anzeigen?',
|
||
'Show follow ups...' => 'Zeige Wiedervorlagen...',
|
||
'Show help text' => 'Hilfetext anzeigen',
|
locale/en/all | ||
---|---|---|
'Show AP transactions as part of AP invoice report' => '',
|
||
'Show AR transactions as part of AR invoice report' => '',
|
||
'Show Bestbefore' => '',
|
||
'Show E-Mails' => '',
|
||
'Show Filter' => '',
|
||
'Show Salesman' => '',
|
||
'Show Stornos' => '',
|
||
... | ... | |
'Show delivery value report' => '',
|
||
'Show details' => '',
|
||
'Show details and reports of parts, services, assemblies' => '',
|
||
'Show documents in WebDAV' => '',
|
||
'Show documents in file storage' => '',
|
||
'Show fields used for the best before date?' => '',
|
||
'Show follow ups...' => '',
|
||
'Show help text' => '',
|
templates/webpages/dunning/search.html | ||
---|---|---|
<th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_salesman"></td>
|
||
</tr>
|
||
<tr>
|
||
[%- IF INSTANCE_CONF.get_email_journal %]
|
||
<th align="right" nowrap>[% 'Show E-Mails' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_mails" checked></td>
|
||
[%- END %]
|
||
[%- IF INSTANCE_CONF.get_webdav %]
|
||
<th align="right" nowrap>[% 'Show documents in WebDAV' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_webdav" checked></td>
|
||
[%- END %]
|
||
[%- IF INSTANCE_CONF.get_doc_storage %]
|
||
<th align="right" nowrap>[% 'Show documents in file storage' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_documents" checked></td>
|
||
[%- END %]
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
Auch abrufbar als: Unified diff
Mahnungsbericht: Anzeige f. Dokumente/Mails abschaltbar