{!! Form::open(['url' => action([\Modules\Maintenance\Http\Controllers\FailureReportController::class, 'store']), 'method' => 'post']) !!}
@include('maintenance::partials.scope_fields', ['projects' => $projects, 'production_lines' => $production_lines, 'equipment' => $equipment, 'multiple_equipment' => true])
{!! Form::label('failure_type', __('maintenance::lang.failure_type') . ':') !!}
{!! Form::text('failure_type', null, ['class' => 'form-control']) !!}
{!! Form::label('reported_at', __('maintenance::lang.reported_at') . ':') !!}
{!! Form::text('reported_at', null, ['class' => 'form-control mm-datetimepicker']) !!}
{!! Form::label('cost', __('maintenance::lang.cost') . ':') !!}
{!! Form::number('cost', 0, ['class' => 'form-control', 'min' => '0']) !!}
{!! Form::label('downtime_hours', __('maintenance::lang.downtime_hours') . ':') !!}
{!! Form::number('downtime_hours', 0, ['class' => 'form-control', 'step' => '0.01', 'min' => '0']) !!}
{!! Form::label('repair_hours', __('maintenance::lang.repair_hours') . ':') !!}
{!! Form::number('repair_hours', 0, ['class' => 'form-control', 'step' => '0.01', 'min' => '0']) !!}
{!! Form::label('lost_production', __('maintenance::lang.lost_production') . ':') !!}
{!! Form::number('lost_production', null, ['class' => 'form-control', 'step' => '0.01']) !!}
{!! Form::label('root_cause', __('maintenance::lang.root_cause') . ':') !!}
{!! Form::textarea('root_cause', null, ['class' => 'form-control', 'rows' => 2]) !!}
{!! Form::label('corrective_action', __('maintenance::lang.corrective_action') . ':') !!}
{!! Form::textarea('corrective_action', null, ['class' => 'form-control', 'rows' => 2]) !!}
{!! Form::label('preventive_action', __('maintenance::lang.preventive_action') . ':') !!}
{!! Form::textarea('preventive_action', null, ['class' => 'form-control', 'rows' => 2]) !!}
{!! Form::close() !!}