68 lines
2.4 KiB
PHP
Raw Normal View History

2024-08-27 17:48:06 +05:45
<div class="row">
<div class="col-lg-12">
<div class="card">
{{-- <div class="card-header card-primary">
<h4 class="card-title mb-0">Personal Details</h4>
</div> --}}
<div class="card-body">
<div class="row gy-2">
<p class="text-primary">Personal Details</p>
<hr>
<div class="col-md-4">
{{ html()->label('Customer name')->class('form-label') }}
{{ html()->text('customer_name')->class('form-control')->placeholder('Enter Customer Name')->required() }}
</div>
<div class="col-md-4">
{{ html()->label('Nationality')->class('form-label') }}
{{ html()->select('nationalities_id', $nationalityList)->class('form-select select2')->placeholder('Select Nationality') }}
</div>
<div class="col-md-4">
{{ html()->label('Email')->class('form-label') }}
{{ html()->email('email')->class('form-control')->placeholder('Enter Email')->required() }}
{{ html()->div('Please enter email')->class('invalid-feedback') }}
</div>
<div class="col-md-4">
{{ html()->label('Phone Number')->class('form-label') }}
{{ html()->text('contact')->class('form-control')->placeholder('Enter Phone Number') }}
</div>
<div class="col-md-4">
{{ html()->label('Upload Profile Picture')->class('form-label') }}
{{ html()->file('profile_picture')->class('form-control') }}
</div>
</div>
<div class="row gy-1 mt-1">
<p class="text-primary">Address Details</p>
<hr>
<div class="col-md-12">
{{ html()->label('Permanent Address')->class('form-label') }}
{{ html()->text('permanent_address')->class('form-control')->placeholder('Enter Permanent Address') }}
</div>
</div>
<div class="row gy-1 mt-1">
<p class="text-primary">Organization Details</p>
<hr>
<div class="col-md-12">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control')->placeholder('Enter Remarks') }}
</div>
</div>
</div>
<!-- end card body -->
</div>
<!-- end card -->
<div class="mb-4 text-end">
<button type="submit" class="btn btn-success w-sm">Save</button>
</div>
</div>
</div>