@extends('layouts.app', ['activePage' => 'company', 'titlePage' => __('Companies')]) @section('content')
@csrf @method('post')

{{ __('Add Company') }}

@if ($errors->has('membership_id')) {{ $errors->first('membership_id') }} @endif
@if ($errors->has('company_name')) {{ $errors->first('company_name') }} @endif
@if ($errors->has('license_no')) {{ $errors->first('license_no') }} @endif
{!! Form::select('place_of_issue', ['AISA' => 'AISA', 'MoCI' => 'MoCI'], null,['class' => 'form-control', 'placeholder' => 'Select Place', 'required']) !!} @if ($errors->has('place_of_issue')) {{ $errors->first('place_of_issue') }} @endif
@if ($errors->has('establishment_date')) {{ $errors->first('establishment_date') }} @endif
{!! Form::select('ownership_type_id', $ownershipType, null,['class' => 'form-control', 'placeholder' => 'Select Ownership', 'required']) !!} @if ($errors->has('ownership_type_id')) {{ $errors->first('ownership_type_id') }} @endif
@if ($errors->has('membership_date')) {{ $errors->first('membership_date') }} @endif
@if ($errors->has('membership_expire_date')) {{ $errors->first('membership_expire_date') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if ($errors->has('street')) {{ $errors->first('street') }} @endif
@if ($errors->has('district')) {{ $errors->first('district') }} @endif
@if ($errors->has('province')) {{ $errors->first('province') }} @endif
@if ($errors->has('company_email')) {{ $errors->first('company_email') }} @endif
@if ($errors->has('company_website')) {{ $errors->first('company_website') }} @endif
@if ($errors->has('company_phone')) {{ $errors->first('company_phone') }} @endif
@if ($errors->has('president_name')) {{ $errors->first('president_name') }} @endif
@if ($errors->has('p_mobile')) {{ $errors->first('p_mobile') }} @endif
@if ($errors->has('p_email')) {{ $errors->first('p_email') }} @endif
@if ($errors->has('vice_president_name')) {{ $errors->first('vice_president_name') }} @endif
@if ($errors->has('v_mobile')) {{ $errors->first('v_mobile') }} @endif
@if ($errors->has('v_email')) {{ $errors->first('v_email') }} @endif
@if ($errors->has('contact_person_name')) {{ $errors->first('contact_person_name') }} @endif
@if ($errors->has('c_mobile')) {{ $errors->first('c_mobile') }} @endif
@if ($errors->has('c_email')) {{ $errors->first('c_email') }} @endif
@if ($errors->has('number_of_staff')) {{ $errors->first('number_of_staff') }} @endif
@foreach($companyCategory as $key => $type)
@endforeach
@if ($errors->has('company_category_id')) {{ $errors->first('company_category_id') }} @endif
{!! Form::select('project_amount_id', $projectAmount, null,['class' => 'form-control', 'placeholder' => 'Select Amount', 'required']) !!} @if ($errors->has('project_amount_id')) {{ $errors->first('project_amount_id') }} @endif
{!! Form::select('payment_method', ['cash' => 'Cash', 'wireTransfer' => 'Wire Transfer', 'cheque' => 'Cheque'], null,['class' => 'form-control', 'placeholder' => 'Select Method', 'required']) !!} @if ($errors->has('payment_method')) {{ $errors->first('payment_method') }} @endif
{!! Form::select('currency_id', $currency, 3,['class' => 'form-control', 'placeholder' => 'Select Currency', 'required']) !!} @if ($errors->has('currency_id')) {{ $errors->first('currency_id') }} @endif
{!! Form::select('membership_type_id', $membershipType, null,['class' => 'form-control', 'placeholder' => 'Select Membership', 'required']) !!} @if ($errors->has('membership_type_id')) {{ $errors->first('membership_type_id') }} @endif
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
@endsection @push('js') @endpush