Skip to content

Commit

Permalink
don't show re-approve if event has no approval
Browse files Browse the repository at this point in the history
  • Loading branch information
beingmattlevy committed Aug 19, 2024
1 parent 46068e8 commit b553b4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/views/ticket_requests/_table_ticket_requests.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,11 @@
class: 'btn btn-danger btn-sm text-nowrap' do
↩︎ Revert
- elsif !ticket_request.completed?
= button_to resend_approval_event_ticket_request_path(event, ticket_request),
method: :post,
class: 'btn btn-primary btn-sm text-nowrap' do
↺ Re-Approve
- if event.tickets_require_approval
= button_to resend_approval_event_ticket_request_path(event, ticket_request),
method: :post,
class: 'btn btn-primary btn-sm text-nowrap' do
↺ Re-Approve
= button_to manual_confirmation_event_ticket_request_payments_path(event, ticket_request),
method: :post,
class: 'btn btn-success btn-sm text-nowrap' do
Expand Down

0 comments on commit b553b4c

Please sign in to comment.