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