@extends('layouts.app') @section('content')
# | @if(Auth::user()->type === \App\Enum\UserType::ORGANIZER->value)To | @elseFrom | @endifEvent Name | Status | Price (USD) | Event Date & Start Time | City & Country | Event Type | Options | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $loop->index+1 }} | @if(Auth::user()->type === \App\Enum\UserType::ORGANIZER->value){{ $offer->artist->user->name }} | @else{{ $offer->event->organizer->user->name }} | @endif{{ $offer->event->title }} | @if($offer->status === \App\Enum\OfferStatus::IN_PROGRESS->value)In Progress |
@elseif($offer->status === \App\Enum\OfferStatus::COMPLETED->value)
Completed |
@elseif($offer->status === \App\Enum\OfferStatus::DECLINED->value)
Declined |
@elseif($offer->status === \App\Enum\OfferStatus::WAITING_FOR_PAYMENT->value)
Waiting for payment |
@endif
@if($offer->price != null) @currency($offer->price) @else Not yet defined @endif | {{ $offer->event->event_date->isoFormat('DD-MMM-Y') . ", " . $offer->event->start_time->isoFormat('H:mm') }} | {{ $offer->event->city }}, {{ $offer->event->country }} | {{ $offer->event->event_type->name }} |