1.7.27. lineitem drop (up)

1.7.27.1. 방법

1.7.27.1.1. errors

실패한 제출 후 이 모델의 형식이 렌더링되면 발생한 오류가 반환됩니다.

{{ line_item.errors.name | inline_errors }}
1.7.27.1.2. name
{% for line_item in invoice.line_items %}
  <tr class="line_item {% cycle 'odd', 'even' %}">
    <th>{{ line_item.name }}</th>
    <td>{{ line_item.description }}</td>
    <td>{{ line_item.quantity }}</td>
    <td>{{ line_item.cost }}</td>
  </tr>
{% endfor %}
1.7.27.1.3. description
1.7.27.1.4. 수량
1.7.27.1.5. cost