{{($offerContents) ? "Edit Offer" : "Add Offer"}}

@csrf @if($offerContents) @method('PATCH') @endif
{!! $errors->has('title') ? '' : '' !!}
{!! $errors->has('redirect_link') ? '' : '' !!}
{!! $errors->has('start_date') ? '' : '' !!}
{!! $errors->has('end_date') ? '' : '' !!}
{!! $errors->has('status') ? '' : '' !!}
{!! $errors->has('short_description') ? '' : '' !!}
{!! $errors->has('offer_image') ? '' : '' !!}
@if($offerContents) @if($offerContents->offer_image) @php $offerContentsId = encryptStr($offerContents->id); @endphp
@endif @endif
@push('scripts') @endpush