{% extends 'admin/layout.html.twig' %} {% block title %}Receipt {{ receipt.receiptNumber }} - KitscoApp{% endblock %} {% block page_title %}Stock Receipt{% endblock %} {% block content %}
Created {{ receipt.createdAt|date('d/m/Y H:i') }} by {{ receipt.createdBy.fullName ?? receipt.createdBy.email }}
{{ receipt.product.name }}
{% if receipt.product.sku %}SKU: {{ receipt.product.sku }}
{% endif %}{{ receipt.supplier.name }}
{% if receipt.supplier.contactPerson %}{{ receipt.supplier.contactPerson }}
{% endif %} {% else %}No supplier specified
{% endif %}+{{ receipt.quantity }}
{{ receipt.purchaseDate|date('d/m/Y') }}
Total Cost / Quantity = {{ receipt.totalCost|money }} / {{ receipt.quantity }}
{{ receipt.landedCostPerUnit|money }} TZS
{{ receipt.notes }}
{{ doc.originalName }}
{% if doc.size < 1024 %} {{ doc.size }} B {% elseif doc.size < 1048576 %} {{ (doc.size / 1024)|number_format(1) }} KB {% else %} {{ (doc.size / 1048576)|number_format(1) }} MB {% endif %}