Skip to content

Commit

Permalink
Do not show Action column in admin view
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Oct 20, 2023
1 parent 54f2b29 commit bb763f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/shop/payments.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<th scope="col">Počet kusů</th>
<th scope="col">Cena celkem</th>
<th scope="col">Status</th>
<th scope="col">Akce</th>
{{#if ../supplier.supplierId}}<th scope="col">Akce</th>{{/if}}
</thead>
<tbody>
{{# each invoices }}
Expand All @@ -28,8 +28,8 @@
<td>
{{ this.status }}
</td>
{{#if ../supplier.supplierId}}
<td>
{{#if ../supplier.supplierId}}
<form id="payments" class="needs-validation h-100" method="POST" action="/payments" novalidate>
{{#if this.paid}}
<input type="submit" class="btn btn-danger float-right w-100" value="Storno">
Expand All @@ -41,8 +41,8 @@
<input type="hidden" id="invoice_id" name="invoice_id" value="{{ this._id }}">
<input type="hidden" name="_csrf" value="{{ ../csrfToken }}">
</form>
{{/if}}
</td>
{{/if}}
</tr>
{{/each}}
</tbody>
Expand Down

0 comments on commit bb763f3

Please sign in to comment.