@extends('layouts.master') @section('wizard') @includeFirst([ config('larapen.core.customizedViewPath') . 'post.createOrEdit.multiSteps.inc.wizard', 'post.createOrEdit.multiSteps.inc.wizard', ]) @endsection @php $postInput ??= []; $postTypes ??= []; $countries ??= []; $saleSatusOptions ??= []; $nonDefaults ?? []; $CFsHtml ??= ''; @endphp @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])
@includeFirst([ config('larapen.core.customizedViewPath') . 'post.inc.notification', 'post.inc.notification', ])

{{ t('create_new_listing') }}

{!! csrf_field() !!}
{{-- Custom Fields Html --}} {!! $CFsHtml !!} {{-- price --}} @if (!in_array('price', $nonDefaults)) @php $priceError = isset($errors) && $errors->has('price') ? ' is-invalid' : ''; $price = old('price', data_get($postInput, 'price')); $price = \App\Helpers\Number::format($price, 2, '.', ''); @endphp
{!! config('currency')['symbol'] !!}   {{ t('negotiable') }}
@endif {{-- country_code --}} @php $countryCodeError = isset($errors) && $errors->has('country_code') ? ' is-invalid' : ''; $countryCodeValue = !empty(config('ipCountry.code')) ? config('ipCountry.code') : 0; $countryCodeValue = data_get( $postInput, 'country_code', $countryCodeValue, ); $countryCodeValueOld = old('country_code', $countryCodeValue); @endphp @if (empty(config('country.code')))
@else @endif @php $adminType = config('country.admin_type', 0); @endphp @if (config('settings.single.city_selection') == 'select') @if (in_array($adminType, ['1', '2'])) {{-- admin_code --}}
@endif @else @endif {{-- city_id --}}