@extends('layout.app') @section('title', 'Business Profile') @push('header_script') @endpush @section('content')
{!! Form::open([ 'route' => ['businessProfileUpdate', $companyProfile->id], 'method' => 'PUT', 'class' => 'row g-4', 'files' => true, ]) !!}

Company Details

{{ $errors->first('faith_line') }}
{{ $errors->first('company_name') }}
{!! Form::select( 'company_type', [ '' => 'Select', 'proprietorship' => 'Proprietorship', 'partnership' => 'Partnership', 'private limited company' => 'Private Limited Company', 'limited company' => 'Limited Company', 'llp' => 'LLP', 'huf' => 'HUF', ], $companyProfile->company_type, ['class' => 'form-select border-0 ', 'id' => 'company_type', 'required'], ) !!}
{{ $errors->first('company_type') }}
{{ $errors->first('tag_line') }}
{{ $errors->first('service_area') }}
{{ $errors->first('address') }}
{{ $errors->first('country') }}
{!! Form::select('state_id', ['' => 'Select State'] + $state, $companyProfile->state_id, [ 'class' => 'form-select border-0 ', 'required', ]) !!}
{{ $errors->first('state_id') }}
{{ $errors->first('district') }}
{{ $errors->first('pin_code') }}
{{ $errors->first('company_logo') }}
@if ($companyProfile->company_logo && $companyProfile->company_logo != asset('storage')) @endif
{{ $errors->first('company_signature') }}
@if ($companyProfile->company_signature && $companyProfile->company_signature != asset('storage')) @endif
{{ $errors->first('email') }}
{{ $errors->first('website') }}
{{ $errors->first('transporter_id') }}
{{ $errors->first('year_from') }}

Contact Details

Additional Details

{{ $errors->first('remark') }}
Set Header Text Color

Registration Details ( Appear in all documents)

@php $reg_fields = [ 'gst_no' => 'GST number', 'pan_no' => 'PAN number', 'udyam_no' => 'Udyam Registration Number', 'uin_no' => 'UIN number', 'tan_no' => 'TAN number', 'cin_no' => 'CIN number', 'reg_number' => 'Registration number', ]; @endphp @foreach ($reg_fields as $key => $label)
{{ $errors->first($key) }}
@if ($key === 'gst_no')
{!! Form::select('gst_type', ['Regular' => 'Regular', 'Composition' => 'Composition', 'Unregistered' => 'Unregistered'], old('gst_type', $companyProfile->gst_type ?? 'Unregistered'), ['class' => 'form-select border-0', 'id' => 'gst_type', 'required']) !!}
{{ $errors->first('gst_type') }}
@endif @endforeach
{!! Form::close() !!}
@push('footer_script') @endpush @endsection