From d054cee094957180a0d648efc9dea907083ff740 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 22 Apr 2025 15:13:22 +0200 Subject: [PATCH] Added email & phone to Contract export --- Layout/default/Contract/Export.csv.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layout/default/Contract/Export.csv.php b/Layout/default/Contract/Export.csv.php index d81224f0c..cd8fac8fd 100644 --- a/Layout/default/Contract/Export.csv.php +++ b/Layout/default/Contract/Export.csv.php @@ -3,8 +3,8 @@ $filename = "contracts-export-".date("Y-m-d_H-i-s").".csv"; header("Content-type: text/csv; charset=utf-8"); header('Content-disposition: attachment; filename="'.$filename.'"'); ?> -Contract ID;Vertragsinhaber Kundennummer;Vertragsinhaber Name;Vertragsinhaber Straße;Vertragsinhaber PLZ;Vertragsinhaber Ort;Vertragsinhaber Land;Rechnungsempfänger Kundennummer;Rechnungsempfänger Name;Rechnungsempfänger Straße;Rechnungsempfänger PLZ;Rechnungsempfänger Ort;Rechnungsempfänger Land;SLA;Produktgruppe;Produktname;Matchcode;Menge;Einzelpreis;Gesamtpreis;Preis Setup;Rechungsperiode;Verrechnungsstart Verzögerung;Bestelldatum;Fertigstellungsdatum;Kündigungsdatum;Erstellt;Zuletzt bearbeitet +Contract ID;Vertragsinhaber Kundennummer;Vertragsinhaber Name;Vertragsinhaber Straße;Vertragsinhaber PLZ;Vertragsinhaber Ort;Vertragsinhaber Land;Vertragsinhaber Telefon;Vertragsinhaber Email;Rechnungsempfänger Kundennummer;Rechnungsempfänger Name;Rechnungsempfänger Straße;Rechnungsempfänger PLZ;Rechnungsempfänger Ort;Rechnungsempfänger Land;Rechnungsempfänger Telefon;Rechnungsempfänger Email;SLA;Produktgruppe;Produktname;Individueller Produktname;Matchcode;Menge;Einzelpreis;Gesamtpreis;Preis Setup;Rechungsperiode;Verrechnungsstart Verzögerung;Bestelldatum;Fertigstellungsdatum;Kündigungsdatum;Erstellt;Zuletzt bearbeitet -id?>;owner->customer_number?>;"owner->getCompanyOrName()?>";"owner->street?>";"owner->zip?>";"owner->city?>";"owner->country->isocode?>";billingaddress->customer_number?>;"billingaddress->getCompanyOrName()?>";"billingaddress->street?>";"billingaddress->zip?>";"billingaddress->city?>";"billingaddress->country->isocode?>";"sla->name?>";"product->productgroup->name?>";"product->name?>";"matchcode)?>";amount?>;price?>;price * $contract->amount?>;price_setup?>;billing_period, "billing_period")?>;billing_delay?>;order_date) ? date("Y-m-d", $contract->order_date) : ""?>;finish_date) ? date("Y-m-d", $contract->finish_date) : ""?>;cancel_date) ? date("Y-m-d", $contract->cancel_date) : ""?>;create)?>;edit)?> +id?>;owner->customer_number?>;"owner->getCompanyOrName()?>";"owner->street?>";"owner->zip?>";"owner->city?>";"owner->country->isocode?>";"owner->phone?>";"owner->email?>";billingaddress->customer_number?>;"billingaddress->getCompanyOrName()?>";"billingaddress->street?>";"billingaddress->zip?>";"billingaddress->city?>";"billingaddress->country->isocode?>";"billingaddress->phone?>";"billingaddress->email?>";"sla->name?>";"product->productgroup->name?>";"product->name?>";"product_name?>";"matchcode)?>";amount?>;price?>;price * $contract->amount?>;price_setup?>;billing_period, "billing_period")?>;billing_delay?>;order_date) ? date("Y-m-d", $contract->order_date) : ""?>;finish_date) ? date("Y-m-d", $contract->finish_date) : ""?>;cancel_date) ? date("Y-m-d", $contract->cancel_date) : ""?>;create)?>;edit)?> \ No newline at end of file