@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.franchise_agreement') }}

@if($errors->has('franchise_agreement')) {{$errors->first('franchise_agreement')}} @endif
@if(isset($agreement))
@else
@endif

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

@if($errors->has('franchises_tax_details')) {{$errors->first('franchises_tax_details')}} @endif
@if(isset($taxdetails))
@else
@endif

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

@if($errors->has('other_document')) {{$errors->first('other_document')}} @endif
@if(isset($documents)) @foreach($documents as $document)
@endforeach @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\UploadDocuments', '#frmDocuments') !!} @endpush