StocksNew/Modules/PMS/resources/views/client/partials/action.blade.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

104 lines
4.3 KiB
PHP

<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('Salutation')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Client Name')->class('form-label') }}
{{ html()->text('client_name')->class('form-control')->placeholder('Client Name')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Email')->class('form-label') }}
{{ html()->email('email')->class('form-control')->placeholder('Email Address')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Client Name')->class('form-label') }}
{{ html()->text('client_name')->class('form-control')->placeholder('Client Name')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Gender')->class('form-label') }}
{{ html()->select('gender_id', $genderList)->class('form-control select2')->placeholder('Select Gender')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Country')->class('form-label') }}
{{ html()->select('country_id', $countryList)->class('form-control select2')->placeholder('Select Country')->required() }}
</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>
<!-- 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 select2')->placeholder('Select Status') }}
</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') }}
</div>
</div>
</div>
<!-- end card body -->
<div class="card-footer">
<x-form-buttons :editable="$editable" label="Add" href="{{route('client.index')}}" />
</div>
</div>
<!-- end card -->
</div>
<!-- end col -->
</div>