|
|
using System.Diagnostics;
|
|
|
using System.Text;
|
|
|
using Gremlin_BlazorServer.Data.EntityClasses;
|
|
|
using static System.String;
|
|
|
using static Gremlin_BlazorServer.Data.EntityClasses.Enums;
|
|
|
|
|
|
namespace Gremlin_BlazorServer.Services;
|
|
|
|
|
|
public static class TexService {
|
|
|
public static async Task<StringBuilder?> CreateTex(Quote quote) {
|
|
|
StringBuilder? texStringBuilder = await CreateTexFile(quote);
|
|
|
if (texStringBuilder is null) return null;
|
|
|
string correctedTex = await Task.Run(() => Replace(texStringBuilder.ToString()));
|
|
|
return new(correctedTex);
|
|
|
}
|
|
|
|
|
|
private static StringBuilder? CreateBriefkopf(Contact recipient, bool tex = false) {
|
|
|
if (recipient.Account.AccountName is null) return null;
|
|
|
|
|
|
StringBuilder briefkopf = new();
|
|
|
|
|
|
if (recipient.Gender == (byte)Gender.Male) briefkopf.AppendLine($"Herr {recipient.FirstName} {recipient.LastName}");
|
|
|
else briefkopf.AppendLine($"Frau {recipient.FirstName} {recipient.LastName}");
|
|
|
|
|
|
if (tex) briefkopf.AppendLine("\\\\");
|
|
|
|
|
|
//AccountNamen mit "&" im Namen abfangen
|
|
|
string accountName = recipient.Account.AccountName.Replace("&", "\\&");
|
|
|
|
|
|
briefkopf.AppendLine($"{accountName}");
|
|
|
if (tex) briefkopf.AppendLine("\\\\");
|
|
|
|
|
|
briefkopf.AppendLine($"{recipient.Account.Street}");
|
|
|
if (tex) briefkopf.AppendLine("\\\\");
|
|
|
|
|
|
briefkopf.AppendLine($"{recipient.Account.Zip} {recipient.Account.City}");
|
|
|
if (tex) briefkopf.AppendLine("\\\\");
|
|
|
|
|
|
return briefkopf;
|
|
|
}
|
|
|
|
|
|
private static async Task<StringBuilder?> CreateTexFile(Quote quote) {
|
|
|
if (quote.LineItems is null) return null;
|
|
|
const string rand = "2"; //RUSettingModel.GetSettingValue(Properties.Settings.Default.userSettingID, "texRand");
|
|
|
|
|
|
StringBuilder texFile = new("\\documentclass[a4paper,ngerman,parskip,10pt]{scrlttr2}\n" + "\\usepackage{lmodern}\n" + "\\usepackage[T1]{fontenc}\n" + "\\usepackage[utf8]{inputenc}\n" + "\\usepackage{babel}\n" + "\\usepackage[hidelinks]{hyperref}\n");
|
|
|
|
|
|
texFile.AppendLine($"\\usepackage[left={rand}cm, right={rand}cm, top={rand}cm, bottom={rand}cm]{{geometry}}\n");
|
|
|
texFile.AppendLine("\\usepackage[table]{xcolor}\n" + "\\usepackage[right]{{eurosym}}\n" + "\\usepackage[locale=DE]{{siunitx}}\n" + "\\usepackage{{scrlayer-scrpage}}\n" + "\\usepackage{{lastpage}}\n" + "\\usepackage{{graphicx}}\n" + "\\usepackage{{multirow}}\n" + "\\usepackage{{longtable}}\n" + "\\usepackage{{enumitem}}\n" + "\\usepackage{{fp, xstring, spreadtab, numprint}}\n" + "\\DeclareSIUnit{{\\sieuro}}{{\\mbox{{\\euro}}}}");
|
|
|
|
|
|
texFile.AppendLine($"\\rohead{{{quote.QuotationNumber}}}");
|
|
|
texFile.AppendLine("\\cfoot{Seite \\thepage/\\pageref{LastPage}}\n" + "\\sisetup{round-integer-to-decimal,round-precision=2,round-mode=places}" + "\n\\newcommand{\\produkttitel}[1]{\\textsc{#1}}" + "\n\\renewcommand{\\arraystretch}{1.2}\n\\definecolor{AgilentBlau}{HTML}{0085d5}" + "\n\\setlist{noitemsep}\n\\begin{document}" + "\n\\begin{tabular}{p{0.4\\hsize}p{0.5\\hsize}}" + "\n\\multirow{4}{*}{\\includegraphics[width=0.9\\hsize]{agilentLogo.png}}" + "\n&\\normalsize{Agilent Technologies Deutschland GmbH}\\\\" + "\n&\\normalsize{Life Sciences \\& Chemical Analysis}\\\\" + "\n&\\normalsize{Hewlett-Packard-Str. 8}\\\\" + "\n&\\normalsize{D-76337 Waldbronn}" + "\n\\end{tabular}" + "\n\\par\n\\begin{flushright}");
|
|
|
|
|
|
texFile.AppendLine(quote.IsPriceInformation ? "\n\\colorbox{AgilentBlau}{\\textcolor{white}{\\textsc{\\Huge{Preisinformation}}}}\n\\end{flushright}\n\\begin{tabular}{p{0.4\\hsize}p{0.6\\hsize}}" : "\n\\colorbox{AgilentBlau}{\\textcolor{white}{\\textsc{\\Huge{Angebot}}}}\n\\end{flushright}\n\\begin{tabular}{p{0.4\\hsize}p{0.6\\hsize}}");
|
|
|
|
|
|
texFile.AppendLine("\n &\n\\multirow{4}{*}{" + "\n\\begin{tabular}{|ll|}" + "\n\\hline");
|
|
|
|
|
|
texFile.AppendLine($"\\textbf{{Angebotsnummer:}}&{quote.QuotationNumber}\\\\");
|
|
|
texFile.Append($"Angebotdatum:&\\today\\\\\nAngebotsgültigkeit:&{quote.ValidFor} Tage\\\\");
|
|
|
|
|
|
SalesRep? salesRep = GenericController.Get<SalesRep>(sR => sR.SalesRepId.Equals(quote.SalesRepId));
|
|
|
if (salesRep is not null) {
|
|
|
texFile.AppendLine($"\\textbf{{Ansprechpartner:}}&{salesRep.FirstName} {salesRep.LastName}\\\\");
|
|
|
texFile.AppendLine($"Telefon: &{salesRep.PhoneNumber}\\\\");
|
|
|
texFile.AppendLine($"Mobil:&{salesRep.MobileNumber}\\\\");
|
|
|
texFile.AppendLine($"E-Mail:&\\href{{mailto:{salesRep.EMail}}}{{{salesRep.EMail}}}\\\\");
|
|
|
}
|
|
|
else {
|
|
|
Debug.WriteLine("No SalesRep in Quote!");
|
|
|
}
|
|
|
|
|
|
texFile.AppendLine("\\textbf{Auftragsannahme:}&\\href{mailto:salesservices\\_germany@agilent.com}{salesservices\\_germany@agilent.com}\\\\\n\\hline\n\\end{tabular}\n}\\\\");
|
|
|
|
|
|
Contact? recipient = GenericController.Get<Contact>(c => c.ContactId.Equals(quote.RecipientId));
|
|
|
if (recipient is not null) {
|
|
|
texFile.Append(CreateBriefkopf(recipient, true));
|
|
|
texFile.AppendLine("&\\\\\n&\\\\\n\\end{tabular}\n\\vspace{1cm}\\par ");
|
|
|
//Anrede
|
|
|
if (recipient.Gender is (byte)Gender.Male) texFile.AppendLine($"Sehr geehrter Herr {recipient.LastName},\\par ");
|
|
|
else texFile.AppendLine($"Sehr geehrte Frau {recipient.LastName},\\par ");
|
|
|
}
|
|
|
else {
|
|
|
Debug.WriteLine("No Recipient in Quote!");
|
|
|
}
|
|
|
|
|
|
//Anschreiben
|
|
|
texFile.AppendLine(await CreateCoverletter(quote));
|
|
|
|
|
|
//RB-Disclaimer
|
|
|
if (quote.QuoteContainsRb) texFile.AppendLine(CreateRbDisclaimer(quote));
|
|
|
|
|
|
//Tabelle
|
|
|
texFile.AppendLine("\\begin{center}");
|
|
|
texFile.AppendLine("\\begin{longtable}");
|
|
|
|
|
|
if (quote.ShowSinglePrices) {
|
|
|
switch (quote.ShowDiscounts) {
|
|
|
case false:
|
|
|
//mit Einzelpreisen
|
|
|
texFile.AppendLine("{| cp{0.71\\textwidth} cr |} \\hline");
|
|
|
texFile.AppendLine(@"\textbf{\#} & \textbf{Produktbeschreibung} (Produktnummer) & \textbf{Menge} & \textbf{Preis}\\ \hline \endhead");
|
|
|
break;
|
|
|
case true:
|
|
|
//mit Einzelpreisen und Discounts
|
|
|
texFile.AppendLine("{| cp{0.595\\textwidth} crr |} \\hline");
|
|
|
texFile.AppendLine(@"\textbf{\#} & \textbf{Produktbeschreibung} (Produktnummer) & \textbf{Menge} & \textbf{Discount} & \textbf{Preis}\\ \hline \endhead");
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
//ohne Einzelpreise
|
|
|
texFile.AppendLine("{| cp{0.83\\textwidth} c |} \\hline");
|
|
|
texFile.AppendLine(@"\textbf{\#} & \textbf{Produktbeschreibung} (Produktnummer) & \textbf{Menge}\\ \hline \endhead");
|
|
|
}
|
|
|
|
|
|
|
|
|
//Preload all CustomDescriptions
|
|
|
IList<CustomDescription> customDescriptions = await GenericController.GetAllAsync<CustomDescription>() ?? new List<CustomDescription>();
|
|
|
|
|
|
foreach (LineItem lineItem in quote.LineItems) {
|
|
|
string lineItemTex = Empty;
|
|
|
|
|
|
CustomDescription customDescription = customDescriptions.FirstOrDefault(cD => cD.CustomDescriptionId.Equals(lineItem.CustomDescriptionId)) ?? new();
|
|
|
customDescription.Heading ??= lineItem.SapShortDescription;
|
|
|
customDescription.CoverletterText ??= lineItem.SapShortDescription;
|
|
|
customDescription.DescriptionText ??= lineItem.SapLongDescription;
|
|
|
|
|
|
switch (quote.ShowSinglePrices) {
|
|
|
case true when !quote.ShowDiscounts:
|
|
|
//mit Einzelpreisen
|
|
|
lineItemTex = lineItem.OptionNumber != "" ? $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber}\\#{lineItem.OptionNumber})\\newline {customDescription.DescriptionText}&{lineItem.Amount}&\\SI{{{lineItem.Total}}}{{\\sieuro}}\\\\" : $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber})\\newline {customDescription.DescriptionText}&{lineItem.Amount}&\\SI{{{lineItem.Total}}}{{\\sieuro}}\\\\";
|
|
|
break;
|
|
|
case true: {
|
|
|
if (quote.ShowDiscounts)
|
|
|
//mit Einzelpreisen und Discounts
|
|
|
lineItemTex = lineItem.OptionNumber != "" ? $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber}\\#{lineItem.OptionNumber})\\newline {customDescription.DescriptionText}\\newline Listenpreis: \\SI{{{lineItem.ListPrice}}}{{\\sieuro}}&{lineItem.Amount}&\\SI{{{lineItem.TotalDiscount}}}{{\\%}}&\\SI{{{lineItem.Total}}}{{\\sieuro}}\\\\" : $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber})\\newline {customDescription.DescriptionText}\\newline Listenpreis: \\SI{{{lineItem.ListPrice}}}{{\\sieuro}}&{lineItem.Amount}&\\SI{{{lineItem.TotalDiscount}}}{{\\%}}&\\SI{{{lineItem.Total}}}{{\\sieuro}}\\\\";
|
|
|
|
|
|
break;
|
|
|
}
|
|
|
case false:
|
|
|
//ohne Einzelpreise
|
|
|
lineItemTex = lineItem.OptionNumber != "" ? $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber}\\#{lineItem.OptionNumber})\\newline {customDescription.DescriptionText}&{lineItem.Amount}\\\\" : $"{lineItem.Position} &\\textbf{{{customDescription.Heading}}} ({lineItem.ProductNumber})\\newline {customDescription.DescriptionText}&{lineItem.Amount}\\\\";
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
texFile.Append(lineItemTex + "\n");
|
|
|
}
|
|
|
|
|
|
texFile.AppendLine("\\hline\n" + "\\end{longtable}\n" + "\\end{center}\n");
|
|
|
|
|
|
texFile.AppendLine("\\vspace{-2cm}\n" + "\\begin{flushright}\n\n" + "\\begin{tabular}{|rr|}\n" + "\\hline");
|
|
|
|
|
|
//Summe netto
|
|
|
texFile.AppendLine($"\\textbf{{Summe netto}} & \\SI{{{quote.TotalNet}}}{{\\sieuro}}\\\\");
|
|
|
|
|
|
//Frachtkosten
|
|
|
texFile.AppendLine($"\\textbf{{Versand und Bereitstellungskosten ({quote.Freight}\\%)}} & \\SI{{{quote.TotalFreightOnly}}}{{\\sieuro}}\\\\");
|
|
|
|
|
|
//Gesamtsumme netto
|
|
|
texFile.AppendLine($"\\textbf{{Gesamtsumme netto}} & \\SI{{{quote.TotalFreight}}}{{\\sieuro}}\\\\");
|
|
|
|
|
|
//mit Mehrwertsteuer
|
|
|
if (quote.ShowBrutto) {
|
|
|
texFile.AppendLine($"\\textbf{{Umsatzsteuer ({quote.Vat}\\%)}} & \\SI{{{quote.TotalVat}}}{{\\sieuro}}\\\\");
|
|
|
texFile.AppendLine($"\\textbf{{Gesamtsumme brutto}} & \\SI{{{quote.TotalGross}}}{{\\sieuro}}\\\\");
|
|
|
}
|
|
|
|
|
|
texFile.Append("\\hline\n\\end{tabular}\n\n\\end{flushright}\n\nDer Betrag versteht sich zzgl. der gesetzlichen Steuern.\\\\\nDiese werden im Rechnungszeitraum auf der Rechnung gesondert ausgewiesen.\\\\\nZahlungsbedingungen: 30 Tage netto ab Rechnungsdatum.\\\\\nIncoterm (2010) für Lieferungen innerhalb Deutschlands: DDP.\n\\begin{small}\n\n");
|
|
|
texFile.AppendLine($"\\textbf{{Gewährleistung:}}\\\\\nDie Gewährleistung für Zubehör und Ersatzteilprodukte und für Analytik-Hardwareprodukte beträgt {quote.Warranty} Monate.\n");
|
|
|
|
|
|
//3PP-Disclaimer
|
|
|
if (quote.QuoteContains3Pp)
|
|
|
texFile.AppendLine(Create3PpDisclaimer(quote));
|
|
|
|
|
|
texFile.AppendLine("\\textbf{Hinweis:}\\\\ \n" + "Für den Verkauf der in diesem Angebot aufgeführten Standard-Produkte und -Services gelten die aktuellen \\emph{Agilent Geschäftsbedingungen} und alle sonstigen anwendbaren Zusatzbedingungen sowie zusätzliche Bedingungen, soweit darauf hier Bezug genommen wird. Soweit Produkte oder Services nach speziellen Kundenanforderungen hergestellt, konfiguriert oder angepasst werden, gelten für den Verkauf aller in diesem Angebot aufgeführten Produkte und Services die aktuellen \\emph{Agilent Geschäftsbedingungen für kundenspezifische Produkte} und alle sonstigen anwendbaren Zusatzbedingungen sowie zusätzliche Bedingungen, soweit darauf hier Bezug genommen wird. Eine Kopie der maßgeblichen Bedingungen ist entweder beigefügt oder wurde Ihnen bereits zur Verfügung gestellt. Sollten Sie keine Kopie erhalten haben oder eine weitere Kopie benötigen, setzen Sie sich bitte mit uns in Verbindung. Soweit Sie mit Agilent eine gesonderte Vereinbarung getroffen haben, die den Verkauf der in diesem Angebot aufgeführten Produkte und Services umfasst, sind die Bestimmungen dieser Vereinbarung anwendbar. Abweichende oder ergänzende Vereinbarungen, insbesondere widersprechende Geschäftsbedingungen, sind nur gültig, wenn sie ausdrücklich schriftlich vereinbart worden sind. Die angegebenen Daten zur Verfügbarkeit von Produkten und Services sind vorläufig. Die tatsächlichen Lieferzeiten bzw. Lieferperioden werden Ihnen bei Auftragsbestätigung mitgeteilt. Waren, Technologien oder Software, die aus den Vereinigten Staaten von Amerika (\\emph{USA}) oder anderen exportierenden Ländern ausgeführt werden, unterliegen den Ausfuhrbestimmungen der USA sowie anderer Rechtsordnungen. Bei Ausfuhr ist der Kunde dafür verantwortlich, dass die anwendbaren Ausfuhrbestimmungen eingehalten werden.\n" + "\\end{small}\n \n" + "\\begin{scriptsize}\n" + "Agilent Technologies Deutschland GmbH, Hewlett-Packard-Str. 8, D-76337 Waldbronn\\\\\nTelefon +49 (0)7243-602-0\\\\\nUSt.-IdNr.: DE812729296, WEEE-Reg.-Nr. DE 86631749\\\\\nSitz der Gesellschaft: Waldbronn – Amtsgericht Mannheim, HRB 723782\\\\\nGeschäftsführer: Dr. Andreas Kistner (Vorsitzender der Geschäftsführung), Armin Jehle, Norbert Sabatzki, Dr. Knut Wintergerst\\\\\n" + "\\href{www.agilent.com}{www.agilent.com}\n\\end{scriptsize}\n\\end{document}");
|
|
|
|
|
|
return texFile;
|
|
|
}
|
|
|
|
|
|
private static string CreateRbDisclaimer(Quote quote) {
|
|
|
if (quote.LineItems == null)
|
|
|
return Empty;
|
|
|
|
|
|
string rbDisclaimer = "\\textbf{Wichtiger Hinweis zur Bestellung von überholten Geräten}\\\\\n";
|
|
|
rbDisclaimer += "Bitte beachten Sie, dass in der Regel nur wenige gebrauchte Geräte auf Lager sind und diese ohne die Möglichkeit einer Reservierung auf „first come, first serve“-Basis verkauft werden. Um lange Lieferzeiten zu vermeiden, sollte daher bei konkretem Interesse zunächst der Lagerstand überprüft werden. Die aktuellen Lagerbestände sind:\n";
|
|
|
|
|
|
// List<LineItem> lineItemsWithRb = quote.LineItems.Where(lI => lI.ProductLine == "RB").ToList();
|
|
|
// rbDisclaimer += "\\begin{center}\n\\begin{tabular}{clc}\n";
|
|
|
// rbDisclaimer += "\\textbf{Modul} & \\textbf{Beschreibung} &\\textbf{Bestand}\\\\ \\hline \n";
|
|
|
|
|
|
// foreach (LineItem lineItemWithRb in lineItemsWithRb)
|
|
|
// {
|
|
|
// CustomDescription customDescription = GetCoverletterRow(lineItemWithRb);
|
|
|
// const int rbcount = 4; //TODO Get count of RB?
|
|
|
// rbDisclaimer += $"{lineItemWithRb.ProductNumber} & {customDescription.Heading} & {rbcount}\\\\ \n";
|
|
|
// }
|
|
|
|
|
|
// rbDisclaimer += "\\end{tabular}\n\\end{center}\n";
|
|
|
|
|
|
return rbDisclaimer;
|
|
|
}
|
|
|
|
|
|
private static string Create3PpDisclaimer(Quote quote) {
|
|
|
|
|
|
string dreipp = "\\textbf{Hinweis zu Non-Agilent-Produkten}\\\\ \n" + "Bitte beachten Sie, dass das/die o.g. Produkt/e ";
|
|
|
|
|
|
//List all 3PP product numbers
|
|
|
List<LineItem> lineItemsWith3Pp = quote.LineItems.Where(lI => lI.ProductLine == "3PP").ToList();
|
|
|
|
|
|
for (int i = 0; i < lineItemsWith3Pp.Count; i++)
|
|
|
if (i < lineItemsWith3Pp.Count - 1)
|
|
|
dreipp += $"{lineItemsWith3Pp[i].ProductNumber}, ";
|
|
|
else
|
|
|
dreipp += $"{lineItemsWith3Pp[i].ProductNumber}";
|
|
|
|
|
|
//Get all 3PP Supplier
|
|
|
//List<Supllier> supllier3PP = lineItemWith3PP.ProductLine.Supplier;
|
|
|
dreipp += " nicht von Agilent Technologies hergestellt wird/werden. Agilent Technologies lehnt daher jede Art der Haftung für Leistung, Qualität, Zuverlässigkeitund Lieferung für dieses/r Produkt/e ab.\\\\\n" + "Die Standardgewährleistung, einschließlich Schadensersatz für die Rechtsverletzung von intellektuellem Eigentum, liegt beim Hersteller bzw. Lieferanten des/r Produkt/e, solange nichts anders im Angebot von Agilent Technologies spezifiziert wird.\n";
|
|
|
|
|
|
//dreipp += "\\textbf{Hersteller:}";
|
|
|
//supllier3PP
|
|
|
|
|
|
return dreipp;
|
|
|
}
|
|
|
|
|
|
private static string GetCoverletterRow(LineItem lineItem) {
|
|
|
CustomDescription customDescription = GenericController.Get<CustomDescription>(cD => cD.CustomDescriptionId.Equals(lineItem.CustomDescriptionId)) ?? new();
|
|
|
customDescription.Heading ??= lineItem.SapShortDescription;
|
|
|
customDescription.CoverletterText ??= lineItem.SapShortDescription;
|
|
|
customDescription.DescriptionText ??= lineItem.SapLongDescription;
|
|
|
return customDescription.CoverletterText is "" or null ? $"\\item {customDescription.Heading} (\\#{lineItem.Position})\n" : $"\\item {customDescription.CoverletterText} (\\#{lineItem.Position})\n";
|
|
|
}
|
|
|
|
|
|
private static Task<string> CreateCoverletter(Quote quote) {
|
|
|
bool subitem = false;
|
|
|
string coverLetter = $"nachfolgend erhalten Sie Ihr gewünschtes Angebot über ein(e) {quote.Description}.\\\\\n" + "Es umfasst im Einzelnen:\n" + "\\begin{itemize}\n";
|
|
|
|
|
|
foreach (LineItem lineItem in quote.LineItems) {
|
|
|
if (lineItem.OptionNumber is "") {
|
|
|
//Hauptitem
|
|
|
if (subitem) {
|
|
|
//vorheriges Subitem schließen
|
|
|
coverLetter += "\\end{itemize}\n";
|
|
|
subitem = false;
|
|
|
}
|
|
|
}
|
|
|
else {
|
|
|
if (!subitem) {
|
|
|
//neues Subitem
|
|
|
subitem = true;
|
|
|
coverLetter += "\\begin{itemize}\n";
|
|
|
}
|
|
|
}
|
|
|
|
|
|
coverLetter += GetCoverletterRow(lineItem);
|
|
|
}
|
|
|
|
|
|
if (subitem)
|
|
|
//wenn das letzte Item ein Subitem war
|
|
|
coverLetter += "\\end{itemize}\n";
|
|
|
|
|
|
coverLetter += "\\end{itemize}\n" + "Für Rückfragen und Änderungswünsche stehe ich Ihnen gerne zur Verfügung.\\par\n" + "Mit freundlichen Grüßen\\\\\n" + "\\includegraphics[width = 5cm]{signWoitschetzki.png}\n" + "\\vspace{1cm} \\\\ \n";
|
|
|
|
|
|
return Task.FromResult(coverLetter);
|
|
|
}
|
|
|
|
|
|
private static string Replace(string text) {
|
|
|
if (text == "")
|
|
|
return text;
|
|
|
|
|
|
//text = text.Contains(" & ") ? text.Replace(" & ", " \\& ") : text;
|
|
|
text = text.Contains("<Shift-Enter>") ? text.Replace("<Shift-Enter>", "\\newline ") : text;
|
|
|
return text;
|
|
|
}
|
|
|
} |