@extends('layouts.backend.app') @section('title', $offer->name) @push('css') @endpush @section('content')
Offer Details

Offer Name: {{ $offer->name }}

Preview URL :{{ $offer->preview_link }}

Category Name :{{ $offer->category->name ?? '' }}

Expire Date Name :{{ $offer->expiration_date }}

Discription :{!! $offer->description !!}

Goal and Payout
Goal Name Payout
Default {!! $offer->payout !!}
Tracking Link
@if ($offer->status == 'RequestApproved') @php $offerPermission = \App\Models\OfferPermission::where('affiliate_id', auth()->user()->id) ->where('offer_id', $offer->id) ->first(); @endphp @if (!$offerPermission)
@csrf
@elseif($offerPermission->status !== 'Approved')
@elseif($offerPermission->status === 'Approved')
@for ($i = 1; $i <= 4; $i++)
@endfor
@endif @else
@for ($i = 1; $i <= 8; $i++)
@endfor
@endif
Targeting

Country: @if (!$offer->countries->isEmpty()) @foreach ($offer->countries as $country) @php $country_code = strtolower($country->code); @endphp {{ $country->name }} @endforeach @else All @endif

Device: @if (!$offer->devices->isEmpty()) @foreach ($offer->devices as $device) @endforeach @else

Browser: All

@endif

Pixel / Postback
@php $postback = App\Models\LocalPostback::where('offer_id', $offer->id) ->where('affiliate_id', Auth::id()) ->first(); @endphp @if ($postback) @else @endif
Offer name Postback URL Status Action
{{ $postback->offer->name }} {{ $postback->postback_url }} Approved No Postback Found !
@endsection @push('js') @endpush