first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
twig_component:
defaults:
KupShop\B2BBundle\Twig\Components\: '@B2BBundle/components/'
services:
_defaults:
autowire: true
autoconfigure: true
KupShop\B2BBundle\:
resource: ../../{Twig}

View File

@@ -0,0 +1,3 @@
content:
resource: "@B2BBundle/Controller/"
type: annotation

View File

@@ -0,0 +1,9 @@
services:
KupShop\B2BBundle\:
autowire: true
autoconfigure: true
resource: ../../{EventListeners,Controller,View}
KupShop\B2BBundle\Admin\Tabs\:
resource: ../../Admin/Tabs/*.php
autoconfigure: true

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="cs">
<file id="b2b.cs">
<unit id="jQ2_jZg" name="b2b.registraion.email.answer.title">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:6</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.title</source>
<target>Chcete s námi spolupracovat? To rádi slyšíme.</target>
</segment>
</unit>
<unit id="NcFPg43" name="b2b.registraion.email.answer.text">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:10</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.text</source>
<target>Dobrý den, přijali jsme Vaši žádost o spolupráci.</target>
</segment>
</unit>
<unit id="6KeKGku" name="b2b.registraion.email.answer.message">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:12</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.message</source>
<target>Po ověření fakturačních údajů Vám bude odeslán e-mail na dokončení registrace</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="de">
<file id="b2b.de">
<unit id="jQ2_jZg" name="b2b.registraion.email.answer.title">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:6</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.title</source>
<target></target>
</segment>
</unit>
<unit id="NcFPg43" name="b2b.registraion.email.answer.text">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:10</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.text</source>
<target></target>
</segment>
</unit>
<unit id="6KeKGku" name="b2b.registraion.email.answer.message">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:12</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.message</source>
<target></target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="en">
<file id="b2b.en">
<unit id="jQ2_jZg" name="b2b.registraion.email.answer.title">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:6</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.title</source>
<target>Do you want to work with us? That's what we like to hear.</target>
</segment>
</unit>
<unit id="NcFPg43" name="b2b.registraion.email.answer.text">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:10</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.text</source>
<target>Hello, we have accepted your request for cooperation.</target>
</segment>
</unit>
<unit id="6KeKGku" name="b2b.registraion.email.answer.message">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/emails/b2b-registration_answer.html.twig:12</note>
</notes>
<segment>
<source>b2b.registraion.email.answer.message</source>
<target>Once your billing information has been verified, an email will be sent to you to complete your registration.</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="cs">
<file id="forms.cs">
<unit id="rFg7YWI" name="different.address.delivery">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:54</note>
</notes>
<segment>
<source>different.address.delivery</source>
<target>Dodání na jinou adresu nebo do zaměstnání</target>
</segment>
</unit>
<unit id="aWYgDAd" name="form.policy.agree">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:74</note>
</notes>
<segment>
<source>form.policy.agree</source>
<target><![CDATA[Odesláním formuláře souhlasím se <a href="{ consentUrl }" target="_blank">zpracováním osobních údajů</a> za účelem registrace a beru na vědomí <a href="{ privacyPolicyUrl }" target="_blank">Zásady zpracování osobních údajů</a>]]></target>
</segment>
</unit>
<unit id="kohqA_C" name="form.submit">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:78</note>
</notes>
<segment>
<source>form.submit</source>
<target>Odeslat</target>
</segment>
</unit>
<unit id="JMeHvOj" name="form.title.b2b">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:36</note>
</notes>
<segment>
<source>form.title.b2b</source>
<target>Registrace do B2B</target>
</segment>
</unit>
<unit id="j4B_lYm" name="form.success">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:127</note>
</notes>
<segment>
<source>form.success</source>
<target>Odeslání bylo úspěšně. Odpovíme vám co nejdříve</target>
</segment>
</unit>
<unit id=".Zs7dJ6" name="form.error">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:129</note>
</notes>
<segment>
<source>form.error</source>
<target>Při odeslání došlo k chybě. Zkuste to prosím znovu.</target>
</segment>
</unit>
<unit id="7tBnQvb" name="form.label.name">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:26</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:91</note>
</notes>
<segment>
<source>form.label.name</source>
<target>Jméno</target>
</segment>
</unit>
<unit id="5CIhZwS" name="form.label.surname">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:30</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:95</note>
</notes>
<segment>
<source>form.label.surname</source>
<target>Příjmení</target>
</segment>
</unit>
<unit id="OF6XF6p" name="form.label.email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:34</note>
</notes>
<segment>
<source>form.label.email</source>
<target>E-mail</target>
</segment>
</unit>
<unit id="JVyz3ak" name="form.label.invoice_email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:38</note>
</notes>
<segment>
<source>form.label.invoice_email</source>
<target>E-mail pro fakturaci</target>
</segment>
</unit>
<unit id="_EyN2jB" name="form.label.company">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:42</note>
</notes>
<segment>
<source>form.label.company</source>
<target>Název firmy</target>
</segment>
</unit>
<unit id="WfF5F2." name="form.label.phone">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:46</note>
</notes>
<segment>
<source>form.label.phone</source>
<target>Telefon</target>
</segment>
</unit>
<unit id="_pcUlK3" name="form.label.ico">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:56</note>
</notes>
<segment>
<source>form.label.ico</source>
<target>IČO</target>
</segment>
</unit>
<unit id=".veGhv8" name="form.label.dic">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:60</note>
</notes>
<segment>
<source>form.label.dic</source>
<target>DIČ</target>
</segment>
</unit>
<unit id="arHKQ35" name="form.label.street">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:64</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:99</note>
</notes>
<segment>
<source>form.label.street</source>
<target>Ulice a č.p.</target>
</segment>
</unit>
<unit id="uHJcphH" name="form.label.city">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:68</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:107</note>
</notes>
<segment>
<source>form.label.city</source>
<target>Město</target>
</segment>
</unit>
<unit id="HNN8GHS" name="form.label.psc">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:72</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:111</note>
</notes>
<segment>
<source>form.label.psc</source>
<target>PSČ</target>
</segment>
</unit>
<unit id="FgNmpx1" name="form.label.country">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:76</note>
</notes>
<segment>
<source>form.label.country</source>
<target>Stát</target>
</segment>
</unit>
<unit id="1lwoOoz" name="form.label.additional_address">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:87</note>
</notes>
<segment>
<source>form.label.additional_address</source>
<target>Upřesnění adresy (firma, areál..)</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="de">
<file id="forms.de">
<unit id="rFg7YWI" name="different.address.delivery">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:54</note>
</notes>
<segment>
<source>different.address.delivery</source>
<target>Lieferung an eine andere Adresse oder an Ihren Arbeitsplatz</target>
</segment>
</unit>
<unit id="aWYgDAd" name="form.policy.agree">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:74</note>
</notes>
<segment>
<source>form.policy.agree</source>
<target><![CDATA[Mit dem Absenden des Formulars stimme ich der <a href="{ consentUrl }" target="_blank">Verarbeitung meiner personenbezogenen Daten</a> zu und erkenne die <a href="{ privacyPolicyUrl }" target="_blank">Datenschutzbestimmungen</a> an.]]></target>
</segment>
</unit>
<unit id="kohqA_C" name="form.submit">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:78</note>
</notes>
<segment>
<source>form.submit</source>
<target>Senden</target>
</segment>
</unit>
<unit id="JMeHvOj" name="form.title.b2b">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:36</note>
</notes>
<segment>
<source>form.title.b2b</source>
<target>B2B Registrierung</target>
</segment>
</unit>
<unit id="j4B_lYm" name="form.success">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:127</note>
</notes>
<segment>
<source>form.success</source>
<target>Der Upload war erfolgreich. Wir werden Ihnen so schnell wie möglich antworten</target>
</segment>
</unit>
<unit id=".Zs7dJ6" name="form.error">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:129</note>
</notes>
<segment>
<source>form.error</source>
<target>Beim Senden ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.</target>
</segment>
</unit>
<unit id="7tBnQvb" name="form.label.name">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:26</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:91</note>
</notes>
<segment>
<source>form.label.name</source>
<target>Name</target>
</segment>
</unit>
<unit id="5CIhZwS" name="form.label.surname">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:30</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:95</note>
</notes>
<segment>
<source>form.label.surname</source>
<target>Nachname</target>
</segment>
</unit>
<unit id="OF6XF6p" name="form.label.email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:34</note>
</notes>
<segment>
<source>form.label.email</source>
<target>E-mail</target>
</segment>
</unit>
<unit id="JVyz3ak" name="form.label.invoice_email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:38</note>
</notes>
<segment>
<source>form.label.invoice_email</source>
<target>E-Mail für die Rechnungsstellung</target>
</segment>
</unit>
<unit id="_EyN2jB" name="form.label.company">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:42</note>
</notes>
<segment>
<source>form.label.company</source>
<target>Name des Unternehmens</target>
</segment>
</unit>
<unit id="WfF5F2." name="form.label.phone">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:46</note>
</notes>
<segment>
<source>form.label.phone</source>
<target>Telefon</target>
</segment>
</unit>
<unit id="_pcUlK3" name="form.label.ico">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:56</note>
</notes>
<segment>
<source>form.label.ico</source>
<target>Firmen ID</target>
</segment>
</unit>
<unit id=".veGhv8" name="form.label.dic">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:60</note>
</notes>
<segment>
<source>form.label.dic</source>
<target>USt-IdNr</target>
</segment>
</unit>
<unit id="arHKQ35" name="form.label.street">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:64</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:99</note>
</notes>
<segment>
<source>form.label.street</source>
<target>Straße und Hausnr.</target>
</segment>
</unit>
<unit id="uHJcphH" name="form.label.city">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:68</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:107</note>
</notes>
<segment>
<source>form.label.city</source>
<target>Stadt</target>
</segment>
</unit>
<unit id="HNN8GHS" name="form.label.psc">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:72</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:111</note>
</notes>
<segment>
<source>form.label.psc</source>
<target>Postleitzahl</target>
</segment>
</unit>
<unit id="FgNmpx1" name="form.label.country">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:76</note>
</notes>
<segment>
<source>form.label.country</source>
<target>Land</target>
</segment>
</unit>
<unit id="1lwoOoz" name="form.label.additional_address">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:87</note>
</notes>
<segment>
<source>form.label.additional_address</source>
<target>Angabe der Adresse (Unternehmen, Räumlichkeiten...)</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="en">
<file id="forms.en">
<unit id="rFg7YWI" name="different.address.delivery">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:54</note>
</notes>
<segment>
<source>different.address.delivery</source>
<target>Delivery to another address or work</target>
</segment>
</unit>
<unit id="aWYgDAd" name="form.policy.agree">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:74</note>
</notes>
<segment>
<source>form.policy.agree</source>
<target><![CDATA[By submitting the form, I agree to <a href="{ consentUrl }" target="_blank">the processing of personal data</a> for the purpose of registration and acknowledge the <a href="{ privacyPolicyUrl }" target="_blank">Privacy Policy</a>]]></target>
</segment>
</unit>
<unit id="kohqA_C" name="form.submit">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Resources/views/components/B2BUserRegistrationForm/Form.1.html.twig:78</note>
</notes>
<segment>
<source>form.submit</source>
<target>Submit</target>
</segment>
</unit>
<unit id="JMeHvOj" name="form.title.b2b">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:36</note>
</notes>
<segment>
<source>form.title.b2b</source>
<target>B2B registration</target>
</segment>
</unit>
<unit id="j4B_lYm" name="form.success">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:127</note>
</notes>
<segment>
<source>form.success</source>
<target>Submission of the form was successful. We will reply to you as soon as possible.</target>
</segment>
</unit>
<unit id=".Zs7dJ6" name="form.error">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/Form.php:129</note>
</notes>
<segment>
<source>form.error</source>
<target>There was an error when sending. Please try again.</target>
</segment>
</unit>
<unit id="7tBnQvb" name="form.label.name">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:26</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:91</note>
</notes>
<segment>
<source>form.label.name</source>
<target>Name</target>
</segment>
</unit>
<unit id="5CIhZwS" name="form.label.surname">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:30</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:95</note>
</notes>
<segment>
<source>form.label.surname</source>
<target>Surname</target>
</segment>
</unit>
<unit id="OF6XF6p" name="form.label.email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:34</note>
</notes>
<segment>
<source>form.label.email</source>
<target>E-mail</target>
</segment>
</unit>
<unit id="JVyz3ak" name="form.label.invoice_email">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:38</note>
</notes>
<segment>
<source>form.label.invoice_email</source>
<target>E-mail for billing</target>
</segment>
</unit>
<unit id="_EyN2jB" name="form.label.company">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:42</note>
</notes>
<segment>
<source>form.label.company</source>
<target>Company name</target>
</segment>
</unit>
<unit id="WfF5F2." name="form.label.phone">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:46</note>
</notes>
<segment>
<source>form.label.phone</source>
<target>Phone</target>
</segment>
</unit>
<unit id="_pcUlK3" name="form.label.ico">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:56</note>
</notes>
<segment>
<source>form.label.ico</source>
<target>CIN</target>
</segment>
</unit>
<unit id=".veGhv8" name="form.label.dic">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:60</note>
</notes>
<segment>
<source>form.label.dic</source>
<target>TIN</target>
</segment>
</unit>
<unit id="arHKQ35" name="form.label.street">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:64</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:99</note>
</notes>
<segment>
<source>form.label.street</source>
<target>Street and no.</target>
</segment>
</unit>
<unit id="uHJcphH" name="form.label.city">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:68</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:107</note>
</notes>
<segment>
<source>form.label.city</source>
<target>Cit</target>
</segment>
</unit>
<unit id="HNN8GHS" name="form.label.psc">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:72</note>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:111</note>
</notes>
<segment>
<source>form.label.psc</source>
<target>POSTCODE</target>
</segment>
</unit>
<unit id="FgNmpx1" name="form.label.country">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:76</note>
</notes>
<segment>
<source>form.label.country</source>
<target>Country</target>
</segment>
</unit>
<unit id="1lwoOoz" name="form.label.additional_address">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:87</note>
</notes>
<segment>
<source>form.label.additional_address</source>
<target>Specification of address (company, premises..)</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="cs">
<file id="validators.cs">
<unit id="7PcB_I9" name="form.label.phone.invalid">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:51</note>
</notes>
<segment>
<source>form.label.phone.invalid</source>
<target>Zadejte platné telefonní číslo.</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="de">
<file id="validators.de">
<unit id="7PcB_I9" name="form.label.phone.invalid">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:51</note>
</notes>
<segment>
<source>form.label.phone.invalid</source>
<target>Geben Sie eine gültige Rufnummer ein.</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en" trgLang="en">
<file id="validators.en">
<unit id="7PcB_I9" name="form.label.phone.invalid">
<notes>
<note category="file-source" priority="1">engine/bundles/KupShop/B2BBundle/Twig/Components/B2BUserRegistration/FormType.php:51</note>
</notes>
<segment>
<source>form.label.phone.invalid</source>
<target>Enter a valid telephone number.</target>
</segment>
</unit>
</file>
</xliff>

View File

@@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace KupShop\ArticlesBundle\Resources\upgrade;
class B2BUpgrade extends \UpgradeNew
{
}

View File

@@ -0,0 +1,82 @@
{% trans_default_domain 'forms' %}
<div {{ attributes }}>
<h4 class="title">{{ 'form.title.b2b'|trans }}</h4>
{{ form_start(form, {
attr: {
'data-action': 'live#action',
'data-live-action-param': 'handleForm',
'data-recaptcha-lazy': '',
},
}) }}
<div class="form-group required">
{{ form_row(form.name, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.surname, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.email, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_row(form.invoice_email, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.company, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.phone, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.ico, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.dic, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.street, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.city, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group country required">
{{ form_row(form.psc, {attr: {class: 'form-control'}}) }}
{{ form_row(form.country, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_row(form.additional_address, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group checkbox{% if this.showAdditionalAddress %} active{% endif %}">
<a data-action="live#action" data-live-action-param="toggleAdditionalAddress" role="button">
{{ form_row(form.additional_address_delivery, {attr: {class: 'form-control'}, checked: this.showAdditionalAddress ? 'checked' : null }) }}
<twig:ux:icon name="check" class="c-icon"/>
</a>
<p>{{ 'different.address.delivery'|trans }}</p>
</div>
{% if this.showAdditionalAddress %}
<div class="form-group required">
{{ form_row(form.iname, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.isurname, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.istreet, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.icity, {attr: {class: 'form-control'}}) }}
</div>
<div class="form-group required">
{{ form_row(form.ipsc, {attr: {class: 'form-control'}}) }}
</div>
{% endif %}
<p class="privacy-policy">
{{ 'form.policy.agree'|trans({'%consentUrl%': this.consentUrl, '%privacyPolicyUrl%': this.privacyPolicyUrl})|raw }}
</p>
<div class="submit-wrapper">
<button class="btn" type="submit">
{{ 'form.submit'|trans }}
</button>
</div>
{{ form_end(form, {render_rest: false}) }}
</div>

View File

@@ -0,0 +1,183 @@
@use "sass:map";
@use "@twig/scss/_global" as global;
@use "@twig/scss/variables/_variables-components" as components;
$params: (
"max-width": 734px,
"margin": 0,
"form-items-per-row": 2,
"form-gap": 10px,
"form-label-color": global.$text-dark,
"btn-more-margin": 13px 0,
"btn-more-gap": 15px,
"btn-more-indicator-size": 26px,
"btn-more-indicator-border": 1px solid global.$border-color,
"btn-more-indicator-icon-size": 18px,
"btn-more-indicator-icon-color": global.$white,
"btn-more-indicator-text-size": global.$font-size-larger,
"btn-more-indicator-text-weight": global.$font-weight-bold,
"btn-more-indicator-text-color": global.$text-dark,
"title-margin": 0 0 15px 0,
"title-font-size": inherit,
"title-text-align": left,
"privacy-policy-max-width": 100%,
"privacy-policy-margin": 0 0 8px 0,
"privacy-policy-link-color": global.$text-dark,
"privacy-policy-color": inherit,
"privacy-policy-text-align": inherit,
"btn-send-margin": 0 0 18px 0,
"btn-send-max-width": 360px,
"btn-send-style": "btn-primary",
"btn-send-text-align": left,
);
@if global-variable-exists(c-b2b-user-registration-form, components) {
$keys: map.keys(components.$c-b2b-user-registration-form);
@each $name in $keys {
@if not map.get($params, $name) {
@warn "Neexistující proměnná '#{$name}' v komponentě '$#{component("B2BUserRegistration:Form", "class")}'.";
}
}
$params: map.merge($params, components.$c-b2b-user-registration-form);
}
.#{component("B2BUserRegistration:Form", "class")} {
max-width: map.get($params, "max-width");
margin: map.get($params, "margin");
.title {
font-size: map.get($params, "title-font-size");
margin: map.get($params, "title-margin");
text-align: map.get($params, "title-text-align");
}
form {
container-type: inline-size;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: map.get($params, "form-gap");
> div {
flex-basis: 100%;
max-width: 100%;
}
label {
color: map.get($params, "form-label-color");
}
.form-group {
margin-bottom: 0;
}
.country {
display: flex;
gap: map.get($params, "form-gap");
> div {
flex: 1;
&:first-child {
flex-basis: calc(33% - (#{map.get($params, "form-gap")} / 2));
max-width: calc(33% - (#{map.get($params, "form-gap")} / 2));
}
}
}
.privacy-policy {
max-width: map.get($params, "privacy-policy-max-width");
margin: map.get($params, "privacy-policy-margin");
color: map.get($params, "privacy-policy-color");
text-align: map.get($params, "privacy-policy-text-align");
a {
display: inline-block;
color: map.get($params, "privacy-policy-link-color");
}
}
.submit-wrapper {
width: 100%;
margin: map.get($params, "btn-send-margin");
text-align: map.get($params, "btn-send-text-align");
}
button {
@include global.set-btn-style(map.get($params, "btn-send-style"));
max-width: map.get($params, "btn-send-max-width");
width: 100%;
flex-basis: 100%;
}
.checkbox {
display: flex;
gap: map.get($params, "btn-more-gap");
margin: map.get($params, "btn-more-margin");
width: 100%;
> a {
position: relative;
cursor: pointer;
> div {
height: map.get($params, "btn-more-indicator-size");
}
}
input {
position: relative;
appearance: none;
display: inline-block;
min-width: unset;
min-height: unset;
border: map.get($params, "btn-more-indicator-border");
border-radius: global.$border-radius-base;
width: map.get($params, "btn-more-indicator-size");
height: map.get($params, "btn-more-indicator-size");
padding: 0;
cursor: pointer;
}
.c-icon {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-size: map.get($params, "btn-more-indicator-icon-size");
color: map.get($params, "btn-more-indicator-icon-color");
display: none;
}
p {
margin-bottom: 0;
font-size: map.get($params, "btn-more-indicator-text-size");
font-weight: map.get($params, "btn-more-indicator-text-weight");
color: map.get($params, "btn-more-indicator-text-color");
}
&.active {
input:checked {
background-color: global.$state-success;
}
.c-icon {
display: block;
}
}
}
@container (inline-size > 500px) {
@include global.container-query-selector("> div:not(.submit-wrapper):not(.checkbox)") {
@include global.item-size(map.get($params, "form-items-per-row"), map.get($params, "form-gap"));
}
}
}
}

View File

@@ -0,0 +1,40 @@
{% extends '@Components/emails/base_admin.html.twig' %}
{% block email_content %}
<h4>Byla přijata nová žádost o velkoobchodní spolupráci.</h4>
<p><strong>Jméno:</strong> {DATA_NAME}</p>
<p><strong>Příjmení:</strong> {DATA_SURNAME}</p>
<p><strong>E-mail:</strong> {DATA_EMAIL}</p>
{% if form.DATA_INVOICE_EMAIL %}
<p><strong>E-mail pro fakturaci:</strong> {DATA_INVOICE_EMAIL}</p>
{% endif %}
<p><strong>Název firmy:</strong> {DATA_COMPANY}</p>
<p><strong>IČO:</strong> {DATA_ICO}</p>
<p><strong>DIČ:</strong> {DATA_DIC}</p>
<p><strong>Ulice a č.p.:</strong> {DATA_STREET}</p>
<p><strong>Město:</strong> {DATA_CITY}</p>
<p><strong>PSČ:</strong> {DATA_PSC}</p>
<p><strong>Stát:</strong> {DATA_COUNTRY}</p>
{% if form.DATA_ADDITIONAL_ADDRESS %}
<p><strong>Upřesnění adresy:</strong> {DATA_ADDITIONAL_ADDRESS}</p>
{% endif %}
<hr>
{% if form.DATA_INAME %}
<p><strong>Dodání na jinou adresu nebo do zaměstnání</strong></p>
{% endif %}
{% if form.DATA_INAME %}
<p><strong>Jméno:</strong> {DATA_INAME}</p>
{% endif %}
{% if form.DATA_ISURNAME %}
<p><strong>Příjmení:</strong> {DATA_ISURNAME}</p>
{% endif %}
{% if form.DATA_ISTREET %}
<p><strong>Ulice a č.p.:</strong> {DATA_ISTREET}</p>
{% endif %}
{% if form.DATA_ICITY %}
<p><strong>Město:</strong> {DATA_ICITY}</p>
{% endif %}
{% if form.DATA_IPSC %}
<p><strong>PSČ:</strong> {DATA_IPSC}</p>
{% endif %}
{% endblock %}

View File

@@ -0,0 +1,11 @@
{% trans_default_domain 'b2b' %}
{% extends '@Components/emails/base.html.twig' %}
{% block email_hello %}
<h3>{{ 'b2b.registraion.email.answer.title'|trans }}</h3>
{% endblock %}
{% block email_content %}
<p>{{ 'b2b.registraion.email.answer.text'|trans }}</p>
<p>{{ 'b2b.registraion.email.answer.message'|trans }}</p>
{% endblock %}