@extends('layouts.admin') @section('title','Edit Customers') @section('extra-css') @endsection @section('content')
@csrf @method('put') @include('admin.customers.form')

@lang('admin.customers.plan')

@isset($currentPlan->plan)
  • @lang('admin.table.current'):
    {{$currentPlan->plan->title}}
  • @lang('admin.table.cost'):
    {{formatNumberWithCurrSymbol($currentPlan->plan->price)}}
  • @lang('admin.table.daily_send_limit'):
    {{$currentPlan->daily_send_limit}}
  • @lang('admin.table.daily_receive_limit'):
    {{$currentPlan->daily_receive_limit}}
  • @lang('admin.table.contact_limit'):
    {{$currentPlan->contact_limit}}
  • @lang('admin.table.device_limit'):
    {{$currentPlan->device_limit}}
  • @if(!$currentPlan->daily_send_limit)
    @lang('admin.customers.no_plan')
    @endif
@endisset
@if($activePlans->isEmpty()) @endif @foreach($activePlans as $plan) @endforeach
@lang('admin.table.title') @lang('admin.table.daily_send_limit') @lang('admin.table.daily_receive_limit') @lang('admin.table.cost') @lang('admin.table.action')
@lang('admin.table.empty')
{{$plan->title}} @if(isset($currentPlan->plan_id) && $currentPlan->plan_id==$plan->id) (@lang('admin.table.current')) @endif {{$plan->daily_send_limit}} {{$plan->daily_receive_limit}} {{formatNumberWithCurrSymbol($plan->price)}} @if(isset($currentPlan->plan_id) && $currentPlan->plan_id==$plan->id) @else @endif
@endsection @section('extra-scripts') @if(!isset($customer)) @endif @endsection