@extends('user.layout') @section('content')
{{ __('Edit Popup') . ' (' . __('Type') . ' - ' . $popup->type . ')' }}
{{ __('Back') }}
@csrf
...

@if ($popup->type == 1)

{{ __('Upload 960 * 600 image for best quality') }}

@elseif ($popup->type == 2 || $popup->type == 3)

{{ __('Upload 1145 * 765 image for best quality') }}

@elseif ($popup->type == 4 || $popup->type == 5)

{{ __('Upload 517 * 689 image for best quality') }}

@elseif ($popup->type == 6)

{{ __('Upload 960 * 660 image for best quality') }}

@elseif ($popup->type == 7)

{{ __('Upload 550 * 765 image for best quality') }}

@endif

{{ __('This name will not appear in UI. Rather then, it will help the admin to identify the popup') }}

@if ($popup->type == 2 || $popup->type == 3 || $popup->type == 7)

@endif @if ($popup->type == 2 || $popup->type == 3)

{{ __('This will decide the transparency level of the color') }}
{{ __('Value must be between 0 to 1') }}
{{ __('Transparency level will be lower with the increment of the value') }}

@endif @if ( $popup->type == 2 || $popup->type == 3 || $popup->type == 4 || $popup->type == 5 || $popup->type == 6 || $popup->type == 7)

@endif @if ($popup->type == 2 || $popup->type == 4 || $popup->type == 6 || $popup->type == 7)

@endif @if ($popup->type == 6 || $popup->type == 7) @php $endDate = Carbon\Carbon::parse($popup->end_date); $endDate = date_format($endDate, 'm/d/Y'); $endTime = date('h:i A', strtotime($popup->end_time)); @endphp

@endif

{{ __('Popup will appear in UI after this delay time') }}

{{ __('If there are multiple active popups, then popups will be shown in UI according to serial number') }}
{{ __('The higher the serial number will be shown') }}

@endsection