For the complete documentation index, see llms.txt. This page is also available as Markdown.

Для складских операций

Примеры шаблонов документов для складских операций на русском языке.

Инструкции:

1. Оприходование

Тип шаблона: Складские операции.

<!doctype html>
<html lang="uk">
<head>
    <meta charset="UTF-8">
    <title>Оприходование товаров</title>
</head>
<body>

<div class="container">

    <!-- Заголовок -->
    <h2 class="text-center">АКТ ОПРИХОДОВАНИЯ ТОВАРОВ №: {{ model.id }}</h2>

    <br>

    <!-- Демо реквизиты компании -->
    <table class="width100">
        <tr>
            <td valign="top" class="label" style="width:50%">
                <span style="background-color: yellow">Поставщик: Ваша компания</span><br />
                <span style="background-color: yellow">ФЛП / ООО</span><br />
                <span style="background-color: yellow">г. Киев, ул. Примерная, 1</span><br />
                <span style="background-color: yellow">тел.: (000)000-00-00</span><br />
            </td>

            <td valign="top">
                <strong>Дата:</strong> {{ model.created_at|date("d.m.Y H:i") }}<br>
                <strong>Тип операции:</strong> {{ model.event }}<br>
                <strong>Менеджер:</strong> {{ model.manager }}<br>
                <strong>Склад:</strong> {{ model.destination }}
            </td>
        </tr>
    </table>

    {% if model.comment %}
        <br>
        <strong>Комментарий:</strong> {{ model.comment }}
    {% endif %}

    <br><br>

    <!-- Таблица товаров -->
    <table class="width100 border">
        <thead>
        <tr>
            <th>№</th>
            <th>Изображение</th>
            <th>Артикул</th>
            <th>Название товара</th>
            <th>Закупочная цена</th>
            <th>Количество</th>
            <th>Сумма закупки</th>
        </tr>
        </thead>
        <tbody>

        {% set total = 0 %}
        {% set total_qty = 0 %}
        {% set currency = model.inventories[0].currency_code ?? 'UAH' %}

        {% for key, inventory in model.inventories %}
            {% set row_sum = inventory.quantity * inventory.price %}
            {% set total = total + row_sum %}
            {% set total_qty = total_qty + inventory.quantity %}

            <tr>
                <td class="text-center">{{ key + 1 }}</td>
                <td class="text-center"><img src="{{ inventory.offer_picture }}" style="width: 60px;"></td>
                <td class="text-center">{{ inventory.offer_sku }}</td>
                <td class="text-center">{{ inventory.product_name }}</td>
                <td class="text-center">
                    {{ inventory.price|format_currency(currency, locale='uk') }}
                </td>
                <td class="text-center">{{ inventory.quantity }}</td>
                <td class="text-center">
                    {{ row_sum|format_currency(currency, locale='uk') }}
                </td>
            </tr>
        {% endfor %}

        </tbody>

        <!-- Итоги -->
<tfoot>
<tr>
    <td colspan="5" class="text-right"><strong>Итого:</strong></td>
    <td class="text-center"><strong>{{ total_qty }} {{ model.inventories[0].product_unit_type ?? '' }}</strong></td>
    <td class="text-center">
        <strong>{{ total|format_currency(currency, locale='uk') }}</strong>
    </td>
</tr>
</tfoot>
    </table>

    <br><br>

<!-- Дополнительный итог -->
   <p>
    <strong>Всего позиций:</strong> {{ model.inventories|length }} <br>
    
    <strong>Общее количество:</strong> 
    {{ total_qty }} 
    {{ model.inventories[0].product_unit_type ?? '' }} <br>
    
    <strong>Общая сумма закупки:</strong> 
    {{ total|format_currency(currency, locale='uk') }}
</p>

    <br><br>

    <!-- Подписи -->
    <table class="width100">
        <tr>
            <td>Принял: _______________________</td>
            <td class="text-right">Подпись: _______________________</td>
        </tr>
    </table>

</div>

</body>

<style>
    body {
        font-family: sans-serif;
        font-size: 14px;
    }

    .container {
        width: 100%;
    }

    .text-center {
        text-align: center;
    }

    .text-right {
        text-align: right;
    }

    .label {
        font-weight: bold;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    th, td {
        border: 1px solid #000;
        padding: 6px;
    }

    th {
        background: #eee;
    }

    .border {
        border: 2px solid #000;
    }
</style>

</html>

2. Перемещение

Тип шаблона: Складские операции.

3. Инвентаризация

Тип шаблона: Складские операции.

Last updated