@extends('themes.default1.agent.layout.agent')
@section('Tickets')
class="nav-link active"
@stop
@section('ticket-bar')
active
@stop
@section('newticket')
class="nav-link active"
@stop
@section('ticket')
class="active"
@stop
@section('PageHeader')
{{Lang::get('lang.tickets')}}
@stop
@section('content')
{!! Form::open(['route'=>'post.newticket','method'=>'post','id'=>'form']) !!}
@if(Session::has('success'))
{{Session::get('success')}}
@endif
@if(Session::has('fails'))
{!! Lang::get('lang.alert') !!}!
{{Session::get('fails')}}
@endif
@if(Session::has('errors'))
{!! Lang::get('lang.alert') !!}!
@if($errors->first('email'))
{!! $errors->first('email', ':message') !!}
@endif
@if($errors->first('first_name'))
{!! $errors->first('first_name', ':message') !!}
@endif
@if($errors->first('phone'))
{!! $errors->first('phone', ':message') !!}
@endif
@if($errors->first('subject'))
{!! $errors->first('subject', ':message') !!}
@endif
@if($errors->first('body'))
{!! $errors->first('body', ':message') !!}
@endif
@if($errors->first('code'))
{!! $errors->first('code', ':message') !!}
@endif
@if($errors->first('mobile'))
{!! $errors->first('mobile', ':message') !!}
@endif
@endif
{!! Form::close() !!}
@stop