Most Affordable Package

@foreach ($packages['monthly'] as $monthly)

{{ $monthly->title }}

@if ($monthly->title == 'Gold') Popular @endif

{{ $monthly->price }} / Monthly
What's Included
@php $features = [ 'invoice' => 'Invoice', 'target achievement' => 'Target Achievement', 'invoice_customization' => 'Invoice Customization', 'order' => 'Order', 'whatsapp' => 'WhatsApp', 'email' => 'Email', 'push notification' => 'Push Notification', ]; $checkedFeatures = []; $uncheckedFeatures = []; foreach ($features as $key => $label) { if (strpos($monthly->features, $key) !== false) { $checkedFeatures[] = "
  • $label
  • "; } else { $uncheckedFeatures[] = "
  • $label
  • "; } } @endphp
    • branch per company ({{ $monthly->number_of_branch_per_company }})
    • user per branch ({{ $monthly->number_of_user_per_branch }})
    • order per user ({{ $monthly->number_of_order_per_user }})
    • device per user ({{ $monthly->number_of_device_per_user }})
    • {{--
    • @if (strpos($monthly->features, 'invoice') !== false) @else @endif Invoice
    • --}}
    • {!! implode('', $checkedFeatures) !!} {!! implode('', $uncheckedFeatures) !!}
    • {{--
    • @if (strpos($monthly->features, 'target achievement') !== false) @else @endif Target Achievement
    • @if (strpos($monthly->features, 'invoice_customization') !== false) @else @endif Invoice Cutomization
    • @if (strpos($monthly->features, 'order') !== false) @else @endif Order
    • @if (strpos($monthly->features, 'whatsapp') !== false) @else @endif Whatsapp
    • @if (strpos($monthly->features, 'email') !== false) @else @endif Email
    • @if (strpos($monthly->features, 'push notification') !== false) @else @endif Push Notification
    • --}}
    {{-- Choose Plan --}}
    @endforeach
    @foreach ($packages['yearly'] as $yearly)

    {{ $yearly->title }}

    {{ $yearly->price }} / Yearly
    What's Included
    @php $features = [ 'invoice' => 'Invoice', 'target achievement' => 'Target Achievement', 'invoice_customization' => 'Invoice Customization', 'order' => 'Order', 'whatsapp' => 'WhatsApp', 'email' => 'Email', 'push notification' => 'Push Notification', ]; $checkedFeatures = []; $uncheckedFeatures = []; foreach ($features as $key => $label) { if (strpos($yearly->features, $key) !== false) { $checkedFeatures[] = "
  • $label
  • "; } else { $uncheckedFeatures[] = "
  • $label
  • "; } } @endphp
    • branch per company ({{ $yearly->number_of_branch_per_company }})
    • user per branch ({{ $yearly->number_of_user_per_branch }})
    • order per user ({{ $yearly->number_of_order_per_user }})
    • device per user ({{ $yearly->number_of_device_per_user }})
    • {!! implode('', $checkedFeatures) !!} {!! implode('', $uncheckedFeatures) !!}
    • {{--
    • @if (strpos($yearly->features, 'invoice') !== false) @else @endif Invoice
    • @if (strpos($yearly->features, 'target achievement') !== false) @else @endif Target Achievement
    • @if (strpos($yearly->features, 'invoice_customization') !== false) @else @endif Invoice Cutomization
    • @if (strpos($yearly->features, 'order') !== false) @else @endif Order
    • @if (strpos($yearly->features, 'whatsapp') !== false) @else @endif Whatsapp
    • @if (strpos($yearly->features, 'email') !== false) @else @endif Email
    • @if (strpos($yearly->features, 'push notification') !== false) @else @endif Push Notification
    • --}}
    @endforeach
    @foreach ($packages['lifetime'] as $lifetime)

    {{ $lifetime->title }}

    {{ $lifetime->price }} / Lifetime
    What's Included
    @php $features = [ 'invoice' => 'Invoice', 'target achievement' => 'Target Achievement', 'invoice_customization' => 'Invoice Customization', 'order' => 'Order', 'whatsapp' => 'WhatsApp', 'email' => 'Email', 'push notification' => 'Push Notification', ]; $checkedFeatures = []; $uncheckedFeatures = []; foreach ($features as $key => $label) { if (strpos($lifetime->features, $key) !== false) { $checkedFeatures[] = "
  • $label
  • "; } else { $uncheckedFeatures[] = "
  • $label
  • "; } } @endphp
    • branch per company ({{ $lifetime->number_of_branch_per_company }})
    • user per branch ({{ $lifetime->number_of_user_per_branch }})
    • order per user ({{ $lifetime->number_of_order_per_user }})
    • device per user ({{ $lifetime->number_of_device_per_user }})
    • {!! implode('', $checkedFeatures) !!} {!! implode('', $uncheckedFeatures) !!}
    • {{--
    • @if (strpos($lifetime->features, 'invoice') !== false) @else @endif Invoice
    • @if ($lifetime->features == 'Target Achievement') @else @endif Target Achievement
    • @if (strpos($lifetime->features, 'invoice_customization') !== false) @else @endif Invoice Cutomization
    • @if (strpos($lifetime->features, 'order') !== false) @else @endif Order
    • @if (strpos($lifetime->features, 'whatsapp') !== false) @else @endif Whatsapp
    • @if (strpos($lifetime->features, 'email') !== false) @else @endif Email
    • @if (strpos($lifetime->features, 'push notification') !== false) @else @endif Push Notification
    • --}}
    @endforeach
    @foreach ($packages['sevendays'] as $sevendays)

    {{ $sevendays->title }}

    {{ $sevendays->price }} Saven days
    What's Included
    • branch per company ({{ $sevendays->number_of_branch_per_company }})
    • user per branch ({{ $sevendays->number_of_user_per_branch }})
    • device per user ({{ $sevendays->number_of_device_per_user }})
    • @if ($sevendays->features == 'Target Achievement') @else @endif Target Achievement
    • @if (strpos($sevendays->features, 'target achievement') !== false) @else @endif Target Achievement
    • @if (strpos($sevendays->features, 'invoice') !== false) @else @endif Invoice
    • @if (strpos($sevendays->features, 'order') !== false) @else @endif Order
    • @if (strpos($sevendays->features, 'whatsapp') !== false) @else @endif Whatsapp
    • @if (strpos($sevendays->features, 'email') !== false) @else @endif Email
    • @if (strpos($sevendays->features, 'push notification') !== false) @else @endif Push Notification
    @endforeach
    {{-- --}}