Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Enterprise\BoxOffice\Resources;
use HiEvents\Enterprise\BoxOffice\Services\Application\Handlers\DTO\BoxOfficeStatsDTO;
use Illuminate\Http\Resources\Json\JsonResource;
/**
* @mixin BoxOfficeStatsDTO
*/
class BoxOfficeStatsResource extends JsonResource
{
public function toArray($request): array
{
return [
'currency' => $this->currency,
'orders' => $this->orders,
'gross' => $this->gross,
'refunded' => $this->refunded,
'by_tender' => $this->by_tender,
'by_operator' => $this->by_operator,
'by_day' => $this->by_day,
];
}
}