@extends('layouts.master2') @section('scriptDataLayer') @endsection @section('meta') @endsection @section('canonical') @if (env('APP_ENV') == "production") @elseif (env('APP_ENV') == "development") @else @endif @endsection @if (!empty($seo)) @if (!empty($seo->meta_title)) @section('title', $seo->meta_title ) @endif @if (!empty($seo->meta_description)) @section('meta_description', $seo->meta_description ) @endif @if (!empty($seo->meta_keyword)) @section('meta_keyword', $seo->meta_keyword ) @endif @else @section('title', 'Promo '. $voucher->merchant_name . ' di Giladiskon.com') @endif @section('pageHeader')
{{ $voucher->name }}
@endsection @section('loginMobile') @endsection @section('content')
@foreach($voucher->images as $img)
{{ $voucher->name }}
@endforeach @if(isset($voucher->giveaway_ID))
@php $giveawayUrl = url('giveaway?giftId='.$voucher->giveaway_ID); if($user) { $giveawayUrl = url('giveaway/bridge?giftId='.$voucher->giveaway_ID); } @endphp @if ($user) Giladiskon Giveaway @else @endif
@endif
@foreach($voucher->images as $img)
{{ $voucher->name }}
@endforeach @if(isset($voucher->giveaway_ID))
@php $giveawayUrl = url('giveaway?giftId='.$voucher->giveaway_ID); if($user) { $giveawayUrl = url('giveaway/bridge?giftId='.$voucher->giveaway_ID); } @endphp @if ($user) Giladiskon Giveaway @else @endif
@endif
Voucher
{{ $voucher->name }}
@if ($voucher->type !== "facevalue")
Artboard 1 {{ getLabelPromo($voucher->type, $voucher->start_price, $voucher->final_price, $voucher->saving_value) }}
@endif @if($voucher->total_review)
  {{ number_format($voucher->rate, 1) }} ({{ $voucher->total_review }} Ulasan)
@endif
{{-- add to favorite --}} @if($user) @endif
Deals tersedia {{ $voucher->current_stock }} dari {{ $voucher->total_stock }}
{{ getPeriod($voucher->max_used, $voucher->period) }}
@if ($voucher->type == "facevalue")
Minimal transaksi {{ "Rp " . number_format($voucher->minimum_buy, 0,',','.') }}
@endif
Berlaku Hingga : {{ date('d F Y', strtotime($voucher->expired_date ))}}
  
@if ( !$voucher->merchant_is_online )
Perhatian : Jangan gunakan voucher sebelum anda berada di area kasir {{ $voucher->merchant_name }} yang berpartisipasi
@endif @if(!$user)
{{--
--}}
@endif
name) }}'" :voucher_id="{{ $voucher->id }}">
@if ($voucher->tags)
@endif
{!! $voucher->description !!}
@if ($voucher->merchant_is_online)
@else
@endif
@if($voucher->total_review !== 0)
@endif @if($voucher->is_any_outlet)
@endif
@if(!empty($voucher->merchant_id))
{{ $voucher->merchant_name }}
{{ ucfirst($voucher->merchant_name) }}
Merchant Detail
@endif
Tentang voucher ini
{!! $voucher->description !!}
@if(!$voucher->merchant_is_online && $voucher->is_any_outlet) @endif
Komentar
@if(!empty($sectionlist))
@foreach($sectionlist as $key => $section) @if (!empty($section->section_results))
{{ $section->section_title }}
{{ $section->section_subtitle }}
@endif @endforeach
@endif @if ($total_review_data > 0)
Ulasan Pengguna
@endif
@endsection @section('mobileMenu')
@endsection {{-- @section('modal') @if(!$user) @include('modal._modalLoginFullScreen') @include('modal.mustLogin') @else @include('modal._modalGeneralInfo') @if((empty($user->expired_date) || strtotime($user->expired_date) < strtotime(now())) && !$user->is_trial) @include('modal.mustGdPlus') @else @if($user->has_pin) @include('modal._successRedeem') @include('modal._confirmPin') @endif @endif @endif @endsection --}} @section('script') @parent @endsection