Skip to content

Commit cd08193

Browse files
committed
fix: ticket reassignment validation error wording
1 parent a2efd67 commit cd08193

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/Services/Model/Imp/SummitOrderService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,7 +1844,7 @@ public function revokeTicket(Member $current_user, int $order_id, int $ticket_id
18441844
// ticket assigned to order owner can not be reassigned if its the unique one
18451845
if ($attendee->getEmail() === $order->getOwnerEmail()) {
18461846
if ($summit->getTicketCountByTypeAndOwnerEmail($ticket->getTicketType(), $attendee->getEmail()) === 1) {
1847-
throw new ValidationException("You can not reassign this ticket. please contact support.");
1847+
throw new ValidationException("You cannot reassign this ticket. Please contact support.");
18481848
}
18491849
}
18501850
}
@@ -1854,11 +1854,11 @@ public function revokeTicket(Member $current_user, int $order_id, int $ticket_id
18541854
}
18551855

18561856
if(!$ticket->getTicketType()->isAllowsToReassignRelatedTickets()){
1857-
throw new ValidationException("You can not reassign this ticket. please contact support.");
1857+
throw new ValidationException("You cannot reassign this ticket. Please contact support.");
18581858
}
18591859

18601860
if($ticket->hasPromoCode() && !$ticket->getPromoCode()->isAllowsToReassign()){
1861-
throw new ValidationException("You can not reassign this ticket. please contact support.");
1861+
throw new ValidationException("You cannot reassign this ticket. Please contact support.");
18621862
}
18631863

18641864
$attendee->sendRevocationTicketEmail($ticket);

0 commit comments

Comments
 (0)