first change

This commit is contained in:
2025-07-27 17:40:56 +05:45
commit f8b9a6725b
3152 changed files with 229528 additions and 0 deletions

View File

@@ -0,0 +1,108 @@
<div class="row">
<div class="col-lg-9">
<div class="card">
<div class="card-body">
<div class="row gy-3">
<div class="col-md-6">
{{ html()->label('Salutation')->class('form-label') }}
{{ html()->select('salutation_id', $salutationList)->class('form-control select2')->placeholder('Select Salutation') }}
</div>
<div class="col-md-6">
{{ html()->label('Client Name')->class('form-label') }}
{{ html()->text('client_name')->class('form-control')->placeholder('Client Name') }}
{{ html()->div('Please enter client name')->class('invalid-feedback') }}
</div>
<div class="col-md-6">
{{ html()->label('Email')->class('form-label') }}
{{ html()->email('email')->class('form-control')->placeholder('Email Address')->required() }}
{{ html()->div('Please enter email')->class('invalid-feedback') }}
</div>
<div class="col-md-6">
{{ html()->label('Gender')->class('form-label') }}
{{ html()->select('gender_id', $genderList)->class('form-control select2')->placeholder('Select Gender') }}
{{ html()->div('Please select gender')->class('invalid-feedback') }}
</div>
<div class="col-md-6">
{{ html()->label('Country')->class('form-label') }}
{{ html()->select('country_id', $countryList)->class('form-control select2')->placeholder('Select Country') }}
{{ html()->div('Please enter country')->class('invalid-feedback') }}
</div>
<div class="col-md-6">
{{ html()->label('Phone Number')->class('form-label') }}
{{ html()->input($type = 'tel', $name = 'phone', $value = null)->class('form-control')->placeholder('+(977) 9812345678') }}
</div>
<div class="col-md-6">
{{ html()->label('Company Name')->class('form-label') }}
{{ html()->text('company_name')->class('form-control')->placeholder('Company Name') }}
</div>
<div class="col-md-6">
{{ html()->label('Company Adress')->class('form-label') }}
{{ html()->text('company_address')->class('form-control')->placeholder('Company Address') }}
</div>
<div class="col-md-12">
{{ html()->label('Description')->class('form-label') }}
{{ html()->textarea('desc')->class('form-control ckeditor-classic') }}
</div>
</div>
</div>
</div>
<!-- end card -->
<div class="mb-3 text-end">
<x-form-buttons :editable="$editable" label="Add" href="{{ route('client.index') }}" />
</div>
</div>
<!-- end col -->
<div class="col-lg-3">
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Publish</h5>
</div>
<div class="card-body">
<div class="row">
<div class="col-md-12">
{{ html()->label('Status')->class('form-label') }}
{{ html()->select('status', $status)->class('form-control')->required() }}
{{ html()->div('Please select status')->class('invalid-feedback') }}
</div>
</div>
</div>
<!-- end card body -->
</div>
<div class="card">
<div class="card-header">
<h5 class="card-title mb-0">Profile Picture</h5>
</div>
<div class="card-body">
<div class="row">
<div class="col-md-12">
{{ html()->label('Image')->class('form-label visually-hidden') }}
{{ html()->file('profile_pic')->class('form-control dropify')->attributes([
'data-default-file' => $editable ? asset('storage/' . $client->profile_pic) : null,
'data-height' => 200,
]) }}
</div>
</div>
</div>
<!-- end card body -->
<div class="card-footer">
</div>
</div>
<!-- end card -->
</div>
<!-- end col -->
</div>