InvoiceLineItem
Domain · InvoiceTable row for a single invoice line item with description, quantity, unit price, and total.
| # | Description | Qty | Unit Price | Total |
|---|---|---|---|---|
| 1 | Web Application Development | 1 | ₺45,000 | ₺45,000 |
| 2 | UI/UX Design Services | 40 | ₺750 | ₺30,000 |
<%
var _item = locals.item || {};
var _currency = locals.currency || 'TRY';
var _index = locals.index || 0;
var _isEven = _index % 2 === 0;
var symbol = _currency === 'TRY' ? '₺' : _currency === 'USD' ? '$' : _currency === 'EUR' ? '€' : _currency;
%>
<%= _index + 1 %>
<%= _item.description || '—' %>
<% if (_item.unit) { %>
<%= _item.unit %>
<% } %>
<%= _item.quantity || 1 %>
<%= symbol %><%= (_item.unitPrice || 0).toLocaleString('tr-TR') %>
<%= symbol %><%= (_item.total || 0).toLocaleString('tr-TR') %>