Всего: {{ receipts.length }} Черновики: {{ countByStatus('draft') }} Проведённые: {{ countByStatus('posted') }}
Номер Дата Поставщик Позиций Итог Статус Действия
Накладных нет
{{ r.receipt_number }} {{ fmtDate(r.receipt_date) }} {{ r.supplier || '—' }} {{ r.items ? r.items.length : 0 }} {{ fmtMoney(r.total) }} {{ r.status === 'posted' ? 'Проведена' : 'Черновик' }}

{{ receiptEditing ? 'Редактирование накладной' : 'Новая накладная' }}

Позиции

Товар Кол-во Цена Сумма Место
Позиций нет — добавьте
{{ fmtMoney(it.line_total) }}
Итого: {{ fmtMoney(receiptTotal) }}

{{ receiptCard.receipt_number }}

{{ fmtDateTime(receiptCard.created_at) }}

Поставщик: {{ receiptCard.supplier || '—' }}
Дата: {{ fmtDate(receiptCard.receipt_date) }}
Статус: {{ receiptCard.status === 'posted' ? 'Проведена' : 'Черновик' }}
Итог: {{ fmtMoney(receiptCard.total) }}
{{ receiptCard.comment }}
ТоварКол-воЦенаСуммаМесто
{{ invName(it.inventory_id) }} {{ it.quantity }} {{ fmtMoney(it.unit_price) }} {{ fmtMoney(it.line_total) }}🏪 {{ whName(it.warehouse_id) }}
Проведена {{ fmtDateTime(receiptCard.posted_at) }} — остатки на складе обновлены