@extends('layout.master') @section('content') @include('layout.errorform') @include('layout.info')

Back to customers list

{!! Form::model($customers, [ 'route' => ['customers.update', $customers->id], 'method' => 'PATCH', 'class' => 'form-horizontal', 'autocomplete' => 'off']) !!}
Edit Customer
{!! Form::label('pel', 'Customer :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'client', @$value, ['class' => 'form-control', 'placeholder' => 'Customer', 'id' => 'pel']) !!}
{!! Form::label('apel', 'Customer Address :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::textarea('client_address', @$value, ['class' => 'form-control', 'placeholder' => 'Customer Address', 'id' => 'apel']) !!}
{!! Form::label('pos', 'Postcode :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'client_poskod', @$value, ['class' => 'form-control', 'placeholder' => 'Postcode', 'id' => 'pos']) !!}
{!! Form::label('tel', 'Phone :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'client_phone', @$value, ['class' => 'form-control', 'placeholder' => 'Phone', 'id' => 'tel']) !!}
{!! Form::label('tela', 'Email :', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::input('text', 'client_email', @$value, ['class' => 'form-control', 'placeholder' => 'Email', 'id' => 'tela']) !!}

{!! Form::submit('Update', ['class' => 'btn btn-primary btn-lg btn-block']) !!}

@endsection @section('jquery') //////////////////////////////////////////////////////////////////////////////////// // ucwords input $(document).on('keyup', '#pel', function () { // $("input").keyup(function() { tch(this); }); //////////////////////////////////////////////////////////////////////////////////// // uppercase input for tracking number and customer section $(document).on('keyup', '#apel, #catel', function () { uch(this); }); //////////////////////////////////////////////////////////////////////////////////// @endsection