@if(isset($listPackages) and sizeof($listPackages) > 0)
@foreach($listPackages as $k => $listData)
|
|
{{ $loop->iteration }} |
PCP{{$listData['id']}} |
{{$listData['name']}} |
{{$listData['display_name']}} |
{{
// $listData['plan_list_count']
\App\Models\PlanFeatureList::where('subscription_plan_id',$listData['id'])->where('country','=',"")->where('permission','yes')->count()
}} |
{{$listData['sorting'] ?? '--'}} |
|
{{-- {{ucfirst($listData['status'])}} --}}
{{ ucfirst($listData['status']) }}
|
{{ucfirst($listData['role'])}} |
${{ucfirst($listData['sub_total'])}} |
@if(!empty($listData['discount_type'])) {{ $listData['discount_value']}} @if($listData['discount_type'] == 'percentage') % @endif @else No Discount @endif |
@if(!empty($listData['planprice_list']['sale_price'])) $ {{$listData['planprice_list']['sale_price']}} @else -- @endif |
{{ucfirst($listData['billing_cycle'])}} Days |
Assign to User |
Default |
{{-- {{ \Carbon\Carbon::createFromTimeStamp(strtotime($listData['created_at']))->diffForHumans() }} | --}}
{{ Carbon\Carbon::parse($listData['created_at'])->format('Y-m-d h:i A') }} |
{{ Carbon\Carbon::parse($listData['updated_at'])->format('Y-m-d h:i A') }} |
{{-- --}}
|
@endforeach
@else