{% extends 'base.html.twig' %} {% block title %}Hello LoginController!{% endblock %} {% block body %}
Konto allegro
{% if me is null %} Otwórz link w celu weryfikacji aplikacji {% else %}

Nazwa konta: {{ me.login }}

Odepnij konto

{% endif %}

Podana wycena jest szacunkowa i opiera się na aktualnej konfiguracji cennika Allegro oraz danych wpisanych w tym kalkulatorze. Zasady naliczania opłat oraz ich wysokość opisane są w załączniku nr 4 regulaminu Allegro.

Kalkulator
{{ form_start(form) }} {{ form_errors(form) }}
{% include '_form_partials/price_type.html.twig' with { "form_field_name": form.hurt_price, } %} {% include '_form_partials/percentage_type.html.twig' with { "form_field_name": form.vat_price, } %} {% include '_form_partials/price_type.html.twig' with { "form_field_name": form.sell_price, } %} {{ form_widget(form.category) }}
{% include '_form_partials/empty_label_type.html.twig' with { "form_field_name": form.smart, } %} {% include '_form_partials/percentage_type.html.twig' with { "form_field_name": form.percentage_want, } %}
{% include '_form_partials/price_type.html.twig' with { "form_field_name": form.transport_price, } %} {% include '_form_partials/empty_label_type.html.twig' with { "form_field_name": form.allegro_auction_number, } %}
{% include '_form_partials/empty_label_type.html.twig' with { "form_field_name": form.appearance, } %} {% include '_form_partials/empty_label_type.html.twig' with { "form_field_name": form.campaign, } %}
{{ form_row(form.submit) }}
{{ form_end(form) }}
Wybierz kategorie
{% if commissions is defined %}
Wyliczenie
  • Kwota pozostała po odliczeniu opłat: {{ (earnings - smart_price)|round(2) }} PLN ({{ ((earnings - smart_price) / sell_price * 100)|round(2) }}%)

  • Potencjalny zarobek: {{ (earnings - hurt_price - smart_price)|round(2) }} PLN ({{ ((earnings - hurt_price - smart_price) / sell_price * 100)|round(2)}} %)

  • Aby zarobić {{ percentage_want }}% cena produktu musi wynieść: {{ minimal_price|round(2) }} PLN

  • Cena aukcji: {{ sell_price|round(2) }} PLN

  • Cena zakup netto: {{ hurt_price_form|round(2) }} PLN

  • {% if vat %}
  • Podatek VAT: {{ vat }}%

  • {% endif %}
  • Cena zakupu brutto: {{ hurt_price|round(2) }} PLN

Opłaty transakcyjne
    {% set sum = 0 %} {% for commission in commissions %} {% if commission.type is defined and commission.type == "commissionFee" and transport_price > 0 %} {% set percentageHeadPrvision = commission.fee.amount / sell_price * 100 %}
  • {{ commission.name }}: {{ commission.fee.amount|round(2) }} {{ commission.fee.currency }} ({{ percentageHeadPrvision|round(2) }}%)

  • Prowizja od transportu: {{ (transport_price - (transport_price * (1-(percentageHeadPrvision/100))))|round(2) }} ({{ percentageHeadPrvision|round(2) }}%)

  • {% set sum = sum + commission.fee.amount %} {% set sum = sum + (transport_price - (transport_price * (1-(percentageHeadPrvision/100)))) %} {% else %}
  • {{ commission.name }}: {{ commission.fee.amount|round(2) }} {{ commission.fee.currency }} ({{ (commission.fee.amount / sell_price * 100)|round(2) }}%)

  • {% set sum = sum + commission.fee.amount %} {% endif %} {% endfor %}
  • Opłata SMART {{ smart_price }} PLN

  • {% set sum = sum + smart_price %}
Opłaty cykliczne
    {% for quot in quotes %} {% if isElastic and quot.name == "Opłata za wyróżnienie" %}
  • {{ quot.name }} elastyczne: 2.90 {{ quot.fee.currency }} pobierane co 1 dni

  • {% else %}
  • {{ quot.name }}: {{ quot.fee.amount }} {{ quot.fee.currency }} pobierane co {{ quot.cycleDuration }} dni

  • {% endif %} {% endfor %}
{% else %}

Uzupełnij najpierw dane

{% endif %}
{% endblock %}