@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() }}

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

@if($errors->has('address1')) {{ $errors->first('address1') }} @endif
@if($errors->has('address2')) {{ $errors->first('address2') }} @endif
@if($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@if($errors->has('state_id')) {{ $errors->first('state_id') }} @endif
@if($errors->has('city_id')) {{ $errors->first('city_id') }} @endif
@if($errors->has('zip_code')) {{ $errors->first('zip_code') }} @endif
@if($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if($errors->has('secondary_mobile')) {{ $errors->first('secondary_mobile') }} @endif
@if(Session::has('editUrl')) {{ @trans('franchises.cancel') }} @else {{ @trans('franchises.cancel') }} @endif
@if(Session::has('editUrl')) @else @endif
@endsection @push('pageJs') {!! JsValidator::formRequest('App\Http\Requests\Franchise\FranchiseLocationDetail', '#frmlocationdetail') !!} @endpush