{{ html()->label('Generator')->class('form-label') }}
{{ html()->select('generator_id', $generatorLists)->class('form-select')->placeholder('Generator Name') }}
{{ html()->label('Log Type')->class('form-label') }}
{{ html()->select('log_type', \Modules\Office\Models\GeneratorLogBook::LOG_TYPE)->class('form-select')->placeholder('Log Type') }}
{{ html()->label('From')->class('form-label') }}
{{ html()->date('from')->class('form-control') }}
{{ html()->label('To')->class('form-label') }}
{{ html()->date('to')->class('form-control') }}
{{ html()->label('Diesel Consumed')->class('form-label') }}
{{ html()->text('diesel_consumed')->class('form-control')->placeholder('Total Diesel Consumed') }}
{{ html()->label('Mobile Consumed')->class('form-label') }}
{{ html()->text('mobile_consumed')->class('form-control')->placeholder('Total Mobile Consumed') }}
{{ html()->label('Servicing Date')->class('form-label') }}
{{ html()->date('servicing_date')->class('form-control') }}
{{ html()->label('By')->class('form-label') }}
{{ html()->text('by')->class('form-control')->placeholder('Full Name') }}
{{ html()->label('Fee Charged')->class('form-label') }}
{{ html()->number('fee')->class('form-control')->placeholder('Fee Charged') }}
{{ html()->label('Remarks')->class('form-label') }}
{{ html()->textarea('remarks')->class('form-control')->attributes(['rows' => 3]) }}
{{ html()->button($editable ? 'Update' : 'Add LogBook', 'submit')->class('btn btn-success') }}