@extends('layouts.master') @php $PayType = config('custom.PayType'); $states = config('custom.states'); $driverType = config('custom.driverType'); $bad_zone = config('custom.bad_zone'); asort($bad_zone); $validate = []; $activeTab1 = ''; $activeTab2 = ''; $currentTab1 = ''; $currentTab2 = ''; @endphp @if ($errors->any()) @foreach ($errors->all() as $error) @php $validate[] = $error; @endphp @endforeach @endif @if ( $errors->has('NAME')) @php $currentTab1 = 'current'; $activeTab1 = 'active'; @endphp @elseif ( $errors->has('PHONE') ) @php $currentTab2 = 'current'; $activeTab2 = 'active'; @endphp @else @php $currentTab1 = 'current'; $activeTab1 = 'active'; @endphp @endif @section('style') @endsection @section('content')

Customer Edit

@csrf
@csrf

General Information

@error('NAME')

{{ $message }}

@enderror
@error('ADDRESS_1')

{{ $message }}

@enderror
@error('CITY')

{{ $message }}

@enderror
@error('ADDRESS_2')

{{ $message }}

@enderror
@error('PROVINCE')

{{ $message }}

@enderror
@error('POSTAL_CODE')

{{ $message }}

@enderror
@php $status = ''; $statusValue = 'False'; if($customer->IS_INACTIVE == 'False'){ $status = 'checked'; $statusValue = 'True'; } else{ $status = ''; $statusValue = 'False'; } @endphp
@error('IS_INACTIVE')

{{ $message }}

@enderror