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
Update total_sales_gross casting
Dave Earleybf74edf01c5e
diff --git a/backend/app/Models/Affiliate.php b/backend/app/Models/Affiliate.phpindex e0b9631d4..1ba6cd57d 100644--- a/backend/app/Models/Affiliate.php+++ b/backend/app/Models/Affiliate.php@@ -9,6 +9,13 @@ use Illuminate\Database\Eloquent\Relations\HasMany;class Affiliate extends BaseModel{+ protected function getCastMap(): array+ {+ return [+ 'total_sales_gross' => 'float',+ ];+ }+public function event(): BelongsTo{return $this->belongsTo(Event::class);