@extends('layouts.business.master') @section('title') {{ request('type') !== 'Supplier' ? __('Create Customer') : __('Create 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')

{{ __('Add new ') . ucfirst(request('type')) }}

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

Image (PNG & JPG)
icon

Drag & drop your Image

or Browse

@usercan('parties.create') @endusercan
@endsection