@extends('layouts.backend',['page_title'=>'Pages']) @section('title')@parent - {{ trans('product.globals.categories') }} @stop @section('content-header')

{{ trans('general.plans') }}

{{trans('backend.Add New')}}
@stop @section('content')
@if(1!=1)@endif @if($plans && count($plans) > 0) @foreach($plans as $key=>$plan) @if(1!=1)@endif @endforeach @else @endif
{{ trans('backend.fields.name') }} {{ trans('backend.fields.points') }} {{ trans('backend.fields.cost') }} {{ trans('backend.fields.monthes') }} {{ trans('backend.fields.featured') }} {{ trans('backend.fields.popular') }} {{ trans('backend.fields.status') }} {{ trans('backend.action') }}
{!! $plan->name !!} {!! $plan->points !!} {!! $plan->cost !!} رس {!! $plan->monthes !!} @if($plan->featured)
{{ trans('backend.Approved') }}
@else
{{ trans('backend.Not Approved') }}
@endif
@if($plan->popular)
{{ trans('backend.Approved') }}
@else
{{ trans('backend.Not Approved') }}
@endif
@if($plan->status)
{{ trans('backend.Active') }}
@else
{{ trans('backend.Not Active') }}
@endif
@if(auth()->user()->role_id == 1 || auth()->user()->can('plans.show')) @endif @if(auth()->user()->role_id == 1 || auth()->user()->can('plans.edit')) @endif
{{trans('backend.no records founded')}}
{{$plans->render()}}
@stop @section('scripts') @stop