{{ $package_content->value2 }}

{{ $package_content->value1 }}

{{ $package_content->value3 }}
@php $feature_used = []; @endphp @foreach ($package as $index => $p) @php $price = json_decode($p->value1); $package_feature = json_decode($p->value2, true); $discount_monthly = $price->monthly->price - $price->monthly->discount_rp; $discount_yearly = $price->yearly->price - $price->yearly->discount_rp; if ($price->monthly->discount_rp == 0) { $price_monthly = $price->monthly->price; $price_monthly_class = ' hide'; } else { $price_monthly = $price->monthly->discount_rp; $price_monthly_class = ' visible'; } if ($price->yearly->discount_rp == 0) { $price_yearly = $price->yearly->price; $price_yearly_class = ' hide'; } else { $price_yearly = $price->yearly->discount_rp; $price_yearly_class = ' visible'; } @endphp

{{ $p->name }}

{{ $p->description }}
Rp {{ number_format($price->monthly->price, 0, '', '.') }}
Rp {{ number_format($price_monthly, 0, '', '.') }} / bulan
Kamu hemat Rp. {{ number_format($discount_monthly, 0, '', '.') }}!
Jumlah user {{ number_format(@$p->value3??0.0, 0, '', '.') }}
@if ($index == 1)
Semua Fitur pada Paket Regular
@endif @php $feature_count = 0; $feature_count_used = count($feature_used); @endphp @foreach ($feature as $f) @if (in_array($f->id, $package_feature) && !in_array($f->id, $feature_used)) @php array_push($feature_used, $f->id); @endphp
{{ $f->name }}
@php $feature_count++; @endphp @endif @endforeach @if ($index == 1) @php $blank = $feature_count_used - $feature_count - 1; @endphp @if ($blank > 0) @for ($i = 0; $i < $blank; $i++)
 
@endfor @endif @endif
{{ $price->monthly->discount_percent }}%
@endforeach

Corporate

Informasikan proses bisnis kamu, kami akan membantu menyesuaikan sesuai kebutuhan bisnis kamu