@extends('admin/layouts/default') @section('title') Customer @parent @stop @section('content') @include('adminlte-templates::common.errors')

@if(Sentinel::inRole('teller')) {{Lang::get('litigation.customer')}} @elseif((Sentinel::inRole('court-teller'))) {{Lang::get('litigation.customer_party')}} @else {{Lang::get('customer.customer')}} @endif

@if(Sentinel::inRole('teller')) {{Lang::get('litigation.new_customer')}} @elseif((Sentinel::inRole('court-teller')) && (Sentinel::getUser()->court_type == "Appeal Court")) {{Lang::get('litigation.appeal_new_customer')}} @elseif((Sentinel::inRole('court-teller')) && (Sentinel::getUser()->court_type == "Regional Court")) {{Lang::get('litigation.regional_new_customer')}} @elseif((Sentinel::inRole('court-teller')) && (Sentinel::getUser()->court_type == "High Court")) {{Lang::get('litigation.high_new_customer')}} @elseif((Sentinel::inRole('court-teller'))) {{Lang::get('litigation.new_customer')}} @else {{Lang::get('customer.new_customer')}} @endif


{!! Form::open(['route' => 'admin.customers.store','id' => 'customer-form','files' => 'true']) !!} @include('admin.customers.fields')
{!! Form::submit(Lang::get('general.save'), ['class' => 'btn btn-primary two-btns','id' => 'save-customer']) !!} {{Lang::get('general.cancel')}}
{!! Form::close() !!}
@stop @section('footer_scripts') @stop