@extends('backend.layouts.app') @section('page-title', trans('app.invite')) @section('page-heading', trans('app.invite')) @section('content')
@include('backend.partials.messages')
@if( auth()->user()->hasPermission('invite.edit') ) {!! Form::open(['route' => 'backend.invites.update']) !!} @endif

{{ trans('app.invite') }}

@permission('invite.edit') @if(auth()->user()->shop ) @if( auth()->user()->shop->invite_active) @lang('app.disable') @else @lang('app.active') @endif @endif @endpermission
{!! Form::select('wager', \VanguardLTE\Invite::$values['wager'], $invite->wager, ['class' => 'form-control']) !!}
{!! Form::select('type', \VanguardLTE\Invite::$values['type'], $invite->type, ['class' => 'form-control', 'id' => 'type']) !!}
@if( auth()->user()->hasPermission('invite.edit') ) @endif
@if( auth()->user()->hasPermission('invite.edit') ) {!! Form::close() !!} @endif
@stop