Kembali

Webstore Campaign Overview

Campaign Detail

@if($fs_campaign->status == 'active') Activated Until : {{ $fs_campaign->campaign_schedule[0]->start_date }} @elseif($fs_campaign->status == 'ongoing') On Going Until : {{ $fs_campaign->campaign_schedule[0]->end_date }} @elseif($fs_campaign->status == 'expired') Expired On : {{ @$fs_campaign->campaign_logs()->where('status_to', 'expired')->orderBy('id', 'desc')->first()->created_at }} @else {{ ucwords($fs_campaign->status) }} @endif
{{ csrf_field() }}
{{ $fs_campaign->campaign_type->name }}
{{ $fs_campaign->date_start }} s/d {{ $fs_campaign->date_end }}
{{ $fs_campaign->name }}
{{ $fs_campaign->campaign_sponsor->name }}

Flash Deal Schedule

{{ $timestart }} s/d {{ $timeend }}

New Flash Deal - Product List

@if($fs_campaign->campaign_schedule[0]) @foreach($fs_campaign->campaign_schedule[0]->campaign_details as $row) @php $product_photo = $row->product_photo; $product_name = $row->product_name; $promo_price = $row->promo_price; if(!$product_photo) $product_photo = $row->product->img_thumbnail; if(!$product_name) $product_name = $row->product->name; if(!$promo_price) $promo_price = $row->product->current_price; @endphp @endforeach @else @endif
Product Photo Product Name Current Price Promo Price Quota
{{ $product_name }}
{{ number_format($row->product->price) }}
{{ number_format($row->product->current_price) }}
{{ number_format($promo_price) }} | {{ $row->promo_percentage_fe }}% {{ $row->quota }}
No data
@if($fs_campaign->status == 'inactive') @if($fs_campaign->userlei_submitted_by == auth()->user()->id) Waiting for Approval @else @endif @elseif($fs_campaign->status == 'active') @elseif($fs_campaign->status == 'ongoing') @endif
@include('pages.webstore.campaign_flashsale.log_activity')