<commit_before>{% import "@SyliusAdmin/Common/Macro/money.html.twig" as money %}
<div id="pricing">
    <h4 class="ui top attached large header">{{ 'sylius.ui.pricing'|trans }}</h4>
    <div class="ui attached segment">
        <table id="pricing" class="ui very basic celled table">
            <thead>
                <tr>
                    <th><strong class="gray text">{{ 'sylius.ui.channels'|trans }}</strong></th>
                    <th><strong class="gray text">{{ 'sylius.ui.price'|trans }}</strong></th>
                    <th><strong class="gray text">{{ 'sylius.ui.original_price'|trans }}</strong></th>
                </tr>
            </thead>
            <tbody>
            {% for channelPricing in product.variants.first.channelPricings %}
                <tr>
                    <td class="five wide gray text">
                        <strong>{{ channelPricing.channelCode|sylius_channel_name }} </strong>
                    </td>
                    <td>{{ money.format(channelPricing.price, product.channels.first.baseCurrency) }}</td>
                    {% if channelPricing.originalPrice != null %}
                        <td>{{ money.format(channelPricing.originalPrice, product.channels.first.baseCurrency) }}</td>
                    {% else %}
                        <td>-</td>
                    {% endif %}
                </tr>
            {% endfor %}
            </tbody>
        </table>
    </div>
</div><commit_msg>Error on show product without pricing<commit_after>{% import "@SyliusAdmin/Common/Macro/money.html.twig" as money %}
<div id="pricing">
    <h4 class="ui top attached large header">{{ 'sylius.ui.pricing'|trans }}</h4>
    <div class="ui attached segment">
        <table id="pricing" class="ui very basic celled table">
            <thead>
                <tr>
                    <th><strong class="gray text">{{ 'sylius.ui.channels'|trans }}</strong></th>
                    <th><strong class="gray text">{{ 'sylius.ui.price'|trans }}</strong></th>
                    <th><strong class="gray text">{{ 'sylius.ui.original_price'|trans }}</strong></th>
                </tr>
            </thead>
            <tbody>
            {% for channelPricing in product.variants.first.channelPricings %}
                {% if product.channels.first != false %}
                    <tr>
                        <td class="five wide gray text">
                            <strong>{{ channelPricing.channelCode|sylius_channel_name }} </strong>
                        </td>
                        <td>{{ money.format(channelPricing.price, product.channels.first.baseCurrency) }}</td>
                        {% if channelPricing.originalPrice != null %}
                            <td>{{ money.format(channelPricing.originalPrice, product.channels.first.baseCurrency) }}</td>
                        {% else %}
                            <td>-</td>
                        {% endif %}
                    </tr>
                {% endif %}
            {% endfor %}
            </tbody>
        </table>
    </div>
</div>
{'fraction_non_alphanumeric': 0.15359583468922877, 'fraction_numerical': 0.0013016596160104132, 'mean_word_length': 1.5510373443983403, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '3512844', 'n_tokens_mistral': 897, 'n_tokens_neox': 826, 'n_words': 168}