@extends('layouts.business.master') @section('title') {{ request('type') !== 'Supplier' ? __('Edit Customer') : __('Edit Supplier') }} @endsection @php $file = base_path('lang/countrylist.json'); if (file_exists($file)) { $countries = json_decode(file_get_contents($file), true); } else { $countries = []; } $type = request('type') !== 'Supplier' ? 'Customer' : 'Supplier'; @endphp @section('main_content')

{{ __('Edit ') . ucfirst(request('type')) }}

@usercan('parties.read') {{ ucfirst(request('type')) . __(' List') }} @endusercan
@csrf @method('put')
@if (request('type') !== 'Supplier')
@else
@endif
@if (request('type') !== 'Supplier')
@endif

@php $billing = is_array($party->billing_address) ? $party->billing_address : json_decode($party->billing_address, true) ?? []; @endphp

@php $shipping = is_array($party->shipping_address) ? $party->shipping_address : json_decode($party->shipping_address, true) ?? []; @endphp
Image (PNG & JPG)
icon

Drag & drop your Image

or Browse

{{ __('Cancel') }} @usercan('parties.update') @endusercan
@endsection