@extends('admin.layouts.main') @section('title') @if(Session::has('editUrl')) Edit Franchise @else Add Franchise @endif @endsection @section('content')
@include("admin.common.sidebar")
{{csrf_field()}} @if(Session::has('editUrl')) @endif

{{ @trans('franchises.franchise_admin_access') }}

@if($errors->has('first_name')) {{$errors->first('first_name')}} @endif
@if($errors->has('last_name')) {{$errors->first('last_name')}} @endif
@if($errors->has('mobile')) {{$errors->first('mobile')}} @endif
@if($errors->has('secondary_mobile')) {{$errors->first('secondary_mobile')}} @endif
@if($errors->has('email')) {{$errors->first('email')}} @endif
@if(Session::has('editUrl'))••••••••@endif @if($errors->has('password')) {{$errors->first('password')}} @endif
@if(Session::has('editUrl'))••••••••@endif @if($errors->has('password')) {{$errors->first('password')}} @endif
add

{{ @trans('franchises.ip_settings') }}

@if(count($franchise->ips)) @foreach($franchise->ips as $ip)
@if($loop->iteration != 1) close @endif
@endforeach @else
@endif
@if(Session::has('editUrl')) {{ @trans('franchises.cancel') }} @else {{ @trans('franchises.cancel') }} @endif
@if(Session::has('editUrl')) @else @endif
@endsection @push('pageJs') @endpush