@extends('layouts.app') @section("breadcrumb")
  • {{ link_to_route('expensecategories.index', __('fleet.expenseCategories'))}}
  • @lang('fleet.editExpenseType')
  • @endsection @section('content')

    @lang('fleet.editExpenseType')

    @if (count($errors) > 0)
      @foreach ($errors->all() as $error)
    • {{ $error }}
    • @endforeach
    @endif {!! Form::open(['route' => ['expensecategories.update',$expensecategory->id],'method'=>'PATCH']) !!} {!! Form::hidden('id',$expensecategory->id) !!}
    {!! Form::label('name', __('fleet.expenseType'), ['class' => 'form-label']) !!} {!! Form::text('name', $expensecategory->name,['class' => 'form-control','required']) !!}
    {!! Form::submit(__('fleet.update'), ['class' => 'btn btn-warning']) !!}
    {!! Form::close() !!}
    @endsection