@extends('admin.layouts.master') @section('styles') @parent {{ HTML::style('assets/admin/vendor/daterangepicker/daterangepicker.css') }} {{ HTML::style('assets/admin/vendor/tagit/css/jquery.tagit.css') }} {{ HTML::style('assets/admin/vendor/tagsinput/bootstrap-tagsinput.css') }} @stop @section('content') @section('bodyClass') @parent hold-transition skin-blue sidebar-mini @stop @php $postType = 'project'; @endphp
{{ Form::open(['url' => [apa('projects/create')], 'files' => true, 'id' => 'add-form']) }}
@include('admin.common.user_message')




@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' => old('project_image') ?? "", 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Logo', 'control_name' => 'project_logo', 'type' => 'image', 'old_file_name' => old('project_logo') ?? "", 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Inquiry Banner', 'control_name' => 'project_inquiry_image', 'type' => 'image', 'old_file_name' => old('project_inquiry_image') ?? "", 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Mobile Image', 'control_name' => 'project_image_mobile', 'type' => 'image', 'old_file_name' => old('project_image_mobile') ?? "", 'required' => false, 'mimes' => ['jpg', 'jpeg', 'png'], 'maxSize' => '2MB', 'postType' => 'project', 'path' => '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' => old('project_brochure') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Factsheet [Max 2Mb]', 'control_name' => 'project_factsheet', 'type' => 'file', 'old_file_name' => old('project_factsheet') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Unit Type Sheet [Max 2Mb]', 'control_name' => 'project_unit_type', 'type' => 'file', 'old_file_name' => old('project_unit_type') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Trifold [Max 2Mb]', 'control_name' => 'project_trifold', 'type' => 'file', 'old_file_name' => old('project_trifold') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Upload Floor Plan [Max 2Mb]', 'control_name' => 'project_floor_plane', 'type' => 'file', 'old_file_name' => old('project_floor_plane') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Master Plan [Max 2Mb]', 'control_name' => 'project_master_plan', 'type' => 'file', 'old_file_name' => old('project_master_plan') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], [ 'label' => 'Masterplan VR Tour [Max 2Mb]', 'control_name' => 'project_master_vrtour', 'type' => 'file', 'old_file_name' => old('project_master_vrtour') ?? "", 'required' => false, 'mimes' => ['pdf'], 'maxSize' => '2Mb', 'postType' => 'project', 'path' => 'project', ], ]; @endphp @foreach ($uploadersMaterials as $uploaderData)
@include('admin.common.file_upload.custom_uploader', $uploaderData)
@endforeach

Near by


@if (!empty($nearby) && $nearby->isNotEmpty())
@endif
Add
Title Distance Icon

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

Amenities

@foreach ($amenities as $items)
@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
Room Type Title Image

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
Link Title Image
@include('admin.common.project_banner')
{{ Form::close() }}
@stop @section('scripts') @parent @include('admin.common.common_gallery_scripts') @stop