You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TicketSolver.php 538B

3 jaren geleden
2 jaren geleden
3 jaren geleden
2 jaren geleden
3 jaren geleden
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\CaracoleBundle\Solver\Ticket;
  3. use Lc\CaracoleBundle\Model\Ticket\TicketModel;
  4. use Lc\SovBundle\Solver\Ticket\TicketSolver as SovTicketSolver;
  5. class TicketSolver extends SovTicketSolver
  6. {
  7. public function getTypeChoices($context = 'backend'): array
  8. {
  9. $choices = parent::getTypeChoices($context);
  10. $choicesProduct = [
  11. TicketModel::TYPE_PRODUCT_UNAVAILABLE,
  12. TicketModel::TYPE_PRODUCT_ERROR
  13. ];
  14. return array_merge($choices, $choicesProduct);
  15. }
  16. }