@extends('layouts.frontend') @section('advr') @include('frontend.__partials.adsl', ['adst' => $ads5,'adsd' => $ads6]) @endsection @section('advl') @include('frontend.__partials.adsr', ['adst' => $ads7,'adsd' => $ads8]) @endsection @section('content')

{{ trans('menu.add_factory') }}

{{ trans('menu.all_data') }}
{{ trans('menu.all_feild') }}
@if (isset($errors) && !empty($errors->all()))

× @foreach($errors->all() as $error)

{{ $error }}

@endforeach
@endif @if(Session::has('flash_message'))

{{ Session::get('flash_message.body') }}

@endif

@php $requiredFeilds = ['title','title_en','activity','activity_en','factory_phone']; if(App::getLocale() == 'en'){ $titlelang = "title_en"; $unrequiredFeilds = ['entry_name','entry_job','entry_phone','admin_phone','hotline','mobile', 'email', 'web_site', 'factory_address_en', 'admin_address_en', 'chairman_en', 'general_manager_en', 'factory_manager_en', 'managing_director_en', 'sales_manager_en', 'export_manager_en', 'procurement_manager_en', 'marketing_manager_en', 'vice_chairman_en', 'ceo_en', 'r_dmanager_en', 'production_manager_en', 'commercial_manager_en', 'financial_manager_en', 'operations_manager_en','task_manager_en','quality_certificates','notes','facebook']; }else{ $titlelang = "title"; $unrequiredFeilds = ['entry_name','entry_job','entry_phone','admin_phone','hotline','mobile', 'email', 'web_site', 'factory_address','admin_address','chairman', 'general_manager', 'factory_manager', 'managing_director', 'sales_manager', 'export_manager', 'procurement_manager', 'marketing_manager', 'vice_chairman', 'ceo', 'r_dmanager', 'production_manager', 'commercial_manager', 'financial_manager', 'operations_manager','task_manager','quality_certificates','notes','facebook']; } @endphp
{{ csrf_field() }}
@foreach($requiredFeilds as $rFeild)
@endforeach @foreach($unrequiredFeilds as $unrFeild)
@endforeach @if(config('custom-setting.numaricCaptcha') == 1)
@endif @if(config('custom-setting.googleRecaptcha') == 1)
{!! htmlFormSnippet() !!} @if($errors->has('g-recaptcha-response'))
{{ $errors->first('g-recaptcha-response') }}
@endif
@endif
@endsection