@extends('admin.layouts.master') @section('content') @section('bodyClass') @parent hold-transition skin-blue sidebar-mini @stop @php $postType = 'project'; @endphp
@include('admin.common.user_message')
Update Project
{{ Form::open(['url' => apa('projects/update/' . $project->project_id), 'files' => true, 'role' => 'form', 'name' => 'projectUpdates']) }}




@if (!empty($locationList) && $locationList->isNotEmpty())
@endif @if (!empty($communityList) && $communityList->isNotEmpty())
@endif @if (!empty($propertyType) && $propertyType->isNotEmpty())
@endif
@php $uploaders = [ [ 'label' => 'Upload Image', 'control_name' => 'project_image', 'type' => 'image', 'old_file_name' => $project->project_image, 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', ], [ 'label' => 'Upload Logo', 'control_name' => 'project_logo', 'type' => 'image', 'old_file_name' => $project->project_logo, 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', ], [ 'label' => 'Upload Inquiry Banner', 'control_name' => 'project_inquiry_image', 'type' => 'image', 'old_file_name' => $project->project_inquiry_image, 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', ], [ 'label' => 'Upload Mobile Image', 'control_name' => 'project_image_mobile', 'type' => 'image', 'old_file_name' => $project->project_image_mobile, 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', ], ]; @endphp @foreach ($uploaders as $uploaderData)
@include( 'admin.common.file_upload.custom_uploader', $uploaderData)
@endforeach

Project Material

@php $uploadersMaterials = [ [ 'label' => 'Upload Brochure [Max 2Mb]', 'control_name' => 'project_brochure', 'type' => 'file', 'old_file_name' => $project->project_brochure, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], [ 'label' => 'Upload Factsheet [Max 2Mb]', 'control_name' => 'project_factsheet', 'type' => 'file', 'old_file_name' => $project->project_factsheet, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], [ 'label' => 'Upload Unit Type Sheet [Max 2Mb]', 'control_name' => 'project_unit_type', 'type' => 'file', 'old_file_name' => $project->project_unit_type, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], [ 'label' => 'Upload Trifold [Max 2Mb]', 'control_name' => 'project_trifold', 'type' => 'file', 'old_file_name' => $project->project_trifold, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2MB', 'postType' => 'project', ], [ 'label' => 'Upload Floor Plan [Max 2Mb]', 'control_name' => 'project_floor_plane', 'type' => 'file', 'old_file_name' => $project->project_floor_plane, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], [ 'label' => 'Master Plan [Max 2Mb]', 'control_name' => 'project_master_plan', 'type' => 'file', 'old_file_name' => $project->project_master_plan, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], [ 'label' => 'Masterplan VR Tour [Max 2Mb]', 'control_name' => 'project_master_vrtour', 'type' => 'file', 'old_file_name' => $project->project_master_vrtour, 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', ], ]; @endphp @foreach ($uploadersMaterials as $uploaderData)
@include( 'admin.common.file_upload.custom_uploader', $uploaderData)
@endforeach

Near by


@if (!empty($nearby) && $nearby->isNotEmpty())
@endif
Add
@if (!empty($project->nearby)) @foreach ($project->nearby as $nt) @endforeach @endif
Title Distance Unit Image Action

@include('admin.projects.interior_exterior_gallery') @if (!empty($amenities) && $amenities->count() > 0)

Amenities

@foreach ($amenities as $items) @php $checked = ''; if (!empty($project->projectAmenities) && $project->projectAmenities->contains('post_id', $items->post_id)) { $checked = 'Checked'; } @endphp
@endforeach
@endif

Unit type



@php $uploaders = [ [ 'label' => 'Upload Image', 'control_name' => 'unit_image', 'type' => 'image', //'old_file_name' => old('meta')['text']['unit_image'], 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => 'project', ], ]; @endphp @foreach ($uploaders as $uploaderData)
@include('admin.common.file_upload.uploader', $uploaderData)
@endforeach
Add
@if (!empty($project->unitType)) @foreach ($project->unitType as $row) @endforeach @endif
Room Type Title Image Action

Virtual Tour



@php $uploaders = [ [ 'label' => 'Upload Image', 'control_name' => 'virtual_tour_image', 'type' => 'image', //'old_file_name' => old('meta')['text']['virtual_tour_image'], 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => 'project', ], ]; @endphp @foreach ($uploaders as $uploaderData)
@include('admin.common.file_upload.uploader', $uploaderData)
@endforeach
Add
@if (!empty($project->virtualTour)) @foreach ($project->virtualTour as $tour) @endforeach @endif
Link Title Image Action
@include('admin.common.project_banner')
{{ Form::close() }}
@stop @section('scripts') @parent @include('admin.common.common_gallery_scripts') @stop