@if(count($requests) > 0) @foreach($requests as $booking) @endforeach
Username Image Category Location Date Created
@if($type == "banner") {{ $booking->banner->user->username }} @else {{ $booking->button->user->username }} @endif
@if($type == "banner") banner->border_color, $booking->banner->border_radius) !!} src="{{ imageLocalPath(sprintf("banners/%s", $booking->banner->image )) }}" alt="banner"/> @else button->border_color, $booking->button->border_radius) !!} src="{{ imageLocalPath(sprintf("buttons/%s", $booking->button->image )) }}" alt="ALT NAME"/> @endif
{{ $booking->category->name }} {{ $booking->country ? $booking->country->name : "All Countries" }} > {{ $booking->region ? $booking->region->name : "All Regions"}} @if($type == "banner") {{ $booking->date_start }} to {{ $booking->date_end }} @else {{ $booking->created_at->format('Y-m-d') }} @endif {{ $booking->created_at->diffForHumans() }}
@else

No {{ $type }}s for booking

@endif