From a0b82b1e7a9fab32f162ebee5031913b2f44ed5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 27 Jul 2021 11:06:47 +0200 Subject: [PATCH] Einkaufsbericht um Anzeige Erfassungsdatum erweitert --- SL/AP.pm | 2 +- bin/mozilla/ap.pl | 4 +++- doc/changelog | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/SL/AP.pm b/SL/AP.pm index 01f7e9b4c..601083b8d 100644 --- a/SL/AP.pm +++ b/SL/AP.pm @@ -450,7 +450,7 @@ sub ap_transactions { qq|SELECT a.id, a.invnumber, a.transdate, a.duedate, a.amount, a.paid, | . qq| a.ordnumber, v.name, a.invoice, a.netamount, a.datepaid, a.notes, | . qq| a.globalproject_id, a.storno, a.storno_id, a.direct_debit, | . - qq| a.transaction_description, | . + qq| a.transaction_description, a.itime::DATE AS insertdate, | . qq| pr.projectnumber AS globalprojectnumber, | . qq| e.name AS employee, | . qq| v.vendornumber, v.country, v.ustid, | . diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 8e507cede..e7918d15e 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1023,7 +1023,8 @@ sub ap_transactions { my @columns = qw(transdate id type invnumber ordnumber name netamount tax amount paid datepaid due duedate transaction_description notes employee globalprojectnumber department - vendornumber country ustid taxzone payment_terms charts debit_chart direct_debit); + vendornumber country ustid taxzone payment_terms charts debit_chart direct_debit + insertdate); my @hidden_variables = map { "l_${_}" } @columns; push @hidden_variables, "l_subtotal", qw(open closed vendor invnumber ordnumber transaction_description notes project_id transdatefrom transdateto @@ -1058,6 +1059,7 @@ sub ap_transactions { 'charts' => { 'text' => $locale->text('Chart'), }, 'debit_chart' => { 'text' => $locale->text('Debit Account'), }, 'direct_debit' => { 'text' => $locale->text('direct debit'), }, + 'insertdate' => { 'text' => $locale->text('Insert Date'), }, ); foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shippingpoint shipvia transaction_description direct_debit department)) { diff --git a/doc/changelog b/doc/changelog index b1381b440..f93a9d2c8 100644 --- a/doc/changelog +++ b/doc/changelog @@ -29,6 +29,7 @@ Kleinere neue Features und Detailverbesserungen: - Seriennummer ist jetzt ein Pflichtfeld für Lieferscheine (Einkauf und Verkauf), falls die Ware im Beleg in den Stammdaten mit "Hat eine Serienummer" markiert ist. - Einkaufsbericht um Anzeige erstes Sollkonto erweitert +- Einkaufsbericht um Anzeige Erfassungsdatum erweitert Bugfixes (Tracker: https://www.kivitendo.de/redmine): -- 2.20.1