<commit_before>{% extends 'layout' %}
{% block title %}Płatność{{ parent() }}{% endblock %}

{% block breadcrumb %}{% endblock %}

{% block container %}
    <div class="loading text-center margin-lg">
        <i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
        <span class="sr-only">Loading...</span>
    </div>

    {% block wrapper %}
        {{ form_open({id: 'payment-form', url: config('services.p24.payment_url')}) }}
        {{ form_hidden('p24_merchant_id', config('services.p24.client_id')) }}
        {{ form_hidden('p24_pos_id', config('services.p24.client_id')) }}
        {{ form_hidden('p24_session_id', payment.session_id) }}
        {{ form_hidden('p24_amount', (payment.invoice.gross_price * 100)|round) }}
        {{ form_hidden('p24_currency', 'PLN') }}
        {{ form_hidden('p24_country', 'PL') }}
        {{ form_hidden('p24_description', '') }}
        {{ form_hidden('p24_email', payment.job.user.email) }}
        {{ form_hidden('p24_method', input_get('transfer_method')) }}
        {{ form_hidden('p24_url_return', route('job.payment.success', [payment])) }}
        {{ form_hidden('p24_url_status', route('job.payment.status')) }}
        {{ form_hidden('p24_api_version', '3.2') }}
        {{ form_hidden('p24_sign', payment.sign()) }}
        {{ form_close() }}
    {% endblock %}
{% endblock %}

{% block body %}
    {# nie usuwac odwolania do vue #}
    <script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js"></script>

    {{ parent() }}

    <script>
        $(function() {
            $('#payment-form').submit();
        });
    </script>
{% endblock %}
<commit_msg>ID oferty pracy w opisie<commit_after>{% extends 'layout' %}
{% block title %}Płatność{{ parent() }}{% endblock %}

{% block breadcrumb %}{% endblock %}

{% block container %}
    <div class="loading text-center margin-lg">
        <i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i>
        <span class="sr-only">Loading...</span>
    </div>

    {% block wrapper %}
        {{ form_open({id: 'payment-form', url: config('services.p24.payment_url')}) }}
        {{ form_hidden('p24_merchant_id', config('services.p24.client_id')) }}
        {{ form_hidden('p24_pos_id', config('services.p24.client_id')) }}
        {{ form_hidden('p24_session_id', payment.session_id) }}
        {{ form_hidden('p24_amount', (payment.invoice.gross_price * 100)|round) }}
        {{ form_hidden('p24_currency', 'PLN') }}
        {{ form_hidden('p24_country', 'PL') }}
        {{ form_hidden('p24_description', payment.job_id) }}
        {{ form_hidden('p24_email', payment.job.user.email) }}
        {{ form_hidden('p24_method', input_get('transfer_method')) }}
        {{ form_hidden('p24_url_return', route('job.payment.success', [payment])) }}
        {{ form_hidden('p24_url_status', route('job.payment.status')) }}
        {{ form_hidden('p24_api_version', '3.2') }}
        {{ form_hidden('p24_sign', payment.sign()) }}
        {{ form_close() }}
    {% endblock %}
{% endblock %}

{% block body %}
    {# nie usuwac odwolania do vue #}
    <script src="//cdnjs.cloudflare.com/ajax/libs/vue/2.1.10/vue.min.js"></script>

    {{ parent() }}

    <script>
        $(function() {
            $('#payment-form').submit();
        });
    </script>
{% endblock %}

{'fraction_non_alphanumeric': 0.20758177927239377, 'fraction_numerical': 0.025680220116172426, 'mean_word_length': 3.173469387755102, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1861229', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1093, 'n_words': 159}