From 26b68f7e988acbe102b54c40ba205bf1fa74fb10 Mon Sep 17 00:00:00 2001 From: David Ohlbrecht Date: Mon, 16 Nov 2009 16:04:45 +0100 Subject: [PATCH] Salesmananzeige in Mahnungsberichten MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit "kosmetische" Verbesserungen und zusätzliches Feld im Template. --- bin/mozilla/dn.pl | 6 +----- templates/webpages/dunning/search_master.html | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/mozilla/dn.pl b/bin/mozilla/dn.pl index 872919cfc..651698c3e 100644 --- a/bin/mozilla/dn.pl +++ b/bin/mozilla/dn.pl @@ -358,13 +358,9 @@ sub show_dunning { 'dunning_duedate' => { 'text' => $locale->text('Dunning Duedate') }, 'fee' => { 'text' => $locale->text('Total Fees') }, 'interest' => { 'text' => $locale->text('Interest') }, + 'salesman' => { 'text' => $locale->text('Salesperson'), 'visible' => $form->{l_salesman} ? 1 : 0 }, ); - if ($form->{l_salesman}) { - # Show salesman column - $column_defs{'salesman'} = ( { 'text' => $locale->text('Salesperson') } ); - } - $report->set_columns(%column_defs); $report->set_column_order(qw(checkbox dunning_description customername invnumber transdate duedate amount dunning_date dunning_duedate fee interest salesman)); diff --git a/templates/webpages/dunning/search_master.html b/templates/webpages/dunning/search_master.html index 971ef1a67..f2f7c91a0 100644 --- a/templates/webpages/dunning/search_master.html +++ b/templates/webpages/dunning/search_master.html @@ -105,6 +105,8 @@ Show old dunnings + Show Salesman + -- 2.20.1