@extends('layouts.app', ['title' => 'Editar Frete'])
@section('content')

<div class="card mt-1">
    <div class="card-header">
        <h4>Editar Frete</h4>
        <div style="text-align: right; margin-top: -35px;">
            <a href="{{ route('fretes.index') }}" class="btn btn-danger btn-sm px-3">
                <i class="ri-arrow-left-double-fill"></i>Voltar
            </a>
        </div>
    </div>
    <div class="card-body">
        {!!Form::open()->fill($item)
        ->put()
        ->route('fretes.update', [$item->id])
        !!}
        <div class="pl-lg-4">
            @include('fretes._forms')
        </div>
        {!!Form::close()!!}
    </div>
</div>
@include('modals._novo_cliente')

@endsection

@section('js')
<script src="js/frete.js"></script>
<script src="js/novo_cliente.js"></script>

@endsection
