Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorr.it committed Jun 29, 2021
1 parent 1a5fb95 commit 7121b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AppBundle/Resources/views/PurchaseOrder/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<th></th>
<th{% if orders.isSorted('orderNr') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Order nr', 'orderNr') }}</th>
<th{% if orders.isSorted('orderDate') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Order date', 'orderDate') }}</th>
<th{% if orders.isSorted('pickup.realPickupDate') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Pickup date', 'pickup.realPickupDate') }}</th>
<th{% if orders.isSorted('supplier.name') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Supplier', 'supplier.name') }}</th>
<th{% if orders.isSorted('supplier.partner.name') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Partner', 'supplier.partner.name') }}</th>
<th{% if orders.isSorted('status') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(orders, 'Status', 'status') }}</th>
Expand All @@ -57,6 +58,7 @@
<td><input type="checkbox" id="index_bulk_edit_form_index_{{ order.id }}" name="index_bulk_edit_form[index][]" value="{{ order.id }}"></td>
<td><a href="{{ path('purchaseorder_edit', { 'id': order.id }) }}" data-toggle="tooltip" title="{{ order.getAttributesList() }}">{{ order.orderNr }}</a></td>
<td>{{ order.orderDate|date("Y-m-d") }}</td>
<td>{{ order.pickup.realPickupDate|default("")|date("Y-m-d") }}</td>
<td><a class="inlist" href="{{ path('supplier_edit', { 'id': order.supplier.id|default(0) }) }}" data-toggle="tooltip" title="{{ order.supplier.getAddressString()|default("") }}">{{ order.supplier.name|default("") }}</a></td>
<td>{{ order.supplier.partner.name|default("") }}</td>
<td>{{ order.status.name|default("") }}</td>
Expand Down

0 comments on commit 7121b47

Please sign in to comment.