Heera/Modules/Billing/resources/views/billingComponent/partials/action.blade.php
2024-05-16 09:31:08 +05:45

40 lines
1.7 KiB
PHP

<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body">
<div class="row gy-3">
<div class="col-md-6">
{{ html()->label('Title')->class('form-label') }}
{{ html()->text('title')->class('form-control')->placeholder('Title')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Unit')->class('form-label') }}
{{ html()->text('unit')->class('form-control')->placeholder('Enter Unit')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Price')->class('form-label') }}
{{ html()->number('price')->class('form-control')->placeholder('Price per unit')->required() }}
</div>
<div class="col-md-6">
{{ html()->label('Taxable')->class('form-label') }}
{{ html()->select('taxable',['1' => 'Taxable', '0' => 'Non Taxable'])->class('form-control select2')->placeholder('Yes/No') }}
</div>
<div class="col-md-12">
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control ckeditor-classic') }}
</div>
<x-form-buttons :editable="$editable" label="Add" href="{{route('billingComponent.index')}}" />
</div>
</div>
</div>
<!-- end card -->
</div>
</div>