@extends('template.layouts.template-base') @section('title') Edit Project | {{ config('setting.website_name') ?: config('app.name') }} @endsection @section('content')
@csrf @method('PUT') {{-- client --}}

Edit Project

@error('payroll_name')
{{ $message }}
@enderror
@php $selectedIndustry = old('industry_type', $project->industry_type ?? ''); $isOtherIndustry = !in_array($selectedIndustry, ['IT', 'Manufacturing', 'Healthcare', 'Education', 'Retail']); $otherIndustryValue = $isOtherIndustry ? old('other_industry_type', $selectedIndustry) : ''; @endphp
@error('industry_type')
{{ $message }}
@enderror
* @php $selectedSector = old('industry_sector', $project->industry_sector ?? ''); $isOtherSector = !in_array($selectedSector, [ 'Agriculture', 'Construction', 'Energy', 'Finance', 'Food & Beverage', 'Hospitality', 'Information Technology', 'Logistics', 'Media & Entertainment', 'Pharmaceuticals', 'Real Estate', 'Telecommunications', 'Transport', 'Utilities' ]); $otherSectorValue = $isOtherSector ? old('other_sector_type', $selectedSector) : ''; @endphp
@error('industry_type')
{{ $message }}
@enderror @error('other_sector_type')
{{ $message }}
@enderror
* @php $selectedCompany = old('company_type', $project->company_type ?? ''); $isOtherCompany = !in_array($selectedCompany, ['Private Limited', 'Public Limited', 'LLC', 'LLP', 'Sole Proprietorship', 'Partnership', 'OPC', 'Inc', 'Corp', 'Society','Trust']); $otherCompanyValue = $isOtherCompany ? old('other_company_type', $selectedCompany) : ''; @endphp
@error('company_type')
{{ $message }}
@enderror
@error('founder_name')
{{ $message }}
@enderror
@php $founderDesignation = old('founder_designation', $project->founder_designation ?? ''); $isOtherDesignation = !in_array($founderDesignation, ['Manager', 'Executive', 'Director', 'CEO']); $otherFounderDesignation = $isOtherDesignation ? old('other_founder_designation', $founderDesignation) : ''; @endphp
@error('founder_designation')
{{ $message }}
@enderror @error('founder_designation')
{{ $message }}
@enderror
@error('gst')
{{ $message }}
@enderror
@error('contact_number')
{{ $message }}
@enderror
@error('alternate_contact_number')
{{ $message }}
@enderror
@error('landline_number')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@error('alternate_email_id')
{{ $message }}
@enderror
@error('website')
{{ $message }}
@enderror
* @error('payment_type')
{{ $message }}
@enderror
@error('total_requirements')
{{ $message }}
@enderror
@if (!empty($project->logo)) @endif @error('logo')
{{ $message }}
@enderror
@include('template.partials.pt-address-fields', ['record' => $project])
{{-- contact details --}}

Address Details

@foreach ($project->addresses as $index => $address)
@if ($loop->first) Registered Current Address @else Registered Permanent Address @endif
@unless($loop->first) @endunless
@include('template.partials.address-location-fields', [ 'address' => $address, 'address2Label' => 'Full Address', ])
@endforeach
{{-- point of contact --}}

Point of Contact *

@foreach ($project->contacts as $index => $contact)
{{ $loop->first ? 'Contact Details' : 'Contact Details ' . $loop->iteration }} @unless ($loop->first) @endunless
@php $designation = $contact->designation; $isOther = !in_array($designation, ['Manager', 'Executive', 'Director', 'CEO']); @endphp
@endforeach
{{-- founder details --}}

Agreement Details

@error('party_name')
{{ $message }}
@enderror
@error('our_side_party_name')
{{ $message }}
@enderror
* @error('freezing_period')
{{ $message }}
@enderror
* @error('freezing_duration')
{{ $message }}
@enderror
@error('date_of_empanelment')
{{ $message }}
@enderror
@error('date_of_renewal')
{{ $message }}
@enderror
@include('template.project.partials.wages-details')

Others

@error('remarks')
{{ $message }}
@enderror
status) == '1' ? 'checked' : '' }}>
status) == '0' ? 'checked' : '' }}>
@error('status')
{{ $message }}
@enderror
Cancel @if ($project->is_draft) @endif
@endsection @section('scripts') @include('template.partials.tab-next-field') @endsection