@extends('admin.layouts.app') @section('content')
{{__("User Plans")}}
@include('admin.message')
{{__("Add Plan")}}
@csrf @include('User::admin.plan.form',['parents'=>$rows])
{{__("Add new")}}
@if(!empty($rows))
{{csrf_field()}}
{{__(" Bulk Action ")}}
{{__(" Publish ")}}
{{__(" Move to Draft ")}}
{{__(" Delete ")}}
{{__('Apply')}}
@endif
{{__('Search')}}
@foreach($rows as $row) @endforeach
{{__("ID")}}
{{__("Name")}}
{{__("For Role")}}
{{__("Price")}}
{{__("Annual Price")}}
{{__("Duration")}}
{{__("Max Services")}}
{{__("Status")}}
{{__("Date")}}
#{{$row->id}}
{{$row->title}}
{{$row->role->name ?? ''}}
{{$row->price ? format_money($row->price) : __("Free")}}
{{$row->annual_price ? format_money($row->annual_price) : ''}}
{{$row->duration_text}}
{{$row->max_service ? $row->max_service : __('Unlimited')}}
{{ $row->status }}
{{ display_date($row->updated_at)}}
{{__("Edit")}}
{{$rows->appends(request()->query())->links()}}
@endsection