StocksNew/Modules/Office/resources/views/generatorlogbooks/partials/action.blade.php

57 lines
2.1 KiB
PHP
Raw Normal View History

2024-08-27 12:03:06 +00:00
<div class="row gy-3">
<div class="col-lg-4 col-md-6">
{{ html()->label('Generator')->class('form-label') }}
{{ html()->select('generator_id', $generatorLists)->class('form-select')->placeholder('Generator Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Log Type')->class('form-label') }}
{{ html()->select('log_type', \Modules\Office\Models\GeneratorLogBook::LOG_TYPE)->class('form-select')->placeholder('Log Type') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('From')->class('form-label') }}
{{ html()->date('from')->class('form-control') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('To')->class('form-label') }}
{{ html()->date('to')->class('form-control') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Diesel Consumed')->class('form-label') }}
{{ html()->text('diesel_consumed')->class('form-control')->placeholder('Total Diesel Consumed') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Mobile Consumed')->class('form-label') }}
{{ html()->text('mobile_consumed')->class('form-control')->placeholder('Total Mobile Consumed') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Servicing Date')->class('form-label') }}
{{ html()->date('servicing_date')->class('form-control') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('By')->class('form-label') }}
{{ html()->text('by')->class('form-control')->placeholder('Full Name') }}
</div>
<div class="col-lg-4 col-md-6">
{{ html()->label('Fee Charged')->class('form-label') }}
{{ html()->number('fee')->class('form-control')->placeholder('Fee Charged') }}
</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>
<div class="text-end">
{{ html()->button($editable ? 'Update' : 'Add LogBook', 'submit')->class('btn btn-success') }}
</div>
</div>