73 lines
2.8 KiB
PHP
73 lines
2.8 KiB
PHP
|
<div class="row">
|
||
|
|
||
|
<div class="col-md-9">
|
||
|
|
||
|
<div class='card'>
|
||
|
|
||
|
<div class='card-body'>
|
||
|
|
||
|
<div class="row gy-3">
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
{{ html()->label('Contract Name')->class('form-label') }}
|
||
|
{{ html()->text('name')->class('form-control')->placeholder('Contract Name')->required() }}
|
||
|
{{ html()->div('Please Fill Contract Name')->class('invalid-feedback') }}
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
{{ html()->label('Party Name')->class('form-label') }}
|
||
|
{{ html()->text('party')->class('form-control')->placeholder('Party Name')->required() }}
|
||
|
{{ html()->div('Please fill party name')->class('invalid-feedback') }}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
{{ html()->label('Contract Date')->class('form-label') }}
|
||
|
{{ html()->date('contract_date')->class('form-control')->placeholder('Contract Date')->required()}}
|
||
|
{{ html()->div('Please fill contract date')->class('invalid-feedback') }}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-6 col-md-6">
|
||
|
{{ html()->label('Expiry Date')->class('form-label') }}
|
||
|
{{ html()->date('expiry_date')->class('form-control')->placeholder('Expiry Date')->required() }}
|
||
|
{{ html()->div('Please Fill expiry date')->class('invalid-feedback') }}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
{{ html()->label('Description')->class('form-label') }}
|
||
|
{{ html()->textarea('description')->class('form-control')->placeholder('Contract Description')->attributes(['rows' => 3])}}
|
||
|
</div>
|
||
|
|
||
|
<div class="col-lg-12 col-md-12">
|
||
|
{{ html()->label('Remarks')->class('form-label') }}
|
||
|
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
|
||
|
</div>
|
||
|
|
||
|
<x-form-buttons :editable="$editable" label="Add Contract" />
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col-md-3">
|
||
|
<div class="card">
|
||
|
<div class="card-header">
|
||
|
<h6 class="card-title mb-0">Document</h6>
|
||
|
</div>
|
||
|
<div class="card-body">
|
||
|
<input name="document" type="file" class="dropify" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
@push('js')
|
||
|
<script src="{{ asset('assets/js/pages/form-validation.init.js') }}"></script>
|
||
|
@endpush
|