@include('layouts.components.input_field', [ 'col' => 6, 'id' => 'name', 'name' => 'name', 'label' => __('lang.name'), 'value' => $branch->name, ]) @php $facingOptions = collect([ '0' => __('lang.facing_type_caps'), 'Road Facing' => __('lang.road_facing'), 'Road Plus Corner' => __('lang.road_plus_corner'), 'Playground Facing' => __('lang.playground_facing'), 'Park Facing' => __('lang.park_facing'), 'Mosque Facing' => __('lang.mosque_facing'), 'Street Facing' => __('lang.street_facing'), 'Shopping Mall Facing' => __('lang.shopping_mall_facing'), 'General' => __('lang.general'), 'Other' => __('lang.other'), ])->map(function ($label, $value) { return ['id' => $value, 'name' => $label]; })->toArray(); @endphp @include('layouts.components.select_field', [ 'col' => 6, 'name' => 'facing', 'options' => $facingOptions, 'default_option'=> __('lang.facing_type_caps'), 'label' => __('lang.facing'), 'selectedValue' => $branch->facing, ]) @include('layouts.components.input_field', [ 'col' => 6, 'name' => 'location', 'label' => __('lang.location'), 'value' => $branch->location, ]) @include('layouts.components.input_field', [ 'col' => 6, 'name' => 'address', 'label' => __('lang.address'), 'value' => $branch->address, ]) @include('layouts.components.input_field', [ 'col' => 6, 'name' => 'estimated_cost', 'label' => __('lang.estimated_cost_opt'), 'value' => $branch->estimated_cost, ]) @include('layouts.components.select_field', [ 'col' => 6, 'name' => 'product_type', 'options' => $product_types, 'default_option'=> __('lang.select_product_type'), 'label' => __('lang.property_type'), 'selectedValue' => $branch->product_type, ])

@if($image_url) Preview Image @endif