@extends('webview.main') @section('css') @stop @section('content')
@if(!empty($deals)) @php $deals = $deals[0]; if ($deals['deals_voucher_price_cash'] != "") { $deals_fee = MyHelper::thousand_number_format($deals['deals_voucher_price_cash']); } elseif ($deals['deals_voucher_price_point']) { $deals_fee = $deals['deals_voucher_price_point'] . " poin"; } else { $deals_fee = "GRATIS"; } @endphp
Berakhir Dalam
{{ $deals['deals_title'] }} @if($deals['deals_second_title'] != null)
{{ $deals['deals_second_title'] }} @endif
@if($deals['deals_voucher_type'] != 'Unlimited')
{{ $deals['deals_total_voucher'] - $deals['deals_total_claimed'] }} kupon tersedia
@endif
@php $bulan = ['Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', "Jul", 'Agu', 'Sep', 'Okt', 'Nov', 'Des']; @endphp
  Masa berlaku : {{date('d', strtotime($deals['deals_start']))}} {{$bulan[date('m', strtotime($deals['deals_start']))-1]}} {{ date('Y', strtotime($deals['deals_start'])) }} - {{date('d', strtotime($deals['deals_end']))}} {{$bulan[date('m', strtotime($deals['deals_end']))-1]}} {{ date('Y', strtotime($deals['deals_end'])) }}

@if($deals['deals_description'] != "")
{!! $deals['deals_description'] !!}
@endif
Syarat & Ketentuan
@if($deals['deals_tos'] != "")
{!! $deals['deals_tos'] !!}
@endif
Tempat Penukaran
@foreach($deals['outlet_by_city'] as $key => $outlet_city)
{{ $outlet_city['city_name'] }}
@endforeach
@else

Deals is not found

@endif
@stop @section('page-script') @if(!empty($deals)) @endif @stop