@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/page/css/profile-rtl.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch-rtl.min.css') !!} @endsection @section('content')
{{ Form::open(['method' => 'POST','id'=>'form-sort', 'route' => 'SaveOrederMembership']) }} @foreach ($memberships as $index => $membership) @endforeach
{{__('Membership')}} {{__('Company')}} {{__('Phone')}} {{__('Action')}}
{{ $index+1 }} @if ($membership->photo) @else @endif {{ $membership->user->name }} {{ $membership->title }} {{ $membership->phone }} {{ $membership->created_at->format('Y-m-d') }} - {{ $membership->created_at->diffForHumans() }} {{ Form::open(['method' => 'DELETE', 'route' => ['admin.membership.destroy', $membership->id]]) }} {{ Form::close() }}
{{ Form::close() }}
@endsection @section('scripts') {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/lib/markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/js/bootstrap-markdown.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/jquery.validate.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/global/plugins/jquery-validation/js/additional-methods.min.js') !!} {!! Html::script(Theme::current()->assetPath.'/memberships/scripts/form-validation.js') !!} @endsection